|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.gvt.event.SelectionEvent
public class SelectionEvent
An event which indicates that a selection is being made or has been made.
| Field Summary | |
|---|---|
protected Shape |
highlightShape
The shape enclosing the selection |
protected int |
id
The event type of the current selection event |
protected Object |
selection
The object which composes the selection |
static int |
SELECTION_CHANGED
The id for the "selection changing" event. |
static int |
SELECTION_CLEARED
The id for the "selection cleared" event. |
static int |
SELECTION_DONE
The id for the "selection completed" event. |
static int |
SELECTION_STARTED
The id for the "selection started" event. |
| Constructor Summary | |
|---|---|
SelectionEvent(Object selection,
int id,
Shape highlightShape)
Constructs a new graphics node paint event. |
|
| Method Summary | |
|---|---|
Shape |
getHighlightShape()
Returns a shape in user space that encloses the current selection. |
int |
getID()
Returns the event's selection event type. |
Object |
getSelection()
Returns the selection associated with this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SELECTION_CHANGED
public static final int SELECTION_CLEARED
public static final int SELECTION_STARTED
public static final int SELECTION_DONE
protected Shape highlightShape
protected Object selection
protected int id
| Constructor Detail |
|---|
public SelectionEvent(Object selection,
int id,
Shape highlightShape)
selection - the selectionid - the id of this eventhighlightShape - a user-space shape enclosing the selection.| Method Detail |
|---|
public Shape getHighlightShape()
public Object getSelection()
public int getID()
SELECTION_CHANGED,
SELECTION_CLEARED,
SELECTION_DONE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||