LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing
Class LySwingLayout

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.win.swing.LySwingObject
          extended by leon.view.win.swing.LySwingLayout
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalLayout, LyViewComponent, LyFreeInterface, LySwingComponent

public class LySwingLayout
extends LySwingObject
implements LyGraphicalLayout

This class implements the layout object (as described in the dtd) for swing viewer.

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

See Also:
LyLayout

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LySwingLayout(LyLayout layout)
          Class constructor of a Layout object for the Swing target.
 
Method Summary
 leon.view.win.swing.map.LyLayoutManager layoutFactory(LySwingMap map)
          Creates a factory manager to lay out the elements of this layout depending on the layout style.
 void setBorderSizes(java.lang.String borderSizes)
          (non-Javadoc).
 void setLabelStyles(java.lang.String labelStyles)
          (non-Javadoc).
 
Methods inherited from class leon.view.win.swing.LySwingObject
getBounds, getChildrenBounds, getComponent, getDefaultFrame
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, free, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, 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

LySwingLayout

public LySwingLayout(LyLayout layout)
Class constructor of a Layout object for the Swing target.

Parameters:
layout - a LAYOUT component defined for every type of view targets. The associated layout manager is initialized at null.
Method Detail

layoutFactory

public leon.view.win.swing.map.LyLayoutManager layoutFactory(LySwingMap map)
Creates a factory manager to lay out the elements of this layout depending on the layout style. The specified map is not used in this implementation.

Parameters:
map - a map object, not used in this implementation
Returns:
the layout manager to use for the current layout

setBorderSizes

public void setBorderSizes(java.lang.String borderSizes)
(non-Javadoc).

Specified by:
setBorderSizes in interface LyGraphicalLayout
Parameters:
borderSizes - New value of borderSizes.
See Also:
LyGraphicalLayout.setBorderSizes(java.lang.String)

setLabelStyles

public void setLabelStyles(java.lang.String labelStyles)
(non-Javadoc).

Specified by:
setLabelStyles in interface LyGraphicalLayout
Parameters:
labelStyles - New value of labelStyles.
See Also:
LyGraphicalLayout.setLabelStyles(java.lang.String)

(c) January 2013 - W4 S.A.

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