|
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.LyComponent
leon.view.LyFieldItem
leon.view.LyDictionaryBase
public abstract class LyDictionaryBase
The LyDictionaryBase class is a generated Java implementation that corresponds to the element DICTIONARY of the descriptive grammar of the views (views.dtd). <DICTIONARY> : Input Field of Dictionary Type An input field of dictionary type allows displaying a graphical component containing a combo with a tree.
LyFieldItem
,
See also tag DICTIONARY of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyDictionaryBase.SelectionType
Possible values for attribute 'selectionType'. |
Nested classes/interfaces inherited from class leon.view.LyComponent |
---|
LyComponent.EventType |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LyDictionaryBase()
Default constructor. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getBean()
Gets value of bean. |
java.lang.String |
getColor()
Gets value of color. |
java.lang.String |
getDisabledColor()
Gets value of disabledColor. |
java.lang.String |
getEnabledColor()
Gets value of enabledColor. |
LyEntry |
getEntry()
Get sub-component Entry. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getImageSelector()
Gets value of imageSelector. |
int |
getNCols()
Gets value of nCols. |
int |
getNRows()
Gets value of nRows. |
LyDictionaryBase.SelectionType |
getSelectionType()
Gets value of selectionType. |
static LyDictionaryBase.SelectionType |
getSelectionType(java.lang.String token)
Utility method to get selectionType value from a string. |
LyDictionary |
getTemplate()
Gets value of template. |
boolean |
isDefaultColor()
Checks whether the color attribute is valuated to the default value. |
boolean |
isDefaultDisabledColor()
Checks whether the disabledColor attribute is valuated to the default value. |
boolean |
isDefaultEnabledColor()
Checks whether the enabledColor attribute is valuated to the default value. |
boolean |
isDefaultFont()
Checks whether the font attribute is valuated to the default value. |
boolean |
isDefaultFontColor()
Checks whether the fontColor attribute is valuated to the default value. |
boolean |
isDefaultImageSelector()
Checks whether the imageSelector attribute is valuated to the default value. |
boolean |
isMultiple()
Checks if value of attribute multiple is set. |
void |
setBean(java.lang.String bean)
Initializes attribute bean to the given value. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setDisabledColor(java.lang.String disabledColor)
Initializes attribute disabledColor to the given value. |
void |
setEnabledColor(java.lang.String enabledColor)
Initializes attribute enabledColor to the given value. |
void |
setEntry(LyEntry entry)
Sets sub-component entry. |
void |
setFont(java.lang.String font)
Initializes attribute font to the given value. |
void |
setFontColor(java.lang.String fontColor)
Initializes attribute fontColor to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setImageSelector(java.lang.String imageSelector)
Initializes attribute imageSelector to the given value. |
void |
setMultiple(boolean multiple)
Initializes attribute multiple to the given value. |
void |
setNCols(int nCols)
Initializes attribute nCols to the given value. |
void |
setNRows(int nRows)
Initializes attribute nRows to the given value. |
void |
setSelectionType(LyDictionaryBase.SelectionType selectionType)
Initializes attribute selectionType to the given value. |
void |
setTemplate(LyDictionary template)
Initializes attribute template to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
Methods inherited from class leon.view.LyFieldItem |
---|
addBeanData, buildBean, free, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBeanComponent, setBeanDatas, setFieldValue, setLabel, updateViewContent, validateInput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyDictionaryBase()
Method Detail |
---|
public static final LyDictionaryBase.SelectionType getSelectionType(java.lang.String token)
token
- Token string
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyDictionary getTemplate()
public boolean isMultiple()
public java.lang.String getBean()
getBean
in class LyFieldItem
public int getNCols()
public int getNRows()
public LyDictionaryBase.SelectionType getSelectionType()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public java.lang.String getImageSelector()
public boolean isDefaultImageSelector()
public java.lang.String getEnabledColor()
public boolean isDefaultEnabledColor()
public java.lang.String getDisabledColor()
public boolean isDefaultDisabledColor()
public LyEntry getEntry()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyDictionary template)
template
- New value of template.public void setMultiple(boolean multiple)
multiple
- Boolean indicating if attribute multiple is set or unset.public void setBean(java.lang.String bean)
setBean
in class LyFieldItem
bean
- New value of bean.public void setNCols(int nCols)
nCols
- New value of nCols.public void setNRows(int nRows)
nRows
- New value of nRows.public void setSelectionType(LyDictionaryBase.SelectionType selectionType)
selectionType
- New value of selectionType.
java.lang.IllegalArgumentException
- if selectionType parameter is null.public void setFont(java.lang.String font)
font
- New value of font.public void setColor(java.lang.String color)
color
- New value of color.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setImageSelector(java.lang.String imageSelector)
imageSelector
- New value of imageSelector.public void setEnabledColor(java.lang.String enabledColor)
enabledColor
- New value of enabledColor.public void setDisabledColor(java.lang.String disabledColor)
disabledColor
- New value of disabledColor.public void setEntry(LyEntry entry)
entry
- New value of entrypublic void writeXml(java.io.PrintWriter pw, boolean debug)
writeXml
in class LyComponent
pw
- the printWriter on which the XML is written.debug
- true if debug mode (full dump).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |