Class GraphicsNodeFocusEvent
java.lang.Object
java.util.EventObject
org.apache.batik.gvt.event.GraphicsNodeEvent
org.apache.batik.gvt.event.GraphicsNodeFocusEvent
- All Implemented Interfaces:
Serializable
A low-level event which indicates that a graphics node has gained or
lost the keyboard focus.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe id for the "focusGained" event.static final intThe id for the "focusLoses" event.Fields inherited from class GraphicsNodeEvent
idFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionGraphicsNodeFocusEvent(GraphicsNode source, int id) Constructs a new graphics node focus event. -
Method Summary
Methods inherited from class GraphicsNodeEvent
consume, getGraphicsNode, getID, isConsumedMethods inherited from class EventObject
getSource, toString
-
Field Details
-
FOCUS_GAINED
public static final int FOCUS_GAINEDThe id for the "focusGained" event. This event indicates that the component gained the keyboard focus.- See Also:
-
FOCUS_LOST
public static final int FOCUS_LOSTThe id for the "focusLoses" event. This event indicates that the component lost the keyboard focus.- See Also:
-
-
Constructor Details
-
GraphicsNodeFocusEvent
Constructs a new graphics node focus event.- Parameters:
source- the graphics node where the event originatedid- the id of this event
-