LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.event
Class LyDragDropDemand

java.lang.Object
  extended by leon.view.event.LyDemand
      extended by leon.view.event.LyDragDropDemand
All Implemented Interfaces:
java.io.Serializable

public class LyDragDropDemand
extends LyDemand

This class implements an action event created from the presentation layer, which is sent to the associated controller and sent to its controller using RMI.

See Also:
LyDemand, LySelectionDemand, LyHelpDemand, LyMenuDemand, Serialized Form

Field Summary
static java.lang.String __VERSION
           
static short TYPE_DRAG_ENTER
          This event indicates a drag enter request.
static short TYPE_DRAG_FINISHED
          This event indicates a finished drag request.
static short TYPE_DRAG_LEAVE
          This event indicates a drag leave request.
static short TYPE_DRAG_OPERATION_CHANGED
          This event indicates a drag operation changed request.
static short TYPE_DRAG_OVER
          This event indicates a drag over request.
static short TYPE_DRAG_SET_DATA
          This event indicates a drag set data request.
static short TYPE_DRAG_START
          This event indicates a drag start request.
static short TYPE_DROP
          This event indicates a drop request.
static short TYPE_DROP_ACCEPT
          This event indicates a drop accept request.
 
Fields inherited from class leon.view.event.LyDemand
SEPARATOR
 
Constructor Summary
LyDragDropDemand(int demandType, java.lang.String sourceId)
          Constructor.
 
Method Summary
 int[] getPosition()
          Accessor to the position identifier.
 java.lang.String getValue()
          Accessor to the value associated to this action.
 void setPosition(int[] p)
          Modifier of the position identifier.
 void setValue(java.lang.String value)
          Accessor to the value associated to this action.
 
Methods inherited from class leon.view.event.LyDemand
addIndex, getAttribute, getDemandType, getId, getIndex, getParameterValues, getSource, getSubIndex, getType, setAttribute, setParameterValues, setSubIndex, toShortString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values

TYPE_DRAG_START

public static final short TYPE_DRAG_START
This event indicates a drag start request.

See Also:
Constant Field Values

TYPE_DROP

public static final short TYPE_DROP
This event indicates a drop request. The data will be dropped.

See Also:
Constant Field Values

TYPE_DRAG_FINISHED

public static final short TYPE_DRAG_FINISHED
This event indicates a finished drag request.

See Also:
Constant Field Values

TYPE_DRAG_SET_DATA

public static final short TYPE_DRAG_SET_DATA
This event indicates a drag set data request.

See Also:
Constant Field Values

TYPE_DROP_ACCEPT

public static final short TYPE_DROP_ACCEPT
This event indicates a drop accept request. The drop will be about to be performed.

See Also:
Constant Field Values

TYPE_DRAG_ENTER

public static final short TYPE_DRAG_ENTER
This event indicates a drag enter request. The cursor will be entered the drop target boundaries.

See Also:
Constant Field Values

TYPE_DRAG_LEAVE

public static final short TYPE_DRAG_LEAVE
This event indicates a drag leave request. The cursor will have left the drop target boundaries OR the drop will have been cancelled OR the data will be about to be dropped.

See Also:
Constant Field Values

TYPE_DRAG_OPERATION_CHANGED

public static final short TYPE_DRAG_OPERATION_CHANGED
This event indicates a drag operation changed request. The operation will be performed has changed (usually due to the user changing the selected modifier key(s) while dragging).

See Also:
Constant Field Values

TYPE_DRAG_OVER

public static final short TYPE_DRAG_OVER
This event indicates a drag over request. The cursor will be moving over the drop target.

See Also:
Constant Field Values
Constructor Detail

LyDragDropDemand

public LyDragDropDemand(int demandType,
                        java.lang.String sourceId)
Constructor.

Method Detail

getValue

public java.lang.String getValue()
Accessor to the value associated to this action. The meaning of the value depends on the type of the event.

Returns:
the value

setValue

public void setValue(java.lang.String value)
Accessor to the value associated to this action. The meaning of the value depends on the type of the event.

Parameters:
value - the value

getPosition

public int[] getPosition()
Accessor to the position identifier.


setPosition

public void setPosition(int[] p)
Modifier of the position identifier.


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com