public class Decorable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ConnectorSkeleton |
skel
We will use it often, better store it.
|
java.lang.String |
text
The string of text of the contents.
|
ShapeDecor |
theDecor
The text and icon.
|
Constructor and Description |
---|
Decorable() |
Modifier and Type | Method and Description |
---|---|
void |
configureDecorableForElement(Backend backend,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
org.graphstream.ui.graphicGraph.GraphicElement element,
Skeleton skel)
Setup the parts of the decor specific to each element.
|
void |
configureDecorableForGroup(org.graphstream.ui.graphicGraph.stylesheet.Style style,
org.graphstream.ui.view.camera.DefaultCamera2D camera)
Configure all the static parts needed to decor the shape.
|
void |
decorArea(Backend backend,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
IconAndText iconAndText,
org.graphstream.ui.graphicGraph.GraphicElement element,
Form shape)
Paint the decorations (text and icon).
|
void |
decorConnector(Backend backend,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
IconAndText iconAndText,
org.graphstream.ui.graphicGraph.GraphicElement element,
Form shape) |
public java.lang.String text
public ShapeDecor theDecor
public ConnectorSkeleton skel
public void decorArea(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera, IconAndText iconAndText, org.graphstream.ui.graphicGraph.GraphicElement element, Form shape)
public void decorConnector(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera, IconAndText iconAndText, org.graphstream.ui.graphicGraph.GraphicElement element, Form shape)
public void configureDecorableForGroup(org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera)