amber.awt.event
Class LinkEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--amber.awt.event.LinkEvent
All Implemented Interfaces:
java.io.Serializable

public class LinkEvent
extends java.awt.AWTEvent

This event is fired by the RemoteLink class to indicate that the remote browser has set the client data on the RLink class.

See Also:
RLink, LinkHandler, Serialized Form

Field Summary
static int INT_SET
          The client int was set event type.
static int LINK_FIRST
          Marks the first integer id for the range of link event ids.
static int LINK_LAST
          Marks the last integer id for the range of link event ids.
static int STRING_SET
          The client string was set event type.
 
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, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LinkEvent(java.lang.Object source, int id, int value)
          Constructs an LinkEvent object with the specified source object.
LinkEvent(java.lang.Object source, int id, java.lang.String value)
          Constructs an LinkEvent object with the specified source object.
 
Method Summary
 int getLinkInt()
          Returns the link int associated with this event.
 java.lang.String getLinkString()
          Returns the link string associated with this event.
 java.lang.String paramString()
           
 
Methods inherited from class java.awt.AWTEvent
consume, finalize, getID, isConsumed, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LINK_FIRST

public static final int LINK_FIRST
Marks the first integer id for the range of link event ids.

LINK_LAST

public static final int LINK_LAST
Marks the last integer id for the range of link event ids.

STRING_SET

public static final int STRING_SET
The client string was set event type.

INT_SET

public static final int INT_SET
The client int was set event type.
Constructor Detail

LinkEvent

public LinkEvent(java.lang.Object source,
                 int id,
                 java.lang.String value)
Constructs an LinkEvent object with the specified source object.
Parameters:
source - the object where the event originated
id - the type of event
value - the string for this event

LinkEvent

public LinkEvent(java.lang.Object source,
                 int id,
                 int value)
Constructs an LinkEvent object with the specified source object.
Parameters:
source - the object where the event originated
id - the type of event
value - the int for this event
Method Detail

getLinkString

public java.lang.String getLinkString()
Returns the link string associated with this event.
Returns:
String containing the data.

getLinkInt

public int getLinkInt()
Returns the link int associated with this event.
Returns:
int containing the data.

paramString

public java.lang.String paramString()
Overrides:
paramString in class java.awt.AWTEvent


Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.