com.ptc.wvs.client.pview
Class PViewEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.awt.AWTEvent
          extended bycom.ptc.wvs.client.pview.PViewEvent
All Implemented Interfaces:
Serializable

public class PViewEvent
extends AWTEvent

See Also:
Serialized Form

Field Summary
private  long componentId
           
private  int hwnd
           
private  int id
           
static int LOAD_COMPLETE
          Load completed
static int LOAD_ED_COMPLETE
          Load ED completed
static int MESSAGE
          Status bar message
private  String modifiers
           
static int NODE_ACTIVATED
          Graphics activated
static int NODE_DESELECTED
          Graphical component de-selected
static int NODE_HIDDEN
          Graphics hidden
static int NODE_LOADED
          Graphics loaded
static int NODE_MOVED
          Component moved
static int NODE_SELECTED
          Graphical component selected
static int NODE_UNLOADED
          Graphics un-loaded
static int NODE_VIEWABLE
          Node has viewable data associated
static int NODE_VIEWED
          Graphics displayed
static int PROBE
          Probe co-ordinates
static int VIEW_MOVED
          View Moved
 
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, 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
PViewEvent(Object source, int hwnd, int id, long componentId)
          Constructs a PViewEvent object.
PViewEvent(Object source, int hwnd, int id, long componentId, String modifiers)
          Constructs a PViewEvent object with modifier
 
Method Summary
 long getComponentId()
          Returns the component identifier effected by the event
 int getHwnd()
          Returns the window handle of event
 int getId()
          Returns the type of event
 String getModifiers()
          Returns the modifier to 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

MESSAGE

public static final int MESSAGE
Status bar message

See Also:
Constant Field Values

PROBE

public static final int PROBE
Probe co-ordinates

See Also:
Constant Field Values

NODE_SELECTED

public static final int NODE_SELECTED
Graphical component selected

See Also:
Constant Field Values

NODE_DESELECTED

public static final int NODE_DESELECTED
Graphical component de-selected

See Also:
Constant Field Values

NODE_LOADED

public static final int NODE_LOADED
Graphics loaded

See Also:
Constant Field Values

NODE_UNLOADED

public static final int NODE_UNLOADED
Graphics un-loaded

See Also:
Constant Field Values

NODE_HIDDEN

public static final int NODE_HIDDEN
Graphics hidden

See Also:
Constant Field Values

NODE_VIEWABLE

public static final int NODE_VIEWABLE
Node has viewable data associated

See Also:
Constant Field Values

NODE_VIEWED

public static final int NODE_VIEWED
Graphics displayed

See Also:
Constant Field Values

NODE_ACTIVATED

public static final int NODE_ACTIVATED
Graphics activated

See Also:
Constant Field Values

NODE_MOVED

public static final int NODE_MOVED
Component moved

See Also:
Constant Field Values

LOAD_COMPLETE

public static final int LOAD_COMPLETE
Load completed

See Also:
Constant Field Values

LOAD_ED_COMPLETE

public static final int LOAD_ED_COMPLETE
Load ED completed

See Also:
Constant Field Values

VIEW_MOVED

public static final int VIEW_MOVED
View Moved

See Also:
Constant Field Values

componentId

private long componentId

modifiers

private String modifiers

id

private int id

hwnd

private int hwnd
Constructor Detail

PViewEvent

public PViewEvent(Object source,
                  int hwnd,
                  int id,
                  long componentId)
Constructs a PViewEvent object.

Parameters:
source - the object that originated the event
id - an object that identifies the event
componentId - the effected component id

PViewEvent

public PViewEvent(Object source,
                  int hwnd,
                  int id,
                  long componentId,
                  String modifiers)
Constructs a PViewEvent object with modifier

Parameters:
source - the object that originated the event
id - an integer that identifies the event
componentId - the effected component id
modifiers - flag
Method Detail

getHwnd

public int getHwnd()
Returns the window handle of event

Returns:
the window handle

getId

public int getId()
Returns the type of event

Returns:
the event type

getComponentId

public long getComponentId()
Returns the component identifier effected by the event

Returns:
the component identifier

getModifiers

public String getModifiers()
Returns the modifier to the event

Returns:
the String modifier