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 voidbuildShape(NodeGraphicAttribute graphics)Shapes itself according to the graphics attribute found in the CollectionAttributegraphicsCollection<Shape>getPostBorderShapes()Collection<Shape>getPreBorderShapes()intshapeHeightCorrection()intshapeWidthCorrection()Methods inherited from class org.graffiti.plugins.views.defaults.PolygonalNodeShape
contains, contains, getBounds, getBounds2D, getIgnorePolygon, getIntersection, getPathIterator, getPathIterator, intersects, intersectsMethods inherited from class org.graffiti.plugins.views.defaults.RectangularNodeShape
contains, contains, getRealBounds2D, getXexcess, getYexcess, setCoordinateSystemMethods 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:NodeShapeShapes itself according to the graphics attribute found in the CollectionAttributegraphics- Specified by:
buildShapein interfaceNodeShape- Overrides:
buildShapein classRelativePolyShape- Parameters:
graphics- theCollectionAttributeaccording to which this shape is constructed.- See Also:
NodeShape.buildShape(NodeGraphicAttribute)
-
getPreBorderShapes
- Specified by:
getPreBorderShapesin interfaceProvidesAdditonalDrawingShapes
-
getPostBorderShapes
- Specified by:
getPostBorderShapesin interfaceProvidesAdditonalDrawingShapes
-
shapeHeightCorrection
public int shapeHeightCorrection()- Specified by:
shapeHeightCorrectionin interfaceNodeShape- Overrides:
shapeHeightCorrectionin classPolygonalNodeShape
-
shapeWidthCorrection
public int shapeWidthCorrection()- Specified by:
shapeWidthCorrectionin interfaceNodeShape- Overrides:
shapeWidthCorrectionin classPolygonalNodeShape
-