public interface DecoratedFigure extends Figure
Figure
,
for example to draw a border around the decorated figure.
Decorator
Decorated figures can be adorned with another figure.
Component: DecoratedFigure
; Decorator: Figure
.
Strategy
RelativeDecoratorLocator
encapsulates a strategy for locating a
point on a decorator.
Component: DecoratedFigure
; Strategy: RelativeDecoratorLocator
.
CONNECTABLE_PROPERTY, REMOVABLE_PROPERTY, SELECTABLE_PROPERTY, TRANSFORMABLE_PROPERTY
Modifier and Type | Method and Description |
---|---|
Figure |
getDecorator()
Gets the decorator for this figure.
|
void |
setDecorator(Figure newValue)
Sets a decorator Figure, for example a visual adornment to this Figure.
|
addFigureListener, addNotify, addPropertyChangeListener, changed, clone, contains, createHandles, draw, findCompatibleConnector, findConnector, findFigureInside, get, getActions, getAttributes, getAttributesRestoreData, getBounds, getConnectors, getCursor, getDecomposition, getDrawingArea, getEndPoint, getLayer, getPreferredSize, getStartPoint, getTool, getToolTipText, getTransformRestoreData, handleDrop, handleMouseClick, includes, isConnectable, isRemovable, isSelectable, isTransformable, isVisible, remap, removeFigureListener, removeNotify, removePropertyChangeListener, requestRemove, restoreAttributesTo, restoreTransformTo, set, setBounds, transform, willChange
void setDecorator(Figure newValue)
Figure getDecorator()