Class MultiEllipseShape
java.lang.Object
org.graffiti.plugins.views.defaults.AbstractArrowShape
org.graffiti.plugins.views.defaults.RectangularNodeShape
org.graffiti.plugins.views.defaults.CircularNodeShape
org.graffiti.plugins.views.defaults.EllipseNodeShape
de.ipk_gatersleben.ag_nw.graffiti.plugins.shapes.MultiEllipseShape
- All Implemented Interfaces:
Shape
,ArrowShape
,GraffitiShape
,GraphElementShape
,NodeShape
,ProvidesAdditonalDrawingShapes
public class MultiEllipseShape extends EllipseNodeShape implements ProvidesAdditonalDrawingShapes
-
Constructor Summary
Constructors Constructor Description MultiEllipseShape()
MultiEllipseShape(boolean multi)
-
Method Summary
Modifier and Type Method Description void
buildShape(NodeGraphicAttribute graphics)
This method sets all necessary properties using the values contained within theCollectionAttribute
(like size etc.).Collection<Shape>
getPostBorderShapes()
Collection<Shape>
getPreBorderShapes()
int
shapeHeightCorrection()
int
shapeWidthCorrection()
Methods inherited from class org.graffiti.plugins.views.defaults.EllipseNodeShape
getIntersection
Methods inherited from class org.graffiti.plugins.views.defaults.CircularNodeShape
contains, contains, getIntersectionsWithCircle, getIntersectionWithCircle, getPathIterator, getPathIterator
Methods inherited from class org.graffiti.plugins.views.defaults.RectangularNodeShape
contains, contains, getBounds, getBounds2D, getRealBounds2D, getXexcess, getYexcess, intersects, intersects, setCoordinateSystem
Methods inherited from class org.graffiti.plugins.views.defaults.AbstractArrowShape
addThickness, affix, getAnchor, updateSize
-
Constructor Details
-
MultiEllipseShape
public MultiEllipseShape() -
MultiEllipseShape
public MultiEllipseShape(boolean multi)
-
-
Method Details
-
getPostBorderShapes
- Specified by:
getPostBorderShapes
in interfaceProvidesAdditonalDrawingShapes
-
buildShape
Description copied from class:CircularNodeShape
This method sets all necessary properties using the values contained within theCollectionAttribute
(like size etc.).- Specified by:
buildShape
in interfaceNodeShape
- Overrides:
buildShape
in classCircularNodeShape
- Parameters:
graphics
- The attribute that contains all necessary information to construct an ellipse.
-
getPreBorderShapes
- Specified by:
getPreBorderShapes
in interfaceProvidesAdditonalDrawingShapes
-
shapeHeightCorrection
public int shapeHeightCorrection()- Specified by:
shapeHeightCorrection
in interfaceNodeShape
- Overrides:
shapeHeightCorrection
in classEllipseNodeShape
-
shapeWidthCorrection
public int shapeWidthCorrection()- Specified by:
shapeWidthCorrection
in interfaceNodeShape
- Overrides:
shapeWidthCorrection
in classEllipseNodeShape
-