LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.event
Class LyActionDemand

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

public class LyActionDemand
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_ACTION
          This event indicates that the default action occured for instance button pressed.
static short TYPE_CLOSE_TAB
          This event indicates a close tab request.
static short TYPE_COMPLETE_VALUE
          This event indicates that a formatted string has to be completed.
static short TYPE_DELETE
          This event indicates that user has requested a deletion in the view.
static short TYPE_DIVIDE
          This event indicates a divide interval request.
static short TYPE_EXPAND
          This event indicates that a node has been expanded.
static short TYPE_EXTEND_SORT
          This event indicates that user has requested a new sort in the view.
static short TYPE_HREF
          This event indicates that user has requested an hypertext in the view.
static short TYPE_INSERT
          This event indicates that user has requested a insert in the view.
static short TYPE_MOUSE_OVER
          The mouse is over the item.
static short TYPE_MOVE
          This event indicates that some nodes have been moved (map...).
static short TYPE_OPEN
          This event indicates a open line request.
static short TYPE_SORT
          This event indicates that user has requested a new sort in the view.
static short TYPE_STATUS
          This event indicates that user has selected status image.
static short TYPE_TAB_NEXT
          This event indicates a tab next request.
static short TYPE_TAB_PREVIOUS
          This event indicates a tab previous request.
static short TYPE_TIMEOUT
          This event indicates that a timeout has expired (Ex : waiting for component initialization with periodic notifications).
static short TYPE_TYPE_CHANGED
          The type in a component has changed.
static short TYPE_UNIT_CHANGED
          The unit in a component has changed.
static short TYPE_VALUE_CHANGED
          The value in a component has changed.
static short TYPE_WINDOW_CLOSED
          This event indicates that a window is closing and indicates a return code.
 
Fields inherited from class leon.view.event.LyDemand
SEPARATOR
 
Constructor Summary
LyActionDemand(int demandType, java.lang.String sourceId)
          Constructor.
 
Method Summary
 java.lang.String getAdditionalValue()
          Accessor to the additional value associated to this action.
 java.lang.String getValue()
          Accessor to the value associated to this action.
 java.util.Vector<java.lang.String> getViewSelection()
          Accessor to a possible selection context of invocation in an action.
 void setAdditionalValue(java.lang.String value)
          Accessor to the additional value associated to this action.
 void setValue(java.lang.String value)
          Accessor to the value associated to this action.
 void setViewSelection(java.util.Vector<java.lang.String> selection)
          Accessor to a possible selection context of invocation in an action.
 java.lang.String toString()
          Export.
 
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_ACTION

public static final short TYPE_ACTION
This event indicates that the default action occured for instance button pressed.

See Also:
Constant Field Values

TYPE_VALUE_CHANGED

public static final short TYPE_VALUE_CHANGED
The value in a component has changed.

See Also:
Constant Field Values

TYPE_WINDOW_CLOSED

public static final short TYPE_WINDOW_CLOSED
This event indicates that a window is closing and indicates a return code.

See Also:
Constant Field Values

TYPE_SORT

public static final short TYPE_SORT
This event indicates that user has requested a new sort in the view.

See Also:
Constant Field Values

TYPE_EXTEND_SORT

public static final short TYPE_EXTEND_SORT
This event indicates that user has requested a new sort in the view.

See Also:
Constant Field Values

TYPE_HREF

public static final short TYPE_HREF
This event indicates that user has requested an hypertext in the view.

See Also:
Constant Field Values

TYPE_EXPAND

public static final short TYPE_EXPAND
This event indicates that a node has been expanded.

See Also:
Constant Field Values

TYPE_MOVE

public static final short TYPE_MOVE
This event indicates that some nodes have been moved (map...).

See Also:
Constant Field Values

TYPE_DELETE

public static final short TYPE_DELETE
This event indicates that user has requested a deletion in the view.

See Also:
Constant Field Values

TYPE_STATUS

public static final short TYPE_STATUS
This event indicates that user has selected status image.

See Also:
Constant Field Values

TYPE_INSERT

public static final short TYPE_INSERT
This event indicates that user has requested a insert in the view.

See Also:
Constant Field Values

TYPE_UNIT_CHANGED

public static final short TYPE_UNIT_CHANGED
The unit in a component has changed.

See Also:
Constant Field Values

TYPE_TYPE_CHANGED

public static final short TYPE_TYPE_CHANGED
The type in a component has changed.

See Also:
Constant Field Values

TYPE_COMPLETE_VALUE

public static final short TYPE_COMPLETE_VALUE
This event indicates that a formatted string has to be completed.

See Also:
Constant Field Values

TYPE_DIVIDE

public static final short TYPE_DIVIDE
This event indicates a divide interval request.

See Also:
Constant Field Values

TYPE_TAB_NEXT

public static final short TYPE_TAB_NEXT
This event indicates a tab next request.

See Also:
Constant Field Values

TYPE_TAB_PREVIOUS

public static final short TYPE_TAB_PREVIOUS
This event indicates a tab previous request.

See Also:
Constant Field Values

TYPE_CLOSE_TAB

public static final short TYPE_CLOSE_TAB
This event indicates a close tab request.

See Also:
Constant Field Values

TYPE_TIMEOUT

public static final short TYPE_TIMEOUT
This event indicates that a timeout has expired (Ex : waiting for component initialization with periodic notifications). Reserved for internal used in view package.

See Also:
Constant Field Values

TYPE_MOUSE_OVER

public static final short TYPE_MOUSE_OVER
The mouse is over the item. Reserved for internal used in view package.

See Also:
Constant Field Values

TYPE_OPEN

public static final short TYPE_OPEN
This event indicates a open line request. Reserved for internal used in view package.

See Also:
Constant Field Values
Constructor Detail

LyActionDemand

public LyActionDemand(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

getAdditionalValue

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

Returns:
the value

setAdditionalValue

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

Parameters:
value - the value

getViewSelection

public java.util.Vector<java.lang.String> getViewSelection()
Accessor to a possible selection context of invocation in an action. This context may be null, unknown from the view or even partial. Decision of context is provided by the controller, this accessor is only indicative.

Returns:
the selection ids or null.

setViewSelection

public void setViewSelection(java.util.Vector<java.lang.String> selection)
Accessor to a possible selection context of invocation in an action. This context may be null, unknown from the view or even partial. Decision of context is provided by the controller, this accessor is only indicative.

Parameters:
value - the value

toString

public java.lang.String toString()
Export.

Overrides:
toString in class LyDemand

(c) January 2013 - W4 S.A.

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