LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing
Class LySwingMapContent

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

public class LySwingMapContent
extends LySwingObject
implements LyGraphicalMapContent

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

A map content allows to group together in a same group various elements that can be placed on a map (nodes, links, images, regions).

See Also:
LyMapContent

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LySwingMapContent(LyMapContent mapContent)
          Class constructor of a Map content object for the Swing target.
 
Method Summary
 void addComponent(LyComponent component, int pos)
          (non-Javadoc).
 void removeComponent(LyComponent component)
          (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

LySwingMapContent

public LySwingMapContent(LyMapContent mapContent)
Class constructor of a Map content object for the Swing target.

Parameters:
mapContent - a MAP_CONTENT component defined for every type of view targets
Method Detail

addComponent

public void addComponent(LyComponent component,
                         int pos)
(non-Javadoc).

Specified by:
addComponent in interface LyGraphicalMapContent
Parameters:
component - The components to add to components list.
pos - Position where the sub-component is inserted.
See Also:
LyGraphicalMapContent.addComponent(leon.view.LyComponent, int)

removeComponent

public void removeComponent(LyComponent component)
(non-Javadoc).

Specified by:
removeComponent in interface LyGraphicalMapContent
Parameters:
component - The components to remove to components list.
See Also:
LyGraphicalMapContent.removeComponent(leon.view.LyComponent)

(c) January 2013 - W4 S.A.

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