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 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
-
MultiNucleicAcidFeatureShape
public MultiNucleicAcidFeatureShape() -
MultiNucleicAcidFeatureShape
public MultiNucleicAcidFeatureShape(boolean multi)
-
-
Method Details
-
getPostBorderShapes
- Specified by:
getPostBorderShapesin interfaceProvidesAdditonalDrawingShapes
-
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
-
shapeHeightCorrection
public int shapeHeightCorrection()- Specified by:
shapeHeightCorrectionin interfaceNodeShape- Overrides:
shapeHeightCorrectionin classPolygonalNodeShape
-
shapeWidthCorrection
public int shapeWidthCorrection()- Specified by:
shapeWidthCorrectionin interfaceNodeShape- Overrides:
shapeWidthCorrectionin classPolygonalNodeShape
-