Class GoalMarkerShape

  • All Implemented Interfaces:
    com.mxgraph.shape.mxIShape

    public class GoalMarkerShape
    extends AbstractTextMarkerShape
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.String,​java.lang.String> TYPE_TO_INDICATOR
      Goal type to indicator mapping.
    • Constructor Summary

      Constructors 
      Constructor Description
      GoalMarkerShape()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Shape createShape​(com.mxgraph.canvas.mxGraphics2DCanvas canvas, com.mxgraph.view.mxCellState state)
      Generates the shape.
      protected java.lang.String getText​(com.mxgraph.view.mxCellState state)
      Returns the text for the marker.
      • Methods inherited from class com.mxgraph.shape.mxBasicShape

        configureGraphics, getFillColor, getGradientBounds, getStrokeColor, hasGradient, hasShadow
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TYPE_TO_INDICATOR

        public static final java.util.Map<java.lang.String,​java.lang.String> TYPE_TO_INDICATOR
        Goal type to indicator mapping.
    • Constructor Detail

      • GoalMarkerShape

        public GoalMarkerShape()
    • Method Detail

      • createShape

        public java.awt.Shape createShape​(com.mxgraph.canvas.mxGraphics2DCanvas canvas,
                                          com.mxgraph.view.mxCellState state)
        Generates the shape.
        Overrides:
        createShape in class com.mxgraph.shape.mxActorShape
      • getText

        protected java.lang.String getText​(com.mxgraph.view.mxCellState state)
        Returns the text for the marker.
        Specified by:
        getText in class AbstractTextMarkerShape
        Parameters:
        state - The cell state.
        Returns:
        Text of the marker.