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

  • 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: