leon.view.web.jquery.component.tab
Class LyJQTab
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.tab.LyJQTab
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalTab, LyViewComponent, LyFreeInterface, LySetColorInterface, LySetEnabledInterface, LyWebComponent
public class LyJQTab
- extends LyJQInternalView
- implements LyGraphicalTab
Type : leon.view.web.web2.tab.LyWeb2Tab The peer component of LyTab for the web2 viewer.
Field Summary |
static java.lang.String |
__VERSION
|
Constructor Summary |
LyJQTab(LyTab tab)
Class constructor of a Tab object. |
Method Summary |
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
boolean |
requestFocus()
Indicates whether focus must be requested when tab is displayed. |
void |
setColor(java.lang.String color)
Updates attribute color to the given value. |
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyJQTab
public LyJQTab(LyTab tab)
- Class constructor of a Tab object.
- Parameters:
tab
- the generic Tab defined for every type of view targets
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
setEnabled
public void setEnabled(boolean enabled)
- Description copied from interface:
LyGraphicalTab
- Updates attribute enabled to the given value.
- Specified by:
setEnabled
in interface LyGraphicalTab
- Specified by:
setEnabled
in interface LySetEnabledInterface
- Parameters:
enabled
- Boolean indicating if attribute enabled is set or unset.
setColor
public void setColor(java.lang.String color)
- Description copied from interface:
LyGraphicalTab
- Updates attribute color to the given value.
- Specified by:
setColor
in interface LyGraphicalTab
- Specified by:
setColor
in interface LySetColorInterface
- Parameters:
color
- New value of color.
requestFocus
public boolean requestFocus()
- Indicates whether focus must be requested when tab is displayed.
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
Website: W4 S.A., contact us: support@w4global.com