Package org.apache.batik.gvt.event
Class GraphicsNodeFocusEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.batik.gvt.event.GraphicsNodeEvent
-
- org.apache.batik.gvt.event.GraphicsNodeFocusEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class GraphicsNodeFocusEvent extends GraphicsNodeEvent
A low-level event which indicates that a graphics node has gained or lost the keyboard focus.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
FOCUS_GAINED
The id for the "focusGained" event.static int
FOCUS_LOST
The id for the "focusLoses" event.-
Fields inherited from class org.apache.batik.gvt.event.GraphicsNodeEvent
id
-
-
Constructor Summary
Constructors Constructor Description GraphicsNodeFocusEvent(GraphicsNode source, int id)
Constructs a new graphics node focus event.
-
Method Summary
-
Methods inherited from class org.apache.batik.gvt.event.GraphicsNodeEvent
consume, getGraphicsNode, getID, isConsumed
-
-
-
-
Field Detail
-
FOCUS_GAINED
public static final int FOCUS_GAINED
The id for the "focusGained" event. This event indicates that the component gained the keyboard focus.- See Also:
- Constant Field Values
-
FOCUS_LOST
public static final int FOCUS_LOST
The id for the "focusLoses" event. This event indicates that the component lost the keyboard focus.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GraphicsNodeFocusEvent
public GraphicsNodeFocusEvent(GraphicsNode source, int id)
Constructs a new graphics node focus event.- Parameters:
source
- the graphics node where the event originatedid
- the id of this event
-
-