Class SelectionEvent
java.lang.Object
org.apache.batik.gvt.event.SelectionEvent
An event which indicates that a selection is being made or has been made.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ShapeThe shape enclosing the selectionprotected intThe event type of the current selection eventprotected ObjectThe object which composes the selectionstatic final intThe id for the "selection changing" event.static final intThe id for the "selection cleared" event.static final intThe id for the "selection completed" event.static final intThe id for the "selection started" event. -
Constructor Summary
ConstructorsConstructorDescriptionSelectionEvent(Object selection, int id, Shape highlightShape) Constructs a new graphics node paint event. -
Method Summary
Modifier and TypeMethodDescriptionReturns a shape in user space that encloses the current selection.intgetID()Returns the event's selection event type.Returns the selection associated with this event.
-
Field Details
-
SELECTION_CHANGED
public static final int SELECTION_CHANGEDThe id for the "selection changing" event. (Selection process is under way)- See Also:
-
SELECTION_CLEARED
public static final int SELECTION_CLEAREDThe id for the "selection cleared" event.- See Also:
-
SELECTION_STARTED
public static final int SELECTION_STARTEDThe id for the "selection started" event.- See Also:
-
SELECTION_DONE
public static final int SELECTION_DONEThe id for the "selection completed" event. (Selection process is complete).- See Also:
-
highlightShape
The shape enclosing the selection -
selection
The object which composes the selection -
id
protected int idThe event type of the current selection event
-
-
Constructor Details
-
SelectionEvent
-
-
Method Details
-
getHighlightShape
Returns a shape in user space that encloses the current selection. -
getSelection
Returns the selection associated with this event. Only guaranteed current for events of type SELECTION_DONE. -
getID
public int getID()Returns the event's selection event type.- See Also:
-