|
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.jquery.component.LyJQInternalView
leon.view.web.jquery.LyJQContainer
leon.view.web.jquery.component.tab.LyJQTabs
public class LyJQTabs
Type : leon.view.web.web2.tabs.LyWeb2Tabs The peer component of LyTabs 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.LyGraphicalTabs |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetTabInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQTabs(LyTabs tabs)
|
Method Summary | |
---|---|
void |
addTab(LyTab tab,
int pos)
reload the whole component if tab is added |
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
LyTab |
getSelectedTab()
get actually selected tab |
java.util.List<LyTab> |
getTabList()
|
void |
removeTab(LyTab tab)
reload the whole tabs component when a tab is removeds |
void |
setEnabled(java.lang.String tabId,
boolean enabled)
This method allows to enable or disable a specific tab. |
void |
setLabel(java.lang.String tabId,
java.lang.String newLabel)
This method allows to change the label of a specific tab. |
void |
setSelectedTab(java.lang.String selectedTab)
Updates attribute selectedTab to the given value. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.jquery.LyJQContainer |
---|
isArea, isSplitter, isTabs |
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 |
---|
public LyJQTabs(LyTabs tabs)
Method Detail |
---|
public java.util.List<LyTab> getTabList()
public LyTab getSelectedTab()
public void setEnabled(java.lang.String tabId, boolean enabled)
LySetTabInterface
setEnabled
in interface LySetTabInterface
enabled
- true if the tab is enabled, false otherwisepublic void setLabel(java.lang.String tabId, java.lang.String newLabel)
LySetTabInterface
setLabel
in interface LySetTabInterface
tabId
- the label or identifier of the tab to be changednewLabel
- the new label of the tab to be changedpublic void setSelectedTab(java.lang.String selectedTab)
LyGraphicalTabs
setSelectedTab
in interface LyGraphicalTabs
selectedTab
- New value of selectedTab.public void addTab(LyTab tab, int pos)
addTab
in interface LyGraphicalTabs
tab
- The tabs to add to tabs list.pos
- Position where the sub-component is inserted.public void removeTab(LyTab tab)
removeTab
in interface LyGraphicalTabs
tab
- The tabs to remove to tabs list.public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic java.lang.String getReloadScript()
LyJQInternalView
getReloadScript
in class LyJQInternalView
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |