|
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.LyTitleBarBase
public abstract class LyTitleBarBase
The LyTitleBarBase class is a generated Java implementation that corresponds to the element TITLEBAR of the descriptive grammar of the views (views.dtd). <TITLEBAR> : Title bar A title bar allows displaying a colored horizontal bar containing images and texts. The text comprises three independent parts and each one of them is optional: a left, a central and a right part. The color of the title bar is defined in the resources of the application.
LyComponent
,
See also tag TITLEBAR 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 | |
---|---|
LyTitleBarBase()
Default constructor. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getCenterLabel()
Gets value of centerLabel. |
java.lang.String |
getColor()
Gets value of color. |
LyConstraint |
getConstraint()
Get sub-component Constraint. |
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 |
getImage()
Gets value of image. |
java.lang.String |
getImageToolTip()
Gets value of imageToolTip. |
java.lang.String |
getLeftLabel()
Gets value of leftLabel. |
java.lang.String |
getRightImage()
Gets value of rightImage. |
java.lang.String |
getRightImageToolTip()
Gets value of rightImageToolTip. |
java.lang.String |
getRightLabel()
Gets value of rightLabel. |
LyTitleBar |
getTemplate()
Gets value of template. |
LyToolBar |
getToolBar()
Get sub-component ToolBar. |
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 |
isDefaultImage()
Checks whether the image attribute is valuated to the default value. |
boolean |
isDefaultRightImage()
Checks whether the rightImage attribute is valuated to the default value. |
boolean |
isImageSensitive()
Checks if value of attribute imageSensitive is set. |
boolean |
isRightLabelSensitive()
Checks if value of attribute rightLabelSensitive is set. |
void |
setCenterLabel(java.lang.String centerLabel)
Sets attribute centerLabel to the given value. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setConstraint(LyConstraint constraint)
Sets sub-component constraint. |
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 |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setImage(java.lang.String image)
Sets attribute image to the given value. |
void |
setImageSensitive(boolean imageSensitive)
Initializes attribute imageSensitive to the given value. |
void |
setImageToolTip(java.lang.String imageToolTip)
Sets attribute imageToolTip to the given value. |
void |
setLeftLabel(java.lang.String leftLabel)
Sets attribute leftLabel to the given value. |
void |
setRightImage(java.lang.String rightImage)
Sets attribute rightImage to the given value. |
void |
setRightImageToolTip(java.lang.String rightImageToolTip)
Sets attribute rightImageToolTip to the given value. |
void |
setRightLabel(java.lang.String rightLabel)
Sets attribute rightLabel to the given value. |
void |
setRightLabelSensitive(boolean rightLabelSensitive)
Initializes attribute rightLabelSensitive to the given value. |
void |
setTemplate(LyTitleBar template)
Initializes attribute template to the given value. |
void |
setToolBar(LyToolBar toolBar)
Sets sub-component toolBar. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
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 LyTitleBarBase()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyTitleBar getTemplate()
public java.lang.String getImage()
public boolean isDefaultImage()
public java.lang.String getImageToolTip()
public boolean isImageSensitive()
public java.lang.String getRightImage()
public boolean isDefaultRightImage()
public java.lang.String getRightImageToolTip()
public java.lang.String getLeftLabel()
public java.lang.String getCenterLabel()
public java.lang.String getRightLabel()
public boolean isRightLabelSensitive()
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 LyToolBar getToolBar()
public LyConstraint getConstraint()
getConstraint
in interface LyGetConstraintInterface
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyTitleBar template)
template
- New value of template.public void setImage(java.lang.String image)
setImage
in interface LySetImageInterface
image
- New value of image.public void setImageToolTip(java.lang.String imageToolTip)
imageToolTip
- New value of imageToolTip.public void setImageSensitive(boolean imageSensitive)
imageSensitive
- Boolean indicating if attribute imageSensitive is set or unset.public void setRightImage(java.lang.String rightImage)
rightImage
- New value of rightImage.public void setRightImageToolTip(java.lang.String rightImageToolTip)
rightImageToolTip
- New value of rightImageToolTip.public void setLeftLabel(java.lang.String leftLabel)
leftLabel
- New value of leftLabel.public void setCenterLabel(java.lang.String centerLabel)
centerLabel
- New value of centerLabel.public void setRightLabel(java.lang.String rightLabel)
rightLabel
- New value of rightLabel.public void setRightLabelSensitive(boolean rightLabelSensitive)
rightLabelSensitive
- Boolean indicating if attribute rightLabelSensitive is set or unset.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 setToolBar(LyToolBar toolBar)
toolBar
- New value of toolBarpublic 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 |