LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.splitter
Class LyJQSplitter

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.LyJQContainer
                  extended by leon.view.web.jquery.component.splitter.LyJQSplitter
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalContainer, LyGraphicalFieldItem, LyGraphicalPanel, LyGraphicalSplitter, LyViewComponent, LyFreeInterface, LyWebComponent

public class LyJQSplitter
extends LyJQContainer
implements LyGraphicalSplitter

Type : leon.view.web.web2.splitter.LyWeb2Splitter The peer component of LySplitter for the web2 viewer.


Field Summary
static java.lang.String __VERSION
           
static int MAXIMUM_COMPONENT_HEIGHT
          Maximum height of the components displayed in a splitter.
 
Fields inherited from class leon.view.web.LyWebObject
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Constructor Summary
LyJQSplitter(LySplitter splitter)
           
 
Method Summary
 java.lang.String getFirstSize()
          get second panel size
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 java.lang.String getSecondSize()
          get first panel size
 java.util.List<LyPanel> getSplitterPanes()
          getSplitterPanes
 void setActivePart(LySplitter.ActivePart activePart)
          Updates attribute activePart to the given value.
 void setSelected(boolean status)
           
 void setSizes(java.lang.String sizes)
          Updates attribute sizes 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
 

Field Detail

__VERSION

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

MAXIMUM_COMPONENT_HEIGHT

public static int MAXIMUM_COMPONENT_HEIGHT
Maximum height of the components displayed in a splitter.

Constructor Detail

LyJQSplitter

public LyJQSplitter(LySplitter splitter)
Method Detail

getSplitterPanes

public java.util.List<LyPanel> getSplitterPanes()
getSplitterPanes


setSizes

public void setSizes(java.lang.String sizes)
Description copied from interface: LyGraphicalSplitter
Updates attribute sizes to the given value.

Specified by:
setSizes in interface LyGraphicalSplitter
Parameters:
sizes - New value of sizes.

getSecondSize

public java.lang.String getSecondSize()
get first panel size

Parameters:
splitter -
Returns:
size

getFirstSize

public java.lang.String getFirstSize()
get second panel size

Parameters:
splitter -
Returns:
size

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

setSelected

public void setSelected(boolean status)

setActivePart

public void setActivePart(LySplitter.ActivePart activePart)
Description copied from interface: LyGraphicalSplitter
Updates attribute activePart to the given value.

Specified by:
setActivePart in interface LyGraphicalSplitter
Parameters:
activePart - New value of activePart.

(c) January 2013 - W4 S.A.

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