Class GraphicsNodeFocusEvent

All Implemented Interfaces:
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 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

    • FOCUS_FIRST

      static final int FOCUS_FIRST
      The first number in the range of ids used for focus events.
      See Also:
    • 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:
    • 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:
  • Constructor Details

    • GraphicsNodeFocusEvent

      public GraphicsNodeFocusEvent(GraphicsNode source, int id)
      Constructs a new graphics node focus event.
      Parameters:
      source - the graphics node where the event originated
      id - the id of this event