|
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
leon.view.event.LySelectionDemand
public class LySelectionDemand
This class implements a selection event created from the presentation layer, which is sent to the associated controller and sent to its controller using RMI.
LyDemand
,
LyActionDemand
,
LyHelpDemand
,
LyMenuDemand
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
__VERSION
|
static short |
TYPE_SELECT
This event indicates the selection of one one several items Items id are indicated in the getSelectionId() method. |
static short |
TYPE_SELECT_ALL
This event indicates that all itemls are selected. |
static short |
TYPE_UNSELECT
This event indicates the unselection of one one several items Items id are indicated in the getSelectionId() method. |
static short |
TYPE_UNSELECT_ALL
This event indicates that all items are unselected. |
Fields inherited from class leon.view.event.LyDemand |
---|
SEPARATOR |
Constructor Summary | |
---|---|
LySelectionDemand(int demandType,
java.lang.String sourceId)
Constructor. |
Method Summary | |
---|---|
void |
addSelectionId(java.lang.String newId)
Adds a new id to the selection. |
java.lang.String |
getSelectionId()
Accessor to the identifier of the (un-)selected object. if multiple objects are selecte or unselected, all ids are returned with a separator. |
java.lang.String |
getSelectionId(int idx)
Accessor to the identifier of the (un-)selected object. |
int |
getSelectionSize()
Returns the number of ids in the list. |
int |
getSelectionSizeParam()
Returns the value of the _selectionSize attribute. |
boolean |
hasSelectionId(java.lang.String value)
Indicates whether demand contains given value in its list of selection ids. |
boolean |
isExtend()
Accessor to the new extension status. |
void |
setExtend(boolean extend)
Accessor to the new extension status. |
void |
setSelectionSize(int size)
Accessor to the number of selections. |
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 |
---|
public static final java.lang.String __VERSION
public static final short TYPE_SELECT
public static final short TYPE_UNSELECT
public static final short TYPE_SELECT_ALL
public static final short TYPE_UNSELECT_ALL
Constructor Detail |
---|
public LySelectionDemand(int demandType, java.lang.String sourceId)
id
- or -1 fgor automatic generation.Method Detail |
---|
public java.lang.String getSelectionId()
public java.lang.String getSelectionId(int idx)
idx
- index of the selection
public boolean hasSelectionId(java.lang.String value)
public void setSelectionSize(int size)
public int getSelectionSize()
public int getSelectionSizeParam()
public void addSelectionId(java.lang.String newId)
newId
- new object identifierpublic java.lang.String toString()
toString
in class LyDemand
public boolean isExtend()
public void setExtend(boolean extend)
extend
- true if the selection extends previous notification.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |