|
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.LyTabAction
public final class LyTabAction
This class implements the description of tab actions : action containing a list of sub-actions.
Tab actions are used to allow building of views presented as tabs. Sub-actions of a tab action
can also be tab or tab actions this gives us the richness for building complex presentations.
This class extends LyAction : a tab action is an action and can be used everywhere actions are
used.
The extra attributes on tab actions are the following :
See also tag
Nested Class Summary | |
---|---|
static class |
LyTabAction.Type
Tab action types. |
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static short |
CONTEXT_ALL
Context : both. |
static short |
CONTEXT_NONE
Context : none. |
Fields inherited from class leon.info.LyObjectInfo |
---|
NULL, PART_ALL, PART_BIND, PART_DATA, PART_GUI, PART_LABEL |
Constructor Summary | |
---|---|
LyTabAction(java.lang.String id,
LyAction template,
java.lang.String controllerClassName,
java.lang.String behaviorClassName,
java.lang.String builderClassName,
short clientContextIndex,
java.lang.String target,
LyTabAction.Type type)
Constructor of a new tab action. |
Method Summary | |
---|---|
java.lang.String |
getBehaviorClassName()
Gets behavior class name. |
short |
getClientContextIndex()
Specifies if the client context action is the action at the given index, none or all of them. |
LyAction |
getTabAction(int index)
Gets sub-action at the given index in sub-actions list. |
int |
getTabActionCount()
Gets number of sub-actions. |
LyInfoList<LyAction> |
getTabActions()
Gets sub-actions list. |
LyTabAction.Type |
getType()
Gets type of the tab action. |
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
public static short CONTEXT_NONE
public static short CONTEXT_ALL
Constructor Detail |
---|
public LyTabAction(java.lang.String id, LyAction template, java.lang.String controllerClassName, java.lang.String behaviorClassName, java.lang.String builderClassName, short clientContextIndex, java.lang.String target, LyTabAction.Type type)
id
- Identifier of the tab action.template
- Reference of the action template.controllerClassName
- Java class name of the action controller.behaviorClassName
- Java class name of the action behavior.builderClassName
- Java class name of the action builder.clientContextIndex
- Client context index. Accepted values are : -2 = both, -1 = no
context, 0 = context is given by first action, 1 = context is
given by second action.target
- The target zone id for this action.type
- Type of the tab action.Method Detail |
---|
public LyInfoList<LyAction> getTabActions()
public LyAction getTabAction(int index)
index
- Index of the searched sub-action.
public int getTabActionCount()
public short getClientContextIndex()
public LyTabAction.Type getType()
public boolean isViewable()
isViewable
in class LyAction
public java.lang.String getBehaviorClassName()
getBehaviorClassName
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 |