|
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.LyNumberBase
public abstract class LyNumberBase
The LyNumberBase class is a generated Java implementation that corresponds to the element NUMBER of the descriptive grammar of the views (views.dtd). <NUMBER> : Input Field of Number Type An input field of Number type allows displaying a graphical component allowing to input or to consult a number value. It does not comprise any element. It is possible to specify the minimum and the maximum value, the incrementation step, the number of decimals and the unit.
LyFieldItem
,
See also tag NUMBER of grammar leon_views.dtd.
Nested Class Summary |
---|
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 | |
---|---|
LyNumberBase()
Default constructor. |
Method Summary | |
---|---|
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 |
getBean()
Gets value of bean. |
int |
getDecimals()
Gets value of decimals. |
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 |
getNCols()
Gets value of nCols. |
double |
getPitch()
Gets value of pitch. |
LyNumber |
getTemplate()
Gets value of template. |
java.lang.String |
getUnit()
Gets value of unit. |
double |
getVMax()
Gets value of vMax. |
double |
getVMin()
Gets value of vMin. |
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 |
isModulo()
Checks if value of attribute modulo 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 |
setBean(java.lang.String bean)
Initializes attribute bean to the given value. |
void |
setDecimals(int decimals)
Sets attribute decimals 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 |
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)
Sets 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 |
setModulo(boolean modulo)
Initializes attribute modulo to the given value. |
void |
setNCols(int nCols)
Initializes attribute nCols to the given value. |
void |
setPitch(double pitch)
Sets attribute pitch to the given value. |
void |
setTemplate(LyNumber template)
Initializes attribute template to the given value. |
void |
setUnit(java.lang.String unit)
Initializes attribute unit to the given value. |
void |
setVMax(double vMax)
Sets attribute vMax to the given value. |
void |
setVMin(double vMin)
Sets attribute vMin 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 LyNumberBase()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyNumber getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getFormat()
public double getVMin()
public double getVMax()
public double getPitch()
public int getDecimals()
public boolean isModulo()
public java.lang.String getUnit()
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 boolean isArrows()
public java.lang.String getArrowUp()
public boolean isDefaultArrowUp()
public java.lang.String getArrowDown()
public boolean isDefaultArrowDown()
public int getNCols()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyNumber 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 setFormat(java.lang.String format)
format
- New value of format.public void setVMin(double vMin)
vMin
- New value of vMin.public void setVMax(double vMax)
vMax
- New value of vMax.public void setPitch(double pitch)
pitch
- New value of pitch.public void setDecimals(int decimals)
decimals
- New value of decimals.public void setModulo(boolean modulo)
modulo
- Boolean indicating if attribute modulo is set or unset.public void setUnit(java.lang.String unit)
unit
- New value of unit.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 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 setNCols(int nCols)
nCols
- New value of nCols.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 |