Class AbstractTextMarkerShape
- java.lang.Object
-
- com.mxgraph.shape.mxBasicShape
-
- com.mxgraph.shape.mxActorShape
-
- jadex.gpmn.editor.gui.stylesheets.AbstractTextMarkerShape
-
- All Implemented Interfaces:
com.mxgraph.shape.mxIShape
- Direct Known Subclasses:
GoalMarkerShape
,PlanMarkerShape
public abstract class AbstractTextMarkerShape extends com.mxgraph.shape.mxActorShape
Abstract implementation for a text-based node marker.
-
-
Constructor Summary
Constructors Constructor Description AbstractTextMarkerShape()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.String
getText(com.mxgraph.view.mxCellState state)
Returns the text for the marker.void
paintShape(com.mxgraph.canvas.mxGraphics2DCanvas canvas, com.mxgraph.view.mxCellState state)
Paints the shape.
-
-
-
Method Detail
-
paintShape
public void paintShape(com.mxgraph.canvas.mxGraphics2DCanvas canvas, com.mxgraph.view.mxCellState state)
Paints the shape.- Specified by:
paintShape
in interfacecom.mxgraph.shape.mxIShape
- Overrides:
paintShape
in classcom.mxgraph.shape.mxBasicShape
-
getText
protected abstract java.lang.String getText(com.mxgraph.view.mxCellState state)
Returns the text for the marker.- Parameters:
state
- The cell state.- Returns:
- Text of the marker.
-
-