|
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.LyTextBase
public abstract class LyTextBase
The LyTextBase class is a generated Java implementation that corresponds to the element TEXT of the descriptive grammar of the views (views.dtd). <TEXT> : Input Field of Text Type An input field of Text type allows displaying a graphical input or text consultation component. It does not comprise any element. It is possible to specify if the text should be hidden, if it should respect a given format, if it can be divided into several lines and the maximum number of characters that it can contain.
LyFieldItem
,
See also tag TEXT of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyTextBase.Scroll
Possible values for attribute 'scroll'. |
static class |
LyTextBase.TextAlign
Possible values for attribute 'textAlign'. |
static class |
LyTextBase.Type
Possible values for attribute 'type'. |
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 | |
---|---|
LyTextBase()
Default constructor. |
Method Summary | |
---|---|
void |
addCharType(LyCharType charType)
Adds a sub-component charType. |
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getArrowDown()
Gets value of arrowDown. |
java.lang.String |
getArrowUp()
Gets value of arrowUp. |
java.lang.String |
getAutoCompletionValues()
Gets value of autoCompletionValues. |
java.lang.String |
getBean()
Gets value of bean. |
LyCharType |
getCharType(int i)
Get sub-component CharType of index i. |
int |
getCharTypeCount()
Get sub-component CharType count. |
java.lang.String |
getDisabledColor()
Gets value of disabledColor. |
java.lang.String |
getEnabledColor()
Gets value of enabledColor. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
java.lang.String |
getFormat()
Gets value of format. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getLabel()
Gets value of label. |
int |
getNChars()
Gets value of nChars. |
int |
getNCols()
Gets value of nCols. |
int |
getNRows()
Gets value of nRows. |
LyTextBase.Scroll |
getScroll()
Gets value of scroll. |
static LyTextBase.Scroll |
getScroll(java.lang.String token)
Utility method to get scroll value from a string. |
LyText |
getTemplate()
Gets value of template. |
LyTextBase.TextAlign |
getTextAlign()
Gets value of textAlign. |
static LyTextBase.TextAlign |
getTextAlign(java.lang.String token)
Utility method to get textAlign value from a string. |
LyTextBase.Type |
getType()
Gets value of type. |
static LyTextBase.Type |
getType(java.lang.String token)
Utility method to get type value from a string. |
void |
insertCharType(LyCharType charType,
int pos)
Inserts a sub-component charType at given position. |
boolean |
isArrows()
Checks if value of attribute arrows is set. |
boolean |
isDefaultArrowDown()
Checks whether the arrowDown attribute is valuated to the default value. |
boolean |
isDefaultArrowUp()
Checks whether the arrowUp 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 |
isEditable()
Checks if value of attribute editable is set. |
boolean |
isNotifyValueChanged()
Checks if value of attribute notifyValueChanged is set. |
boolean |
isSecret()
Checks if value of attribute secret is set. |
boolean |
isWrap()
Checks if value of attribute wrap is set. |
void |
setArrowDown(java.lang.String arrowDown)
Initializes attribute arrowDown to the given value. |
void |
setArrows(boolean arrows)
Initializes attribute arrows to the given value. |
void |
setArrowUp(java.lang.String arrowUp)
Initializes attribute arrowUp to the given value. |
void |
setAutoCompletionValues(java.lang.String autoCompletionValues)
Initializes attribute autoCompletionValues to the given value. |
void |
setBean(java.lang.String bean)
Initializes attribute bean to the given value. |
void |
setDisabledColor(java.lang.String disabledColor)
Initializes attribute disabledColor to the given value. |
void |
setEditable(boolean editable)
Initializes attribute editable to the given value. |
void |
setEnabledColor(java.lang.String enabledColor)
Initializes attribute enabledColor to the given value. |
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 |
setFormat(java.lang.String format)
Initializes attribute format to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setLabel(java.lang.String label)
Sets attribute label to the given value. |
void |
setNChars(int nChars)
Initializes attribute nChars to the given value. |
void |
setNCols(int nCols)
Initializes attribute nCols to the given value. |
void |
setNotifyValueChanged(boolean notifyValueChanged)
Initializes attribute notifyValueChanged to the given value. |
void |
setNRows(int nRows)
Initializes attribute nRows to the given value. |
void |
setScroll(LyTextBase.Scroll scroll)
Initializes attribute scroll to the given value. |
void |
setSecret(boolean secret)
Initializes attribute secret to the given value. |
void |
setTemplate(LyText template)
Initializes attribute template to the given value. |
void |
setTextAlign(LyTextBase.TextAlign textAlign)
Initializes attribute textAlign to the given value. |
void |
setType(LyTextBase.Type type)
Initializes attribute type to the given value. |
void |
setWrap(boolean wrap)
Initializes attribute wrap 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, 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 LyTextBase()
Method Detail |
---|
public static final LyTextBase.TextAlign getTextAlign(java.lang.String token)
token
- Token string
public static final LyTextBase.Type getType(java.lang.String token)
token
- Token string
public static final LyTextBase.Scroll getScroll(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 LyText getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public boolean isSecret()
public int getNCols()
public int getNRows()
public int getNChars()
public java.lang.String getFormat()
public boolean isEditable()
public boolean isWrap()
public boolean isNotifyValueChanged()
public java.lang.String getAutoCompletionValues()
public java.lang.String getBean()
getBean
in class LyFieldItem
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getEnabledColor()
public boolean isDefaultEnabledColor()
public java.lang.String getDisabledColor()
public boolean isDefaultDisabledColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public LyTextBase.TextAlign getTextAlign()
public boolean isArrows()
public java.lang.String getArrowUp()
public boolean isDefaultArrowUp()
public java.lang.String getArrowDown()
public boolean isDefaultArrowDown()
public LyTextBase.Type getType()
public LyTextBase.Scroll getScroll()
public LyCharType getCharType(int i)
i
- the index of the CharType to get.
public int getCharTypeCount()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyText template)
template
- New value of template.public void setLabel(java.lang.String label)
setLabel
in interface LySetLabelInterface
setLabel
in class LyFieldItem
label
- New value of label.public void setSecret(boolean secret)
secret
- Boolean indicating if attribute secret is set or unset.public void setNCols(int nCols)
nCols
- New value of nCols.public void setNRows(int nRows)
nRows
- New value of nRows.public void setNChars(int nChars)
nChars
- New value of nChars.public void setFormat(java.lang.String format)
format
- New value of format.public void setEditable(boolean editable)
editable
- Boolean indicating if attribute editable is set or unset.public void setWrap(boolean wrap)
wrap
- Boolean indicating if attribute wrap is set or unset.public void setNotifyValueChanged(boolean notifyValueChanged)
notifyValueChanged
- Boolean indicating if attribute notifyValueChanged is set or unset.public void setAutoCompletionValues(java.lang.String autoCompletionValues)
autoCompletionValues
- New value of autoCompletionValues.public void setBean(java.lang.String bean)
setBean
in class LyFieldItem
bean
- New value of bean.public void setFont(java.lang.String font)
font
- New value of font.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 setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setTextAlign(LyTextBase.TextAlign textAlign)
textAlign
- New value of textAlign.
java.lang.IllegalArgumentException
- if textAlign parameter is null.public void setArrows(boolean arrows)
arrows
- Boolean indicating if attribute arrows is set or unset.public void setArrowUp(java.lang.String arrowUp)
arrowUp
- New value of arrowUp.public void setArrowDown(java.lang.String arrowDown)
arrowDown
- New value of arrowDown.public void setType(LyTextBase.Type type)
type
- New value of type.
java.lang.IllegalArgumentException
- if type parameter is null.public void setScroll(LyTextBase.Scroll scroll)
scroll
- New value of scroll.
java.lang.IllegalArgumentException
- if scroll parameter is null.public void addCharType(LyCharType charType)
charType
- The charType to add to charTypes list.public void insertCharType(LyCharType charType, int pos)
charType
- The charType to add to charTypes list.pos
- Position where the sub-component is inserted.public 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 |