leon.view.win.swing
Class LySwingMapContent
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.win.swing.LySwingObject
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
|
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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
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
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)
Website: W4 S.A., contact us: support@w4global.com