Class MultiComplexShape
java.lang.Object
org.graffiti.plugins.views.defaults.AbstractArrowShape
org.graffiti.plugins.views.defaults.RectangularNodeShape
org.graffiti.plugins.views.defaults.PolygonalNodeShape
de.ipk_gatersleben.ag_nw.graffiti.plugins.shapes.RelativePolyShape
de.ipk_gatersleben.ag_nw.graffiti.plugins.shapes.MultiComplexShape
- All Implemented Interfaces:
Shape
,ArrowShape
,GraffitiShape
,GraphElementShape
,NodeShape
,ProvidesAdditonalDrawingShapes
public class MultiComplexShape extends RelativePolyShape implements ProvidesAdditonalDrawingShapes
-
Constructor Summary
Constructors Constructor Description MultiComplexShape()
MultiComplexShape(boolean multi)
-
Method Summary
Modifier and Type Method Description void
buildShape(NodeGraphicAttribute graphics)
Shapes itself according to the graphics attribute found in the CollectionAttributegraphics
Collection<Shape>
getPostBorderShapes()
Collection<Shape>
getPreBorderShapes()
int
shapeHeightCorrection()
int
shapeWidthCorrection()
Methods inherited from class org.graffiti.plugins.views.defaults.PolygonalNodeShape
contains, contains, getBounds, getBounds2D, getIgnorePolygon, getIntersection, getPathIterator, getPathIterator, intersects, intersects
Methods inherited from class org.graffiti.plugins.views.defaults.RectangularNodeShape
contains, contains, getRealBounds2D, getXexcess, getYexcess, setCoordinateSystem
Methods inherited from class org.graffiti.plugins.views.defaults.AbstractArrowShape
addThickness, affix, getAnchor, updateSize
-
Constructor Details
-
MultiComplexShape
public MultiComplexShape() -
MultiComplexShape
public MultiComplexShape(boolean multi)
-
-
Method Details
-
buildShape
Description copied from interface:NodeShape
Shapes itself according to the graphics attribute found in the CollectionAttributegraphics
- Specified by:
buildShape
in interfaceNodeShape
- Overrides:
buildShape
in classRelativePolyShape
- Parameters:
graphics
- theCollectionAttribute
according to which this shape is constructed.- See Also:
NodeShape.buildShape(NodeGraphicAttribute)
-
getPreBorderShapes
- Specified by:
getPreBorderShapes
in interfaceProvidesAdditonalDrawingShapes
-
getPostBorderShapes
- Specified by:
getPostBorderShapes
in interfaceProvidesAdditonalDrawingShapes
-
shapeHeightCorrection
public int shapeHeightCorrection()- Specified by:
shapeHeightCorrection
in interfaceNodeShape
- Overrides:
shapeHeightCorrection
in classPolygonalNodeShape
-
shapeWidthCorrection
public int shapeWidthCorrection()- Specified by:
shapeWidthCorrection
in interfaceNodeShape
- Overrides:
shapeWidthCorrection
in classPolygonalNodeShape
-