LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.event
Class LyMenuDemand

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

public class LyMenuDemand
extends LyDemand

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

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

Field Summary
static java.lang.String __VERSION
           
static short TYPE_EXTEND_POPUP
          Request for a extended popup menu.
static short TYPE_POPUP
          Request for a popup menu.
 
Fields inherited from class leon.view.event.LyDemand
SEPARATOR
 
Constructor Summary
LyMenuDemand(int demandType, java.lang.String sourceId)
          Constructor.
 
Method Summary
 java.lang.String getItem()
          Accessor to the context associated to this request.
 int[] getPosition()
          accessor to the position identifier.
 void setItem(java.lang.String item)
          Accessor to the value associated to this action.
 void setPosition(int[] p)
          accessor to the position identifier.
 java.lang.String toString()
          Dump as String.
 
Methods inherited from class leon.view.event.LyDemand
addIndex, getAttribute, getDemandType, getId, getIndex, getParameterValues, getSource, getSubIndex, getType, setAttribute, setParameterValues, setSubIndex, toShortString
 
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_POPUP

public static final short TYPE_POPUP
Request for a popup menu.

See Also:
Constant Field Values

TYPE_EXTEND_POPUP

public static final short TYPE_EXTEND_POPUP
Request for a extended popup menu.

See Also:
Constant Field Values
Constructor Detail

LyMenuDemand

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

Method Detail

getItem

public java.lang.String getItem()
Accessor to the context associated to this request.

Returns:
the context value if any

setItem

public void setItem(java.lang.String item)
Accessor to the value associated to this action.

Parameters:
context - the context

getPosition

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


setPosition

public void setPosition(int[] p)
accessor to the position identifier.


toString

public java.lang.String toString()
Dump as String.

Overrides:
toString in class LyDemand

(c) January 2013 - W4 S.A.

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