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 int
ARROWHEIGHT
These are all model coordinates:private static int
ARROWWIDTH
(package private) static int
CATALYSIS_DIAM
(package private) static int
CATALYSIS_GAP
(package private) static int
CATALYSIS_GAP_HEIGHT
private static int
LIGANDHEIGHT
private static int
LIGANDWIDTH
private static int
LRDIAM
private static int
RECEPHEIGHT
private static int
RECEPWIDTH
private static int
RRDIAM
private static int
TAIL
private static int
TBAR_GAP
private static int
TBARHEIGHT
private static int
TBARWIDTH
-
Constructor Summary
Constructors Constructor Description ArrowShapeRegistry()
-
Method Summary
Modifier and Type Method Description private static java.awt.Shape
getArrowHead()
Returns standard arrowhead shape.private static java.awt.Shape
getBinding()
Returns binding arrowhead shape.private static java.awt.Shape
getCatalysis()
Returns catalysis arrowhead shape.private static java.awt.Shape
getLigand()
private static java.awt.Shape
getLRound()
private static java.awt.Shape
getReceptor()
private static java.awt.Shape
getReceptorSquare()
private static java.awt.Shape
getRRound()
private static java.awt.Shape
getTBar()
Returns inhibition (Tbar) arrowhead shape.private static java.awt.Shape
getTranscriptionTranslation()
Returns transcription-translation arrowhead shape.(package private) static void
registerShapes()
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:
-