|
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.LyChoiceOptionGroup
public final class LyChoiceOptionGroup
This class implements the description of a group of choice options. A choice options group contains choice options that are either choice options or other groups.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__version
|
Fields inherited from class leon.info.LyInfo |
---|
__VERSION |
Method Summary | |
---|---|
boolean |
contains(LyChoiceItem item,
boolean godown)
Utility method to check if this group contains the given choice item. |
java.lang.String |
getAlias()
Accessor for alias (shortname) of this instance. |
LyChoiceItem |
getChoiceItem(short index)
Gets an item from the options group at a given position. |
short |
getChoiceItemCount()
Gets options count. |
LyInfoList<LyInfo> |
getChoiceItems()
Returns the list of options available on this options group. |
LyInfoList<LyChoiceOptionGroup> |
getChoiceOptionGroups(boolean godown)
Utility method to retrieve options group of this choice field. |
LyInfoList<LyChoiceOption> |
getChoiceOptions(boolean godown)
Returns the list of options available on this options group. |
java.lang.String |
getInternalAlias()
Accessor for alias (shortname) of this instance. |
LyInfoLabel |
getLabel(int index)
Returns the label of this group at the given index. |
LyInfoLabel |
getLabel(LyInfoLabel.Type type)
Returns the the label of this group for the specified type. |
int |
getLabelCount()
Returns the number of labels of this group. |
java.lang.String |
getName()
Accessor to the name of this options group. |
LyChoiceOption |
getOption()
Get the context option for this group. |
short |
getShortValue()
Gets the short value corresponding to the internal value. |
java.lang.String |
getTip()
Accessor to the tip of this options group. |
LyInfoLabel |
getUserLabel(int i)
Returns the user label at the given position. |
LyInfoLabel |
getUserLabel(java.lang.String subType)
Returns the user label for the given subType. |
int |
getUserLabelCount()
Returns the number of labels of this group. |
java.lang.Object |
getValue()
Accessor to the value of this options group. |
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 |
---|
clone, 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.info.LyChoiceItem |
---|
getId |
Methods inherited from interface leon.parser.LyCommentInterface |
---|
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart |
Field Detail |
---|
public static final java.lang.String __version
Method Detail |
---|
public java.lang.String getName()
getName
in interface LyChoiceItem
getName
in class LyInfo
public java.lang.String getAlias()
getAlias
in interface LyChoiceItem
getAlias
in class LyInfo
public final java.lang.String getInternalAlias()
public java.lang.String getTip()
public LyChoiceItem getChoiceItem(short index)
index
- Index of the searched item.
public short getChoiceItemCount()
public LyInfoList<LyInfo> getChoiceItems()
public LyInfoList<LyChoiceOption> getChoiceOptions(boolean godown)
public LyInfoList<LyChoiceOptionGroup> getChoiceOptionGroups(boolean godown)
public LyChoiceOption getOption()
public boolean contains(LyChoiceItem item, boolean godown)
choiceItem
- searched choice item.
public java.lang.Object getValue()
getValue
in interface LyChoiceItem
public short getShortValue()
getShortValue
in interface LyChoiceItem
public int getLabelCount()
public LyInfoLabel getLabel(LyInfoLabel.Type type)
public LyInfoLabel getLabel(int index)
public int getUserLabelCount()
public LyInfoLabel getUserLabel(int i)
public LyInfoLabel getUserLabel(java.lang.String subType)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |