|
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.LyPanel
leon.view.LyNotice
public class LyNotice
The LyNotice class is a generated Java implementation that corresponds to the element NOTICE of the descriptive grammar of the views (views.dtd). <NOTICE> : Information Panel An information panel allows displaying an insert having an informative purpose. It is possible to assign an icon, a label and a progress bar to an information panel.
See also tag NOTICE of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyNotice.Style
Possible values for attribute 'style'. |
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 | |
---|---|
LyNotice(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. |
LyConstraint |
getConstraint()
Get sub-component Constraint. |
java.lang.String |
getController()
Gets value of controller. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
LyGauge |
getGauge()
Get sub-component Gauge. |
LyIcon |
getIcon()
Get sub-component Icon. |
java.lang.String |
getId()
Gets value of id. |
LyLabel |
getLabel()
Get sub-component Label. |
int |
getNCols()
Gets value of nCols. |
int |
getNRows()
Gets value of nRows. |
LyNotice.Style |
getStyle()
Gets value of style. |
static LyNotice.Style |
getStyle(java.lang.String token)
Utility method to get style value from a string. |
LyNotice |
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. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setConstraint(LyConstraint constraint)
Sets sub-component constraint. |
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 |
setGauge(LyGauge gauge)
Sets sub-component gauge. |
void |
setIcon(LyIcon icon)
Sets sub-component icon. |
void |
setLabel(LyLabel label)
Sets sub-component label. |
void |
setNCols(int nCols)
Initializes attribute nCols to the given value. |
void |
setNRows(int nRows)
Initializes attribute nRows to the given value. |
void |
setStyle(LyNotice.Style style)
Initializes attribute style to the given value. |
void |
setTemplate(LyNotice 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.LyPanel |
---|
generatePdf, getLastModified, isIdle, isScrollable, print, setIdle, setLastModified, setPopupMenu, setWaiting |
Methods inherited from class leon.view.LyFieldItem |
---|
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, 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 LyNotice(java.lang.String id)
id
- Identifier of the information panel.Method Detail |
---|
public static final LyNotice.Style getStyle(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 LyNotice getTemplate()
public java.lang.String getController()
getController
in interface LyGetControllerInterface
public int getNCols()
public int getNRows()
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 LyNotice.Style getStyle()
public LyIcon getIcon()
public LyLabel getLabel()
public LyGauge getGauge()
public LyConstraint getConstraint()
getConstraint
in interface LyGetConstraintInterface
public void setTemplate(LyNotice template)
template
- New value of template.public void setController(java.lang.String controller)
setController
in interface LySetControllerInterface
controller
- New value of controller.LySetControllerInterface.setController(java.lang.String)
public void setNCols(int nCols)
nCols
- New value of nCols.public void setNRows(int nRows)
nRows
- New value of nRows.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 setStyle(LyNotice.Style style)
style
- New value of style.
java.lang.IllegalArgumentException
- if style parameter is null.public void setIcon(LyIcon icon)
icon
- New value of iconpublic void setLabel(LyLabel label)
label
- New value of labelpublic void setGauge(LyGauge gauge)
gauge
- New value of gaugepublic void setConstraint(LyConstraint constraint)
constraint
- New value of constraintpublic 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 |