LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.area
Class LyJQArea

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.area.LyJQArea
All Implemented Interfaces:
LyGraphicalArea, LyGraphicalComponent, LyGraphicalContainer, LyGraphicalFieldItem, LyGraphicalPanel, LyViewComponent, LyFreeInterface, LySetBorderPanelInterface, LySetVisibleInterface, LyWebComponent

public class LyJQArea
extends LyJQContainer
implements LyGraphicalArea, LySetVisibleInterface, LySetBorderPanelInterface

Type : leon.view.web.web2.frame.LyWeb2Area


Field Summary
static java.lang.String LAYOUT_INFO_SEP
           
 
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.LyGraphicalArea
__VERSION
 
Fields inherited from interface leon.view.setinterface.LySetVisibleInterface
__VERSION
 
Fields inherited from interface leon.view.setinterface.LySetBorderPanelInterface
__VERSION
 
Constructor Summary
LyJQArea(LyArea area)
          Constructor
 
Method Summary
 void addPanel(LyPanel panel, int pos)
          Inserts a sub-component panels at given position.
 void computePanelsPosition()
          getNorthPanel
 LyToolBar getBottomLeftToolbar()
           
 LyToolBar getBottomRightToolbar()
           
 LyPanel getCenterPanel()
          getCenterPanel
 int getColumnNumber()
          getColumnNumber
 LyPanel getEastBorderPanel()
           
 LyPanel getEastPanel()
          getEastPanel
 LyPanel getNorthBorderPanel()
           
 LyPanel getNorthPanel()
          getNorthPanel
 LyPanel getPanel(java.lang.String layoutInfo)
          Get panel by layoutInfo if layoutInfo=null return the last panel used in the CARD layout
 java.util.List<LyPanel> getPanels()
          get area panels
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 LyPanel getSouthBorderPanel()
           
 LyPanel getSouthPanel()
          getSouthPanel
 LyJQTitleBar getTitleBar()
          Getting LyWeb2TitleBar
 LyPanel getWestBorderPanel()
           
 LyPanel getWestPanel()
          getWestPanel
 boolean hasSpecificBackgroundImage()
           
 void removePanel(LyPanel panel)
          Removes a sub-component panels.
 void setBorderPanel(LyPanel panel, short position)
          Set a border panel at the given position.
 void setLayoutInfo(java.lang.String layoutInfo)
          Updates attribute layoutInfo to the given value.
 void setOpen(boolean open)
          Updates attribute open to the given value.
 void setRedirect(java.lang.String redirect)
          Updates attribute redirect to the given value.
 void setRefresh(int refresh)
          Updates attribute refresh to the given value.
 void setVisible(boolean visible)
          Sets the visibility status of this component.
 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

LAYOUT_INFO_SEP

public static final java.lang.String LAYOUT_INFO_SEP
See Also:
Constant Field Values
Constructor Detail

LyJQArea

public LyJQArea(LyArea area)
Constructor

Parameters:
area -
Method Detail

getPanels

public java.util.List<LyPanel> getPanels()
get area panels

Returns:
panels list

computePanelsPosition

public void computePanelsPosition()
getNorthPanel


getColumnNumber

public int getColumnNumber()
getColumnNumber


getNorthPanel

public LyPanel getNorthPanel()
getNorthPanel


getEastPanel

public LyPanel getEastPanel()
getEastPanel


getCenterPanel

public LyPanel getCenterPanel()
getCenterPanel


getWestPanel

public LyPanel getWestPanel()
getWestPanel


getSouthPanel

public LyPanel getSouthPanel()
getSouthPanel


getPanel

public LyPanel getPanel(java.lang.String layoutInfo)
Get panel by layoutInfo if layoutInfo=null return the last panel used in the CARD layout


getTitleBar

public LyJQTitleBar getTitleBar()
Getting LyWeb2TitleBar

Returns:
LyWeb2TitleBar

getNorthBorderPanel

public LyPanel getNorthBorderPanel()
Returns:
the northBorderPanel

getSouthBorderPanel

public LyPanel getSouthBorderPanel()
Returns:
the southBorderPanel

getEastBorderPanel

public LyPanel getEastBorderPanel()
Returns:
the eastBorderPanel

getWestBorderPanel

public LyPanel getWestBorderPanel()
Returns:
the westBorderPanel

getBottomLeftToolbar

public LyToolBar getBottomLeftToolbar()
Returns:
the bottomLeftToolbar

getBottomRightToolbar

public LyToolBar getBottomRightToolbar()
Returns:
the bottomRightToolbar

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

addPanel

public void addPanel(LyPanel panel,
                     int pos)
Description copied from interface: LyGraphicalArea
Inserts a sub-component panels at given position.

Specified by:
addPanel in interface LyGraphicalArea
Parameters:
panel - The panels to add to panels list.
pos - Position where the sub-component is inserted.

removePanel

public void removePanel(LyPanel panel)
Description copied from interface: LyGraphicalArea
Removes a sub-component panels.

Specified by:
removePanel in interface LyGraphicalArea
Parameters:
panel - The panels to remove to panels list.

setLayoutInfo

public void setLayoutInfo(java.lang.String layoutInfo)
Description copied from interface: LyGraphicalArea
Updates attribute layoutInfo to the given value.

Specified by:
setLayoutInfo in interface LyGraphicalArea
Parameters:
layoutInfo - New value of layoutInfo.

setOpen

public void setOpen(boolean open)
Description copied from interface: LyGraphicalArea
Updates attribute open to the given value.

Specified by:
setOpen in interface LyGraphicalArea
Parameters:
open - Boolean indicating if attribute open is set or unset.

setRedirect

public void setRedirect(java.lang.String redirect)
Description copied from interface: LyGraphicalArea
Updates attribute redirect to the given value.

Specified by:
setRedirect in interface LyGraphicalArea
Parameters:
redirect - New value of redirect.

setRefresh

public void setRefresh(int refresh)
Description copied from interface: LyGraphicalArea
Updates attribute refresh to the given value.

Specified by:
setRefresh in interface LyGraphicalArea
Parameters:
refresh - New value of refresh.

setBorderPanel

public void setBorderPanel(LyPanel panel,
                           short position)
Description copied from interface: LySetBorderPanelInterface
Set a border panel at the given position.

Specified by:
setBorderPanel in interface LySetBorderPanelInterface
Parameters:
panel - the border panel.
position - Either NORTH, SOUTH, EAST or WEST position.

hasSpecificBackgroundImage

public boolean hasSpecificBackgroundImage()

setVisible

public void setVisible(boolean visible)
Description copied from interface: LySetVisibleInterface
Sets the visibility status of this component.

Specified by:
setVisible in interface LySetVisibleInterface
Parameters:
visible - new visibility status, if true the component will be shown, if false it will be hiden

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