|
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.LyGauge
public class LyGauge
The LyGauge class is a generated Java implementation that corresponds to the element GAUGE of the descriptive grammar of the views (views.dtd). <GAUGE> : Progress Bar A progress bar is used to indicate to the end-user the progression of a process that takes a long time.
See also tag GAUGE 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 | |
---|---|
LyGauge(java.lang.String id)
Constructor with all required attributes. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getColor()
Gets value of color. |
java.lang.String |
getController()
Gets value of controller. |
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 |
getLabel()
Gets value of label. |
int |
getNCols()
Gets value of nCols. |
int |
getNMax()
Gets value of nMax. |
int |
getNMin()
Gets value of nMin. |
int |
getNRows()
Gets value of nRows. |
int |
getNValue()
Gets value of nValue. |
java.lang.String |
getProgressColor()
Gets value of progressColor. |
LyGauge |
getTemplate()
Gets value of template. |
boolean |
isDefaultColor()
Checks whether the color 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 |
isDefaultProgressColor()
Checks whether the progressColor attribute is valuated to the default value. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setController(java.lang.String controller)
Initializes attribute controller 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 |
setLabel(java.lang.String label)
Sets attribute label to the given value. |
void |
setNCols(int nCols)
Initializes attribute nCols to the given value. |
void |
setNMax(int nMax)
Initializes attribute nMax to the given value. |
void |
setNMin(int nMin)
Initializes attribute nMin to the given value. |
void |
setNRows(int nRows)
Initializes attribute nRows to the given value. |
void |
setNValue(int nValue)
Sets attribute nValue to the given value. |
void |
setProgressColor(java.lang.String progressColor)
Initializes attribute progressColor to the given value. |
void |
setTemplate(LyGauge 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, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, 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 LyGauge(java.lang.String id)
id
- Identifier of the progress bar.Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyGauge getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getController()
getController
in interface LyGetControllerInterface
public int getNMin()
public int getNMax()
public int getNValue()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getProgressColor()
public boolean isDefaultProgressColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public int getNCols()
public int getNRows()
public void setTemplate(LyGauge 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 setController(java.lang.String controller)
setController
in interface LySetControllerInterface
controller
- New value of controller.LySetControllerInterface.setController(java.lang.String)
public void setNMin(int nMin)
nMin
- New value of nMin.public void setNMax(int nMax)
nMax
- New value of nMax.public void setNValue(int nValue)
nValue
- New value of nValue.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 setProgressColor(java.lang.String progressColor)
progressColor
- New value of progressColor.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setNCols(int nCols)
nCols
- New value of nCols.public void setNRows(int nRows)
nRows
- New value of nRows.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 |