LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.titleBar
Class LyJQTitleBar

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.jquery.component.LyJQInternalView
              extended by leon.view.web.jquery.component.titleBar.LyJQTitleBar
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalTitleBar, LyViewComponent, LyFreeInterface, LySetImageInterface, LyWebComponent

public class LyJQTitleBar
extends LyJQInternalView
implements LyGraphicalTitleBar

Type : leon.view.web.web2.titleBar.LyWeb2TitleBar The peer component of LyTitleBar for the web2 viewer.


Field Summary
 
Fields inherited from class leon.view.web.LyWebObject
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from interface leon.view.graphic.LyGraphicalTitleBar
__VERSION
 
Constructor Summary
LyJQTitleBar(LyTitleBar titleBar)
          Contructor
 
Method Summary
 void formatLabel(java.lang.String label)
          Format given label
 java.lang.String getBaseUrl()
          Get the application context url
 int getLength(java.lang.String label)
           
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 boolean isDisplayCloseIcon(LyTitleBar titleBar)
          Check if close icon has to be displayed
 void setCenterLabel(java.lang.String centerLabel)
          Updates attribute centerLabel to the given value.
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void setImageToolTip(java.lang.String imageToolTip)
          Updates attribute imageToolTip to the given value.
 void setLeftLabel(java.lang.String leftLabel)
          Updates attribute leftLabel to the given value.
 void setRightImage(java.lang.String rightImage)
          Updates attribute rightImage to the given value.
 void setRightImageToolTip(java.lang.String rightImageToolTip)
          Updates attribute rightImageToolTip to the given value.
 void setRightLabel(java.lang.String rightLabel)
          Updates attribute rightLabel to the given value.
 void writeHtml(LyWebPageWriter pw)
          Write HTML description corresponding to this component.
 
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty
 
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
 

Constructor Detail

LyJQTitleBar

public LyJQTitleBar(LyTitleBar titleBar)
Contructor

Parameters:
titleBar -
Method Detail

isDisplayCloseIcon

public boolean isDisplayCloseIcon(LyTitleBar titleBar)
Check if close icon has to be displayed

Returns:

formatLabel

public void formatLabel(java.lang.String label)
Format given label

Parameters:
label -

getBaseUrl

public java.lang.String getBaseUrl()
Get the application context url

Returns:

getLength

public int getLength(java.lang.String label)

setCenterLabel

public void setCenterLabel(java.lang.String centerLabel)
Description copied from interface: LyGraphicalTitleBar
Updates attribute centerLabel to the given value.

Specified by:
setCenterLabel in interface LyGraphicalTitleBar
Parameters:
centerLabel - New value of centerLabel.

setImage

public void setImage(java.lang.String image)
Description copied from interface: LyGraphicalTitleBar
Updates attribute image to the given value.

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

setImageToolTip

public void setImageToolTip(java.lang.String imageToolTip)
Description copied from interface: LyGraphicalTitleBar
Updates attribute imageToolTip to the given value.

Specified by:
setImageToolTip in interface LyGraphicalTitleBar
Parameters:
imageToolTip - New value of imageToolTip.

setLeftLabel

public void setLeftLabel(java.lang.String leftLabel)
Description copied from interface: LyGraphicalTitleBar
Updates attribute leftLabel to the given value.

Specified by:
setLeftLabel in interface LyGraphicalTitleBar
Parameters:
leftLabel - New value of leftLabel.

setRightImage

public void setRightImage(java.lang.String rightImage)
Description copied from interface: LyGraphicalTitleBar
Updates attribute rightImage to the given value.

Specified by:
setRightImage in interface LyGraphicalTitleBar
Parameters:
rightImage - New value of rightImage.

setRightImageToolTip

public void setRightImageToolTip(java.lang.String rightImageToolTip)
Description copied from interface: LyGraphicalTitleBar
Updates attribute rightImageToolTip to the given value.

Specified by:
setRightImageToolTip in interface LyGraphicalTitleBar
Parameters:
rightImageToolTip - New value of rightImageToolTip.

setRightLabel

public void setRightLabel(java.lang.String rightLabel)
Description copied from interface: LyGraphicalTitleBar
Updates attribute rightLabel to the given value.

Specified by:
setRightLabel in interface LyGraphicalTitleBar
Parameters:
rightLabel - New value of rightLabel.

writeHtml

public void writeHtml(LyWebPageWriter pw)
Description copied from interface: LyWebComponent
Write HTML description corresponding to this component.

Specified by:
writeHtml in interface LyWebComponent
Parameters:
pw - the page writer

getReloadScript

public java.lang.String getReloadScript()
Description copied from class: LyJQInternalView
this method is to be implemented by internal views to get the reload script for the page element

Specified by:
getReloadScript in class LyJQInternalView
Returns:
reload component script

(c) January 2013 - W4 S.A.

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