public class DependencyGraphRenderer
extends de.ims.icarus.plugins.jgraph.layout.GraphRenderer
implements com.mxgraph.shape.mxITextShape
Modifier and Type | Field and Description |
---|---|
protected static char |
DISTANCE_SYMBOL |
protected de.ims.icarus.plugins.jgraph.view.GraphPresenter |
presenter |
protected de.ims.icarus.ui.view.TextRenderer |
renderer |
protected java.lang.StringBuilder |
sb |
protected de.ims.icarus.util.HtmlUtils.HtmlTableBuilder |
tableBuilder |
Constructor and Description |
---|
DependencyGraphRenderer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convertValueToString(de.ims.icarus.plugins.jgraph.layout.GraphOwner owner,
java.lang.Object cell) |
java.lang.Object |
drawCell(com.mxgraph.view.mxCellState state) |
protected de.ims.icarus.search_tools.annotation.BitmaskHighlighting |
getHighlighting() |
com.mxgraph.shape.mxITextShape |
getTextShape(java.util.Map<java.lang.String,java.lang.Object> style,
boolean html) |
java.lang.String |
getToolTipForCell(de.ims.icarus.plugins.jgraph.layout.GraphOwner owner,
java.lang.Object cell) |
void |
install(java.lang.Object target) |
protected boolean |
isTrue(java.lang.String key) |
protected java.lang.String |
normalize(java.lang.String s) |
protected boolean |
paintAnnotatedText(java.lang.String text,
com.mxgraph.view.mxCellState state,
java.awt.Graphics2D g,
java.awt.FontMetrics fm,
int x,
int y,
int w,
int h,
java.lang.Object align,
boolean horizontal) |
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 |
paintText(java.lang.String text,
com.mxgraph.view.mxCellState state,
java.awt.Graphics2D g,
java.awt.FontMetrics fm,
int x,
int y,
int w,
int h,
java.lang.Object align,
boolean horizontal) |
protected void |
refreshCellStyle(com.mxgraph.view.mxCellState state) |
void |
uninstall(java.lang.Object target) |
getPreferredSizeForCell
contains, drawImageImpl, getImageObserver, getImageSize, hitSwimlaneContent, intersects, setImageObserver
createFillPaint, createStroke, createTemporaryGraphics, drawImage, drawImage, drawLabel, fillShape, fillShape, getGraphics, getRendererPane, getShape, paintPolyline, paintRectangle, putShape, putTextShape, setGraphics
protected de.ims.icarus.ui.view.TextRenderer renderer
protected de.ims.icarus.plugins.jgraph.view.GraphPresenter presenter
protected de.ims.icarus.util.HtmlUtils.HtmlTableBuilder tableBuilder
protected java.lang.StringBuilder sb
protected static final char DISTANCE_SYMBOL
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 java.lang.String normalize(java.lang.String s)
protected de.ims.icarus.search_tools.annotation.BitmaskHighlighting getHighlighting()
public java.lang.String convertValueToString(de.ims.icarus.plugins.jgraph.layout.GraphOwner owner, java.lang.Object cell)
convertValueToString
in class de.ims.icarus.plugins.jgraph.layout.GraphRenderer
public java.lang.String getToolTipForCell(de.ims.icarus.plugins.jgraph.layout.GraphOwner owner, java.lang.Object cell)
getToolTipForCell
in class de.ims.icarus.plugins.jgraph.layout.GraphRenderer
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 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)
protected boolean paintAnnotatedText(java.lang.String text, com.mxgraph.view.mxCellState state, java.awt.Graphics2D g, java.awt.FontMetrics fm, int x, int y, int w, int h, java.lang.Object align, boolean horizontal)
protected void paintText(java.lang.String text, com.mxgraph.view.mxCellState state, java.awt.Graphics2D g, java.awt.FontMetrics fm, int x, int y, int w, int h, java.lang.Object align, boolean horizontal)