Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.gvt.event
Class GraphicsNodeFocusEvent  view GraphicsNodeFocusEvent download GraphicsNodeFocusEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.apache.batik.gvt.event.GraphicsNodeEvent
          extended byorg.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.

Version:
$Id: GraphicsNodeFocusEvent.java,v 1.3 2004/08/18 07:14:30 vhardy Exp $

Field Summary
(package private) static int FOCUS_FIRST
          The first number in the range of ids used for focus events.
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
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GraphicsNodeFocusEvent(org.apache.batik.gvt.GraphicsNode source, int id)
          Constructs a new graphics node focus event.
 
Methods inherited from class org.apache.batik.gvt.event.GraphicsNodeEvent
consume, getGraphicsNode, getID, isConsumed
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FOCUS_FIRST

static final int FOCUS_FIRST
The first number in the range of ids used for focus events.

See Also:
Constant Field Values

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(org.apache.batik.gvt.GraphicsNode source,
                              int id)
Constructs a new graphics node focus event.