Class MultiNucleicAcidFeatureShape
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.MultiNucleicAcidFeatureShape
- All Implemented Interfaces:
Shape
,ArrowShape
,GraffitiShape
,GraphElementShape
,NodeShape
,ProvidesAdditonalDrawingShapes
public class MultiNucleicAcidFeatureShape extends RelativePolyShape implements ProvidesAdditonalDrawingShapes
-
Constructor Summary
Constructors Constructor Description MultiNucleicAcidFeatureShape()
MultiNucleicAcidFeatureShape(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
-
MultiNucleicAcidFeatureShape
public MultiNucleicAcidFeatureShape() -
MultiNucleicAcidFeatureShape
public MultiNucleicAcidFeatureShape(boolean multi)
-
-
Method Details
-
getPostBorderShapes
- Specified by:
getPostBorderShapes
in interfaceProvidesAdditonalDrawingShapes
-
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
-
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
-