public class ProsodyGraphRenderer2
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 |
protected de.ims.icarus.util.strings.pattern.TextSource |
edgeTextPattern |
protected de.ims.icarus.util.strings.pattern.TextSource |
nodeTextPattern |
protected ProsodySentenceGraphPresenter |
presenter |
protected SentenceInfo |
sentenceInfo |
protected de.ims.icarus.ui.text.TextArea |
textArea |
Constructor and Description |
---|
ProsodyGraphRenderer2() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
drawCell(com.mxgraph.view.mxCellState state) |
protected de.ims.icarus.search_tools.annotation.BitmaskHighlighting |
getHighlighting() |
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) |
protected boolean |
isTrue(java.lang.String key) |
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() |
protected SentenceInfo |
sentenceInfo() |
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 DEFAULT_NODE_LABEL_PATTERN
public static final java.lang.String DEFAULT_EDGE_LABEL_PATTERN
protected ProsodySentenceGraphPresenter presenter
protected de.ims.icarus.ui.text.TextArea textArea
protected SentenceInfo sentenceInfo
protected de.ims.icarus.util.strings.pattern.TextSource nodeTextPattern
protected de.ims.icarus.util.strings.pattern.TextSource edgeTextPattern
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)
protected boolean isTrue(java.lang.String key)
protected de.ims.icarus.search_tools.annotation.BitmaskHighlighting getHighlighting()
protected SentenceInfo sentenceInfo()
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)