org.arakhne.neteditor.fig.subfigure
public interface SubFigure extends ViewComponent
The active state of a subfigure depends on the semantics of this subfigure. It is used by the parent figure to change the drawing of the subfigure from active to inactive. The way how a subfigure is activated depends on the subfigure itself.
| Modifier and Type | Method and Description |
|---|---|
float |
getAbsoluteX()
Replies the absolute x position.
|
float |
getAbsoluteY()
Replies the absolute y position.
|
Figure |
getParent()
Replies the containing figure.
|
addAssociatedFigureIntoView, addViewComponentChangeListener, addViewComponentPropertyChangeListener, addViewComponentRepaintListener, cleanUp, contains, contains, getAssociatedFigureInView, getAssociatedFiguresInView, getBackgroundColor, getBackgroundSelectionColor, getBounds, getClip, getFillColor, getForegroundSelectionColor, getHeight, getIcon, getLineColor, getLocation, getMaximalDimension, getMaximalHeight, getMaximalWidth, getMetamodelSpecification, getMinimalDimension, getMinimalHeight, getMinimalWidth, getName, getShadowColor, getSize, getUUID, getViewUUID, getWidth, getX, getY, intersects, paint, removeAssociatedFigureFromView, removeViewComponentChangeListener, removeViewComponentPropertyChangeListener, removeViewComponentRepaintListener, repaint, setBounds, setBounds, setHeight, setIcon, setLocation, setMaximalDimension, setMaximalDimension, setMaximalHeight, setMaximalWidth, setMinimalDimension, setMinimalDimension, setMinimalHeight, setMinimalWidth, setName, setSize, setUUID, setViewComponentContainer, setViewUUID, setWidth, translatecompareTogetProperties, setPropertiesFigure getParent()
float getAbsoluteX()
absX = parentNode.x + this.x
float getAbsoluteY()
absY = parentNode.y + this.y
Copyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor