LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyTitleBarBase

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyTitleBarBase
All Implemented Interfaces:
LyGetConstraintInterface, LyGetIdInterface, LySetImageInterface
Direct Known Subclasses:
LyTitleBar

public abstract class LyTitleBarBase
extends LyComponent
implements LyGetIdInterface, LySetImageInterface, LyGetConstraintInterface

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.

See Also:
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 leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, free, freeze, getBounds, getChild, getChildCount, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getIdCode, getInternalId, getInternalView, getInternalView, getLock, getModel, getParent, getParentArea, getParentForm, getParentFormFieldId, getParentSplitter, getParentSplitter, getParentTab, getParentTab, getParentTabs, getParentTabs, getParentView, getRootController, getSetVisibleParent, getTag, getViewManager, isFreed, isFreeing, registerChildrenBounds, removeComponent, reset, resetChildrenCache, resetEventFunctions, setDatas, setInternalView, setVisible, useEventDefaultFunction, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyTitleBarBase

public LyTitleBarBase()
Default constructor.

Method Detail

cloneComponent

public LyComponent cloneComponent()
Method for cloning a component.

Specified by:
cloneComponent in class LyComponent

getId

public java.lang.String getId()
Gets value of id.

Specified by:
getId in interface LyGetIdInterface
Overrides:
getId in class LyComponent
Returns:
value of id.

getTemplate

public LyTitleBar getTemplate()
Gets value of template.

Returns:
value of template.

getImage

public java.lang.String getImage()
Gets value of image.

Returns:
value of image.

isDefaultImage

public boolean isDefaultImage()
Checks whether the image attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getImageToolTip

public java.lang.String getImageToolTip()
Gets value of imageToolTip.

Returns:
value of imageToolTip.

isImageSensitive

public boolean isImageSensitive()
Checks if value of attribute imageSensitive is set.

Returns:
true if imageSensitive is set, false otherwise.

getRightImage

public java.lang.String getRightImage()
Gets value of rightImage.

Returns:
value of rightImage.

isDefaultRightImage

public boolean isDefaultRightImage()
Checks whether the rightImage attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getRightImageToolTip

public java.lang.String getRightImageToolTip()
Gets value of rightImageToolTip.

Returns:
value of rightImageToolTip.

getLeftLabel

public java.lang.String getLeftLabel()
Gets value of leftLabel.

Returns:
value of leftLabel.

getCenterLabel

public java.lang.String getCenterLabel()
Gets value of centerLabel.

Returns:
value of centerLabel.

getRightLabel

public java.lang.String getRightLabel()
Gets value of rightLabel.

Returns:
value of rightLabel.

isRightLabelSensitive

public boolean isRightLabelSensitive()
Checks if value of attribute rightLabelSensitive is set.

Returns:
true if rightLabelSensitive is set, false otherwise.

getFont

public java.lang.String getFont()
Gets value of font.

Returns:
value of font.

isDefaultFont

public boolean isDefaultFont()
Checks whether the font attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getColor

public java.lang.String getColor()
Gets value of color.

Returns:
value of color.

isDefaultColor

public boolean isDefaultColor()
Checks whether the color attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getFontColor

public java.lang.String getFontColor()
Gets value of fontColor.

Returns:
value of fontColor.

isDefaultFontColor

public boolean isDefaultFontColor()
Checks whether the fontColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getToolBar

public LyToolBar getToolBar()
Get sub-component ToolBar.

Returns:
sub-component ToolBar.

getConstraint

public LyConstraint getConstraint()
Get sub-component Constraint.

Specified by:
getConstraint in interface LyGetConstraintInterface
Returns:
sub-component Constraint.

setId

public void setId(java.lang.String id)
Initializes attribute id to the given value.

Parameters:
id - New value of id.

setTemplate

public void setTemplate(LyTitleBar template)
Initializes attribute template to the given value.

Parameters:
template - New value of template.

setImage

public void setImage(java.lang.String image)
Sets attribute image to the given value.

Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setImageToolTip

public void setImageToolTip(java.lang.String imageToolTip)
Sets attribute imageToolTip to the given value.

Parameters:
imageToolTip - New value of imageToolTip.

setImageSensitive

public void setImageSensitive(boolean imageSensitive)
Initializes attribute imageSensitive to the given value.

Parameters:
imageSensitive - Boolean indicating if attribute imageSensitive is set or unset.

setRightImage

public void setRightImage(java.lang.String rightImage)
Sets attribute rightImage to the given value.

Parameters:
rightImage - New value of rightImage.

setRightImageToolTip

public void setRightImageToolTip(java.lang.String rightImageToolTip)
Sets attribute rightImageToolTip to the given value.

Parameters:
rightImageToolTip - New value of rightImageToolTip.

setLeftLabel

public void setLeftLabel(java.lang.String leftLabel)
Sets attribute leftLabel to the given value.

Parameters:
leftLabel - New value of leftLabel.

setCenterLabel

public void setCenterLabel(java.lang.String centerLabel)
Sets attribute centerLabel to the given value.

Parameters:
centerLabel - New value of centerLabel.

setRightLabel

public void setRightLabel(java.lang.String rightLabel)
Sets attribute rightLabel to the given value.

Parameters:
rightLabel - New value of rightLabel.

setRightLabelSensitive

public void setRightLabelSensitive(boolean rightLabelSensitive)
Initializes attribute rightLabelSensitive to the given value.

Parameters:
rightLabelSensitive - Boolean indicating if attribute rightLabelSensitive is set or unset.

setFont

public void setFont(java.lang.String font)
Initializes attribute font to the given value.

Parameters:
font - New value of font.

setColor

public void setColor(java.lang.String color)
Initializes attribute color to the given value.

Parameters:
color - New value of color.

setFontColor

public void setFontColor(java.lang.String fontColor)
Initializes attribute fontColor to the given value.

Parameters:
fontColor - New value of fontColor.

setToolBar

public void setToolBar(LyToolBar toolBar)
Sets sub-component toolBar.

Parameters:
toolBar - New value of toolBar

setConstraint

public void setConstraint(LyConstraint constraint)
Sets sub-component constraint.

Parameters:
constraint - New value of constraint

writeXml

public void writeXml(java.io.PrintWriter pw,
                     boolean debug)
Method to rewrite XML corresponding to this component.

Specified by:
writeXml in class LyComponent
Parameters:
pw - the printWriter on which the XML is written.
debug - true if debug mode (full dump).

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com