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

Quick Search    Search Deep

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

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.awt.AWTEvent
          extended byjavatools.awt.event.SetTextEvent
All Implemented Interfaces:
java.awt.ActiveEvent, java.io.Serializable

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

Event to set a JLabel's text in the event queue.

Version:
0.1.8

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.
private  javax.swing.JLabel label
           
private  java.lang.String text
           
 
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
SetTextEvent(java.lang.Object source, javax.swing.JLabel pLabel, java.lang.String pText)
          Creates a new SetTextEvent.
 
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

label

private javax.swing.JLabel label

text

private java.lang.String text
Constructor Detail

SetTextEvent

public SetTextEvent(java.lang.Object source,
                    javax.swing.JLabel pLabel,
                    java.lang.String pText)
Creates a new SetTextEvent.

Method Detail

dispatch

public void dispatch()
Dispatches the event.

Specified by:
dispatch in interface java.awt.ActiveEvent