org.globus.cog.gui.grapheditor.targets.swing.util
Class AnchorEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.awt.AWTEvent
          extended byorg.globus.cog.gui.grapheditor.targets.swing.util.AnchorEvent
All Implemented Interfaces:
Serializable

public class AnchorEvent
extends AWTEvent

Defines events for anchors

See Also:
Serialized Form

Field Summary
static int BEGIN_DRAG
           
static int CONNECT
           
static int DRAG
           
static int END_DRAG
           
static int MOVE
           
static int UNDEFINED
           
 
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
AnchorEvent(Component source, int type)
           
 
Method Summary
 Object getTarget()
           
 int getType()
           
 int getX()
           
 int getY()
           
 void setCoords(int xc, int yc)
           
 void setTarget(Object target)
           
 void setType(int type)
           
 
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

UNDEFINED

public static int UNDEFINED

BEGIN_DRAG

public static int BEGIN_DRAG

END_DRAG

public static int END_DRAG

DRAG

public static int DRAG

MOVE

public static int MOVE

CONNECT

public static int CONNECT
Constructor Detail

AnchorEvent

public AnchorEvent(Component source,
                   int type)
Method Detail

setType

public void setType(int type)

getType

public int getType()

setCoords

public void setCoords(int xc,
                      int yc)

getX

public int getX()

getY

public int getY()

setTarget

public void setTarget(Object target)

getTarget

public Object getTarget()