Class PlanMarkerShape

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

    public class PlanMarkerShape
    extends AbstractTextMarkerShape
    • Constructor Summary

      Constructors 
      Constructor Description
      PlanMarkerShape()  
    • 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
    • Constructor Detail

      • PlanMarkerShape

        public PlanMarkerShape()
    • 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.