org.nakedobjects.viewer.classic.event.action
Class ObjectActionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.nakedobjects.viewer.classic.event.action.ObjectActionEvent
All Implemented Interfaces:
java.io.Serializable

public class ObjectActionEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
static int DEIDENTIFIED
          Indicates the start of the drag process when a DragDropComponent is first dragged.
static int DESELECTED
          Indicates the dragging of a DragDropComponent.
static int DOUBLE_CLICKED
          Indicates the DragDropComponent has been dropped and it should be move to the new DragDropComponent location.
static int IDENTIFIED
          Indicates the start of the drag process when a DragDropComponent is first dragged.
static int RIGHT_CLICKED
          Indicates the DragDropComponent has been dropped onto another DragDropComponent.
static int SELECTED
          Indicates the dragging of a DragDropComponent.
static int SHIFT_RIGHT_CLICKED
           
static int TRIPLE_CLICKED
          Indicates the DragDropComponent has been dropped and it should be copied to the new DragDropComponent location.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ObjectActionEvent(int action, int modifiers, java.awt.Component component, java.awt.Point location)
           
 
Method Summary
 int getAction()
           
 java.awt.Component getComponent()
           
 java.awt.Point getLocation()
           
 java.awt.Point getLocationOnScreen()
           
 int getModifiers()
           
 java.lang.String 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

IDENTIFIED

public static final int IDENTIFIED
Indicates the start of the drag process when a DragDropComponent is first dragged.

See Also:
Constant Field Values

DEIDENTIFIED

public static final int DEIDENTIFIED
Indicates the start of the drag process when a DragDropComponent is first dragged.

See Also:
Constant Field Values

SELECTED

public static final int SELECTED
Indicates the dragging of a DragDropComponent.

See Also:
Constant Field Values

DESELECTED

public static final int DESELECTED
Indicates the dragging of a DragDropComponent.

See Also:
Constant Field Values

DOUBLE_CLICKED

public static final int DOUBLE_CLICKED
Indicates the DragDropComponent has been dropped and it should be move to the new DragDropComponent location.

See Also:
Constant Field Values

TRIPLE_CLICKED

public static final int TRIPLE_CLICKED
Indicates the DragDropComponent has been dropped and it should be copied to the new DragDropComponent location.

See Also:
Constant Field Values

RIGHT_CLICKED

public static final int RIGHT_CLICKED
Indicates the DragDropComponent has been dropped onto another DragDropComponent.

See Also:
Constant Field Values

SHIFT_RIGHT_CLICKED

public static final int SHIFT_RIGHT_CLICKED
See Also:
Constant Field Values
Constructor Detail

ObjectActionEvent

public ObjectActionEvent(int action,
                         int modifiers,
                         java.awt.Component component,
                         java.awt.Point location)
Method Detail

getAction

public int getAction()

getComponent

public java.awt.Component getComponent()

getLocation

public java.awt.Point getLocation()

getLocationOnScreen

public java.awt.Point getLocationOnScreen()

getModifiers

public int getModifiers()

toString

public java.lang.String toString()