|
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.LyDateBase
public abstract class LyDateBase
The LyDateBase class is a generated Java implementation that corresponds to the element DATE of the descriptive grammar of the views (views.dtd). <DATE> : Input Field of Date Type An input field of Date type allows displaying a graphical component allowing to input or to consult date and/or hour. It does not comprise any element. It is possible to specify the type of the date as well as the display format.
LyFieldItem
,
See also tag DATE of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyDateBase.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 | |
---|---|
LyDateBase()
Default constructor. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getArrowDown()
Gets value of arrowDown. |
java.lang.String |
getArrowDownBig()
Gets value of arrowDownBig. |
java.lang.String |
getArrowUp()
Gets value of arrowUp. |
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 |
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. |
LyDate |
getTemplate()
Gets value of template. |
LyDateBase.Type |
getType()
Gets value of type. |
static LyDateBase.Type |
getType(java.lang.String token)
Utility method to get type value from a string. |
boolean |
isArrows()
Checks if value of attribute arrows is set. |
boolean |
isDefaultArrowDown()
Checks whether the arrowDown attribute is valuated to the default value. |
boolean |
isDefaultArrowDownBig()
Checks whether the arrowDownBig attribute is valuated to the default value. |
boolean |
isDefaultArrowUp()
Checks whether the arrowUp attribute is valuated to the default value. |
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 |
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. |
void |
setArrowDown(java.lang.String arrowDown)
Initializes attribute arrowDown to the given value. |
void |
setArrowDownBig(java.lang.String arrowDownBig)
Initializes attribute arrowDownBig 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 |
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 |
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 |
setNCols(int nCols)
Initializes attribute nCols to the given value. |
void |
setTemplate(LyDate template)
Initializes attribute template to the given value. |
void |
setType(LyDateBase.Type type)
Initializes attribute type 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 LyDateBase()
Method Detail |
---|
public static final LyDateBase.Type getType(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 LyDate getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public LyDateBase.Type getType()
public java.lang.String getFormat()
public java.lang.String getBean()
getBean
in class LyFieldItem
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 int getNCols()
public java.lang.String getDisabledColor()
public boolean isDefaultDisabledColor()
public boolean isArrows()
public java.lang.String getArrowUp()
public boolean isDefaultArrowUp()
public java.lang.String getArrowDown()
public boolean isDefaultArrowDown()
public java.lang.String getArrowDownBig()
public boolean isDefaultArrowDownBig()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyDate 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 setType(LyDateBase.Type type)
type
- New value of type.
java.lang.IllegalArgumentException
- if type parameter is null.public void setFormat(java.lang.String format)
format
- New value of format.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 setColor(java.lang.String color)
color
- New value of color.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setNCols(int nCols)
nCols
- New value of nCols.public void setDisabledColor(java.lang.String disabledColor)
disabledColor
- New value of disabledColor.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 setArrowDownBig(java.lang.String arrowDownBig)
arrowDownBig
- New value of arrowDownBig.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 |