Class LineConnectorShape
java.lang.Object
org.graphstream.ui.swing.renderer.shape.Connector
org.graphstream.ui.swing.renderer.shape.swing.baseShapes.ConnectorShape
org.graphstream.ui.swing.renderer.shape.swing.baseShapes.LineConnectorShape
- All Implemented Interfaces:
Shape
- Direct Known Subclasses:
CubicCurveShape,FreePlaneEdgeShape,HorizontalSquareEdgeShape,LineShape,LSquareEdgeShape,PolylineEdgeShape
-
Field Summary
FieldsModifier and TypeFieldDescriptionWe will use it often, better store it.Fields inherited from class org.graphstream.ui.swing.renderer.shape.swing.baseShapes.ConnectorShape
decorableFields inherited from class org.graphstream.ui.swing.renderer.shape.Connector
isDirected, theEdge, theSize, theSourceSize, theTargetSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureForElement(Backend bck, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel, org.graphstream.ui.view.camera.DefaultCamera2D camera) Configure all the dynamic and per element settings.voidconfigureForGroup(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera) Configure as much as possible the graphics before painting several version of this shape at different positions.Methods inherited from class org.graphstream.ui.swing.renderer.shape.Connector
byPos1, byPos2, configureConnectorForElement, configureConnectorForGroup, endPoints, endPoints, endPoints, endPoints, fromPos, positionForLinesAndCurves, positionForLinesAndCurves, toPosMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graphstream.ui.swing.renderer.shape.Shape
make, makeShadow, render, renderShadow
-
Field Details
-
fillableLine
-
strokableLine
-
shadowableLine
-
skel
We will use it often, better store it.
-
-
Constructor Details
-
LineConnectorShape
public LineConnectorShape()
-
-
Method Details
-
configureForGroup
public void configureForGroup(Backend bck, org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera) Description copied from interface:ShapeConfigure as much as possible the graphics before painting several version of this shape at different positions.- Specified by:
configureForGroupin interfaceShape- Overrides:
configureForGroupin classConnectorShape- Parameters:
bck- The rendering back-end.style- The style for the group.camera- the view parameters.
-
configureForElement
public void configureForElement(Backend bck, org.graphstream.ui.graphicGraph.GraphicElement element, Skeleton skel, org.graphstream.ui.view.camera.DefaultCamera2D camera) Description copied from interface:ShapeConfigure all the dynamic and per element settings. Some configurations can only be done before painting the element, since they change for each element.- Specified by:
configureForElementin interfaceShape- Overrides:
configureForElementin classConnectorShape- Parameters:
bck- The rendering back-end.element- The specific element to render.skel- The element geometry and information.camera- the view parameters.
-