org.openbp.cockpit.modeler.figures.generic
Interface ChildFigure

All Superinterfaces:
java.lang.Cloneable, CH.ifa.draw.framework.Figure, java.io.Serializable, CH.ifa.draw.util.Storable
All Known Implementing Classes:
AbstractTagFigure, BasicFigure, FixedTitleFigure, HorizontalRotatingTagFigure, ParamFigure, SimpleTextTagFigure, SocketFigure, StraightTagFigure, TextElementFigure, XBarFigure, XCircleCrossFigure, XCircleFigure, XDiamondFigure, XEllipseFigure, XFigure, XPolygonFigure, XRectangleFigure, XRoundRectangleFigure, XTextFigure, XTriangleFigure

public interface ChildFigure
extends CH.ifa.draw.framework.Figure

A child figure is a dependent figure of its parent.

Author:
Stephan Moritz

Field Summary
 
Fields inherited from interface CH.ifa.draw.framework.Figure
POPUP_MENU
 
Method Summary
 CH.ifa.draw.framework.Figure getParent()
          Gets the parent figure of this figure.
 void setParent(CH.ifa.draw.framework.Figure parent)
          Sets the parent figure of this figure.
 
Methods inherited from interface CH.ifa.draw.framework.Figure
addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getZValue, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange
 
Methods inherited from interface CH.ifa.draw.util.Storable
read, write
 

Method Detail

getParent

CH.ifa.draw.framework.Figure getParent()
Gets the parent figure of this figure.

Returns:
The parent or null if the figure does not have a parent

setParent

void setParent(CH.ifa.draw.framework.Figure parent)
Sets the parent figure of this figure.

Parameters:
parent - The parent or null if the figure does not have a parent


Copyright © 2011. All Rights Reserved.