javatools.awt.event
Class TabEnableEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--javatools.awt.event.TabEnableEvent
All Implemented Interfaces:
java.awt.ActiveEvent, java.io.Serializable

public class TabEnableEvent
extends java.awt.AWTEvent
implements java.awt.ActiveEvent

Event to enable a tab of a JTabbedPane.

See Also:
Serialized Form

Field Summary
static int INVOCATION_DEFAULT
          The default id for all InvocationEvents.
static int INVOCATION_FIRST
          Marks the first integer id for the range of invocation event ids.
static int INVOCATION_LAST
          Marks the last integer id for the range of invocation event ids.
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TabEnableEvent(java.lang.Object source, javax.swing.JTabbedPane pTab, int pIndex)
          Creates a new instance of TabEnableEvent
 
Method Summary
 void dispatch()
          Dispatches the event.
 
Methods inherited from class java.awt.AWTEvent
consume, getID, isConsumed, paramString, setSource, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INVOCATION_FIRST

public static final int INVOCATION_FIRST
Marks the first integer id for the range of invocation event ids.

See Also:
Constant Field Values

INVOCATION_DEFAULT

public static final int INVOCATION_DEFAULT
The default id for all InvocationEvents.

See Also:
Constant Field Values

INVOCATION_LAST

public static final int INVOCATION_LAST
Marks the last integer id for the range of invocation event ids.

See Also:
Constant Field Values
Constructor Detail

TabEnableEvent

public TabEnableEvent(java.lang.Object source,
                      javax.swing.JTabbedPane pTab,
                      int pIndex)
Creates a new instance of TabEnableEvent

Parameters:
source - The object that generated the event.
pTab - The tabbed pane to use.
pIndex - The tab's index to enable.
Method Detail

dispatch

public void dispatch()
Dispatches the event.

Specified by:
dispatch in interface java.awt.ActiveEvent