public class CoreferenceGraphRenderer2
extends de.ims.icarus.plugins.jgraph.layout.GraphRenderer
implements com.mxgraph.shape.mxITextShape
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_EDGE_LABEL_PATTERN |
static java.lang.String |
DEFAULT_NODE_LABEL_PATTERN |
static java.lang.String |
DEFAULT_VIRTUAL_NODE_LABEL_PATTERN |
static java.lang.String |
FORM_LABEL_PATTERN |
protected CoreferenceGraphPresenter |
presenter |
static java.lang.String |
ROOT_LABEL |
Constructor and Description |
---|
CoreferenceGraphRenderer2() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
drawCell(com.mxgraph.view.mxCellState state) |
com.mxgraph.util.mxRectangle |
getPreferredSizeForCell(de.ims.icarus.plugins.jgraph.layout.GraphOwner owner,
java.lang.Object cell) |
com.mxgraph.shape.mxITextShape |
getTextShape(java.util.Map<java.lang.String,java.lang.Object> style,
boolean html) |
void |
install(java.lang.Object target) |
void |
paintShape(com.mxgraph.canvas.mxGraphics2DCanvas canvas,
java.lang.String text,
com.mxgraph.view.mxCellState state,
java.util.Map<java.lang.String,java.lang.Object> style) |
protected void |
refreshCellStyle(com.mxgraph.view.mxCellState state) |
protected void |
reloadConfig() |
void |
uninstall(java.lang.Object target) |
convertValueToString, getToolTipForCell
contains, drawImageImpl, getImageObserver, getImageSize, hitSwimlaneContent, intersects, setImageObserver
createFillPaint, createStroke, createTemporaryGraphics, drawImage, drawImage, drawLabel, fillShape, fillShape, getGraphics, getRendererPane, getShape, paintPolyline, paintRectangle, putShape, putTextShape, setGraphics
public static final java.lang.String FORM_LABEL_PATTERN
public static final java.lang.String DEFAULT_NODE_LABEL_PATTERN
public static final java.lang.String DEFAULT_VIRTUAL_NODE_LABEL_PATTERN
public static final java.lang.String DEFAULT_EDGE_LABEL_PATTERN
public static final java.lang.String ROOT_LABEL
protected CoreferenceGraphPresenter presenter
protected void reloadConfig()
public void install(java.lang.Object target)
install
in interface de.ims.icarus.util.Installable
Installable.install(java.lang.Object)
public void uninstall(java.lang.Object target)
uninstall
in interface de.ims.icarus.util.Installable
Installable.uninstall(java.lang.Object)
public com.mxgraph.shape.mxITextShape getTextShape(java.util.Map<java.lang.String,java.lang.Object> style, boolean html)
getTextShape
in class com.mxgraph.canvas.mxGraphics2DCanvas
protected void refreshCellStyle(com.mxgraph.view.mxCellState state)
public java.lang.Object drawCell(com.mxgraph.view.mxCellState state)
drawCell
in interface com.mxgraph.canvas.mxICanvas
drawCell
in class com.mxgraph.canvas.mxGraphics2DCanvas
public com.mxgraph.util.mxRectangle getPreferredSizeForCell(de.ims.icarus.plugins.jgraph.layout.GraphOwner owner, java.lang.Object cell)
getPreferredSizeForCell
in class de.ims.icarus.plugins.jgraph.layout.GraphRenderer
GraphRenderer.getPreferredSizeForCell(de.ims.icarus.plugins.jgraph.layout.GraphOwner, java.lang.Object)
public void paintShape(com.mxgraph.canvas.mxGraphics2DCanvas canvas, java.lang.String text, com.mxgraph.view.mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)
paintShape
in interface com.mxgraph.shape.mxITextShape
mxITextShape.paintShape(com.mxgraph.canvas.mxGraphics2DCanvas, java.lang.String, com.mxgraph.view.mxCellState, java.util.Map)