|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.event.LyDemand
public class LyDemand
This class implements an event from the presentation layer and sent to its controller using RMI This class is specialised into several event types.
LySelectionDemand
,
LyActionDemand
,
LyHelpDemand
,
LyMenuDemand
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
__VERSION
|
static char |
SEPARATOR
|
Constructor Summary | |
---|---|
LyDemand(int demandType,
java.lang.String sourceId)
Constructor. |
Method Summary | |
---|---|
void |
addIndex(int idx)
Add a new index for a (un-)selected object. |
java.lang.Object |
getAttribute(java.lang.String key)
Retrieves a value from a registered key. |
java.lang.String |
getDemandType()
Convert the demand type to a string. |
int |
getId()
Accessor to the identifier of the demand. |
int |
getIndex(int pos)
Accessor to the index the (un-)selected object. |
LyParameterValues |
getParameterValues()
Accessor to info description associated to this demand The ParameterValues contains pairs id / values for the current view. |
java.lang.String |
getSource()
Accessor to the identifier of the source of this demand. |
int |
getSubIndex()
Sub-index associated to this event (optional). |
int |
getType()
Accessor to the type of the demand Types are described in specific implementations : selectDemand, actionDemand ... |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Adds a pair key-value to the session. |
void |
setParameterValues(LyParameterValues parameterValues)
Accessor to info description associated to this demand The ParameterValues contains pairs id / values for the current view. |
void |
setSubIndex(int sub_index)
Value associated to this event (optional). |
java.lang.String |
toShortString()
Export. |
java.lang.String |
toString()
Export. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static char SEPARATOR
Constructor Detail |
---|
public LyDemand(int demandType, java.lang.String sourceId)
id
- or -1 for automatic generation.Method Detail |
---|
public int getId()
public int getType()
public java.lang.String getSource()
public int getIndex(int pos)
pos
- index of the selection
public void addIndex(int idx)
pos
- index of the selectionpublic LyParameterValues getParameterValues()
public void setParameterValues(LyParameterValues parameterValues)
public int getSubIndex()
public void setSubIndex(int sub_index)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toShortString()
public java.lang.String getDemandType()
public void setAttribute(java.lang.String key, java.lang.Object value)
key
- The key that must be stored.value
- The value that must be stored with the key.#getValue
public java.lang.Object getAttribute(java.lang.String key)
key
- The key that must be used.
#addValue
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |