|
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.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsTitleBar
public class LyStrutsTitleBar
This class implements the TitleBar object (as described in the dtd) for web viewer.
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.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static int |
DECO_LABEL_PARAMETER
Constant used to generate CSS class name for label. |
static int |
DECO_TITLEBAR_PARAMETER
Constant used to generate CSS class name for titlebar. |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsTitleBar(LyTitleBar titleBar)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getCenterLabelHtml()
Gets the HTML tag corresponding to the center label. |
java.lang.String |
getImageHtml()
Gets the HTML tag corresponding to the image. |
java.lang.String |
getLeftLabelHtml()
Gets the HTML tag corresponding to the left label. |
java.lang.String |
getRightLabelHtml()
Gets the HTML tag corresponding to the right label. |
void |
initialize()
Initialization method. |
void |
setCenterLabel(java.lang.String centerLabel)
(non-Javadoc). |
void |
setContent()
Sets the image and right image of the title bar. |
void |
setImage(java.lang.String image)
(non-Javadoc). |
void |
setImageToolTip(java.lang.String toolTip)
(non-Javadoc). |
void |
setLeftLabel(java.lang.String leftLabel)
(non-Javadoc). |
void |
setRightImage(java.lang.String image)
(non-Javadoc). |
void |
setRightImageToolTip(java.lang.String toolTip)
(non-Javadoc). |
void |
setRightLabel(java.lang.String rightLabel)
(non-Javadoc). |
void |
writeCloseIcon(LyWebPageWriter pw)
Writes the HTML description of the icon used to close the tool bar view. |
void |
writeHtml(LyWebPageWriter pw)
(non-Javadoc). |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int DECO_TITLEBAR_PARAMETER
public static int DECO_LABEL_PARAMETER
Constructor Detail |
---|
public LyStrutsTitleBar(LyTitleBar titleBar)
titleBar
- the title bar componentMethod Detail |
---|
public void writeCloseIcon(LyWebPageWriter pw)
pw
- the page writerpublic void initialize()
null
.
public void setContent()
public void writeHtml(LyWebPageWriter pw)
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public void setRightImage(java.lang.String image)
setRightImage
in interface LyGraphicalTitleBar
image
- New value of rightImage.LyGraphicalTitleBar.setRightImage(java.lang.String)
public java.lang.String getLeftLabelHtml()
public java.lang.String getCenterLabelHtml()
public java.lang.String getRightLabelHtml()
public java.lang.String getImageHtml()
public void setLeftLabel(java.lang.String leftLabel)
setLeftLabel
in interface LyGraphicalTitleBar
leftLabel
- New value of leftLabel.LyGraphicalTitleBar.setLeftLabel(java.lang.String)
public void setCenterLabel(java.lang.String centerLabel)
setCenterLabel
in interface LyGraphicalTitleBar
centerLabel
- New value of centerLabel.LyGraphicalTitleBar.setCenterLabel(java.lang.String)
public void setRightLabel(java.lang.String rightLabel)
setRightLabel
in interface LyGraphicalTitleBar
rightLabel
- New value of rightLabel.LyGraphicalTitleBar.setRightLabel(java.lang.String)
public void setRightImageToolTip(java.lang.String toolTip)
setRightImageToolTip
in interface LyGraphicalTitleBar
toolTip
- New value of rightImageToolTip.LyGraphicalTitleBar.setRightImageToolTip(java.lang.String)
public void setImageToolTip(java.lang.String toolTip)
setImageToolTip
in interface LyGraphicalTitleBar
toolTip
- New value of imageToolTip.LyGraphicalTitleBar.setImageToolTip(java.lang.String)
public void setImage(java.lang.String image)
setImage
in interface LyGraphicalTitleBar
setImage
in interface LySetImageInterface
image
- New value of image.LySetImageInterface.setImage(java.lang.String)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |