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

Quick Search    Search Deep

javatools.awt.event
Class TabEnableEvent  view TabEnableEvent download TabEnableEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.awt.AWTEvent
          extended byjavatools.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.

Version:
0.1.8

Field Summary
private  int index
           
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.
private  javax.swing.JTabbedPane tab
           
 
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

tab

private javax.swing.JTabbedPane tab

index

private int index
Constructor Detail

TabEnableEvent

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

Method Detail

dispatch

public void dispatch()
Dispatches the event.

Specified by:
dispatch in interface java.awt.ActiveEvent