Class ArrowShapeRegistry
java.lang.Object
org.pathvisio.libgpml.model.shape.ArrowShapeRegistry
class ArrowShapeRegistry
extends java.lang.Object
Defines and registers all arrowhead shapes.
Shapes are defined and registered in the static section of this class.
- Author:
- unknown, finterly
-
Field Summary
Fields Modifier and Type Field Description private static intARROWHEIGHTThese are all model coordinates:private static intARROWWIDTH(package private) static intCATALYSIS_DIAM(package private) static intCATALYSIS_GAP(package private) static intCATALYSIS_GAP_HEIGHTprivate static intLIGANDHEIGHTprivate static intLIGANDWIDTHprivate static intLRDIAMprivate static intRECEPHEIGHTprivate static intRECEPWIDTHprivate static intRRDIAMprivate static intTAILprivate static intTBAR_GAPprivate static intTBARHEIGHTprivate static intTBARWIDTH -
Constructor Summary
Constructors Constructor Description ArrowShapeRegistry() -
Method Summary
Modifier and Type Method Description private static java.awt.ShapegetArrowHead()Returns standard arrowhead shape.private static java.awt.ShapegetBinding()Returns binding arrowhead shape.private static java.awt.ShapegetCatalysis()Returns catalysis arrowhead shape.private static java.awt.ShapegetLigand()private static java.awt.ShapegetLRound()private static java.awt.ShapegetReceptor()private static java.awt.ShapegetReceptorSquare()private static java.awt.ShapegetRRound()private static java.awt.ShapegetTBar()Returns inhibition (Tbar) arrowhead shape.private static java.awt.ShapegetTranscriptionTranslation()Returns transcription-translation arrowhead shape.(package private) static voidregisterShapes()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ARROWHEIGHT
private static final int ARROWHEIGHTThese are all model coordinates:- See Also:
- Constant Field Values
-
ARROWWIDTH
private static final int ARROWWIDTH- See Also:
- Constant Field Values
-
TBARHEIGHT
private static final int TBARHEIGHT- See Also:
- Constant Field Values
-
TBARWIDTH
private static final int TBARWIDTH- See Also:
- Constant Field Values
-
TBAR_GAP
private static final int TBAR_GAP- See Also:
- Constant Field Values
-
LRDIAM
private static final int LRDIAM- See Also:
- Constant Field Values
-
RRDIAM
private static final int RRDIAM- See Also:
- Constant Field Values
-
LIGANDWIDTH
private static final int LIGANDWIDTH- See Also:
- Constant Field Values
-
LIGANDHEIGHT
private static final int LIGANDHEIGHT- See Also:
- Constant Field Values
-
RECEPWIDTH
private static final int RECEPWIDTH- See Also:
- Constant Field Values
-
RECEPHEIGHT
private static final int RECEPHEIGHT- See Also:
- Constant Field Values
-
CATALYSIS_DIAM
static final int CATALYSIS_DIAM- See Also:
- Constant Field Values
-
CATALYSIS_GAP
static final int CATALYSIS_GAP- See Also:
- Constant Field Values
-
CATALYSIS_GAP_HEIGHT
static final int CATALYSIS_GAP_HEIGHT- See Also:
- Constant Field Values
-
TAIL
private static final int TAIL- See Also:
- Constant Field Values
-
-
Constructor Details
-
ArrowShapeRegistry
ArrowShapeRegistry()
-
-
Method Details
-
registerShapes
static void registerShapes() -
getArrowHead
private static java.awt.Shape getArrowHead()Returns standard arrowhead shape.- Returns:
- the arrowhead shape.
-
getCatalysis
private static java.awt.Shape getCatalysis()Returns catalysis arrowhead shape.- Returns:
- the catalysis arrowhead shape.
-
getBinding
private static java.awt.Shape getBinding()Returns binding arrowhead shape.- Returns:
- the binding arrowhead shape.
-
getTranscriptionTranslation
private static java.awt.Shape getTranscriptionTranslation()Returns transcription-translation arrowhead shape.- Returns:
- the transcription-translation arrowhead shape.
-
getTBar
private static java.awt.Shape getTBar()Returns inhibition (Tbar) arrowhead shape.- Returns:
- the inhibition (Tbar) arrowhead shape.
-
getLRound
private static java.awt.Shape getLRound()- Returns:
-
getRRound
private static java.awt.Shape getRRound()- Returns:
-
getReceptorSquare
private static java.awt.Shape getReceptorSquare()- Returns:
-
getReceptor
private static java.awt.Shape getReceptor()- Returns:
-
getLigand
private static java.awt.Shape getLigand()- Returns:
-