LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.struts
Class LyStrutsLayout

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.struts.LyStrutsLayout
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalLayout, LyViewComponent, LyFreeInterface, LyWebComponent

public class LyStrutsLayout
extends LyWebObject
implements LyGraphicalLayout

This class implements the Layout object (as described in the dtd) for web viewer.

LAYOUT: Layout Manager
A layout manager allows to place nodes of a map according to a predefined layout. In most cases, the coordinates of nodes are not used.

See Also:
LyLayout

Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.view.web.LyWebObject
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Constructor Summary
LyStrutsLayout(LyLayout layout)
          Class constructor of a Layout object for the struts target.
 
Method Summary
 leon.view.web.struts.map.LyStrutsLayoutManager layoutFactory()
          Builds the appropriate layout manager switch the layout style.
 leon.view.web.struts.map.LyStrutsLayoutManager layoutFactory(LyStrutsMap map)
          Deprecated. replaced by layoutFactory() because the parameter map is not used.
 void setBorderSizes(java.lang.String borderSizes)
          Updates attribute borderSizes to the given value.
 void setLabelStyles(java.lang.String labelStyles)
          Updates attribute labelStyles 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
 
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
Constructor Detail

LyStrutsLayout

public LyStrutsLayout(LyLayout layout)
Class constructor of a Layout object for the struts target.

Parameters:
layout - the generic Layout defined for every type of view targets.
Method Detail

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

layoutFactory

public leon.view.web.struts.map.LyStrutsLayoutManager layoutFactory(LyStrutsMap map)
Deprecated. replaced by layoutFactory() because the parameter map is not used.

Builds the appropriate layout manager switch the layout style.

Parameters:
map - parameter not used
Returns:
the appropriate layout manager

layoutFactory

public leon.view.web.struts.map.LyStrutsLayoutManager layoutFactory()
Builds the appropriate layout manager switch the layout style.

Returns:
the appropriate layout manager
Since:
leonardi V4.0, replace layoutFactory(LyStrutsMap) where the parameter was not used.

setBorderSizes

public void setBorderSizes(java.lang.String borderSizes)
Description copied from interface: LyGraphicalLayout
Updates attribute borderSizes to the given value.

Specified by:
setBorderSizes in interface LyGraphicalLayout
Parameters:
borderSizes - New value of borderSizes.

setLabelStyles

public void setLabelStyles(java.lang.String labelStyles)
Description copied from interface: LyGraphicalLayout
Updates attribute labelStyles to the given value.

Specified by:
setLabelStyles in interface LyGraphicalLayout
Parameters:
labelStyles - New value of labelStyles.

(c) January 2013 - W4 S.A.

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