|
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.info.LyTag
leon.info.LyInfo
leon.info.LyObjectInfo
leon.info.LyAction
leon.info.LyCompoundAction
public final class LyCompoundAction
This class implements the description of compound actions : action composed of 2 sub-actions.
Compound actions are used to allow building of composite views (views composed of sub-views).
Sub-actions of a compound action can also be compound actions this gives us the richness for
building complex presentations.
This class extends LyAction : a compound action is an action and can be used everywhere actions
are used.
The extra attributes on compound actions are the following :
-1 : no action is context for the other one,
0 : first action is context for the second one,
1 : second action is context for the first one.
See also tag
Nested Class Summary | |
---|---|
static class |
LyCompoundAction.ClientContext
|
static class |
LyCompoundAction.Context
|
static class |
LyCompoundAction.Style
Presentation styles . |
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__version
|
Fields inherited from class leon.info.LyObjectInfo |
---|
__VERSION, NULL, PART_ALL, PART_BIND, PART_DATA, PART_GUI, PART_LABEL |
Constructor Summary | |
---|---|
LyCompoundAction(LyAction xrefAction)
Constructor of a compound action for a xref action. |
|
LyCompoundAction(LyAction template,
java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
Constructs a new compound action. |
Method Summary | |
---|---|
LyCompoundAction.ClientContext |
getClientContext()
Specifies if the client context action is the first action, the second one, none or both of them. |
short |
getClientContextIndex()
Specifies if the client context action is the first action, the second one, none or both of them. |
LyCompoundAction.Context |
getContext()
Specifies if the context action is the first the second or none. |
LyAction |
getContextAction()
Specifies which action is used as context for the other one (selections on the view of the context action cause the other view to be refreshed). |
short |
getContextIndex()
Specifies if the context action is the first the second or none. |
LyAction |
getFirstAction()
Gets first sub-action of this compound action. |
int[] |
getIntSizes()
Gets ratios attributed to each sub-action view. |
LyAction |
getSecondAction()
Gets second sub-action of this compound action. |
java.lang.String |
getSizes()
Gets ratios attributed to each sub-action view. |
LyCompoundAction.Style |
getStyle()
Gets presentation style which defines how sub-actions views are presented. |
LyAction |
getSubAction(int index)
Gets sub-action at the given index in sub-actions list. |
int |
getSubActionCount()
Gets number of sub-actions. |
LyInfoList<LyAction> |
getSubActions()
Gets sub-actions list. |
boolean |
isViewable()
Method used to check if this action is viewable or not. |
Methods inherited from class leon.info.LyObjectInfo |
---|
clone, getAlias, getData, getDataList, getDatas, getFilePrefix, getGroup, getInternalAlias, getInternalFilePrefix, getInternalName, getMarks, getName, getTemplate, getTip, getUserData, hasMark, hasMarks, hasTemplate, isTemplate, putData, putData, removeData, toName |
Methods inherited from class leon.info.LyInfo |
---|
getApplication, getFile, getId, getInclude, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString |
Methods inherited from class leon.info.LyTag |
---|
getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface leon.parser.LyCommentInterface |
---|
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart |
Field Detail |
---|
public static final java.lang.String __version
Constructor Detail |
---|
public LyCompoundAction(LyAction xrefAction)
xrefAction
- XRef action.public LyCompoundAction(LyAction template, java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
template
- Action template.parameters
- Action parameters.Method Detail |
---|
public LyAction getFirstAction()
public LyAction getSecondAction()
public LyCompoundAction.Style getStyle()
public java.lang.String getSizes()
public int[] getIntSizes()
public LyAction getContextAction()
public short getContextIndex()
public LyCompoundAction.Context getContext()
public short getClientContextIndex()
public LyCompoundAction.ClientContext getClientContext()
public LyInfoList<LyAction> getSubActions()
public LyAction getSubAction(int index)
index
- Index of the searched sub-action.
public int getSubActionCount()
public boolean isViewable()
isViewable
in class LyAction
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |