edu.uci.ics.jung.visualization.renderers
Interface EdgeLabelRenderer
- All Known Implementing Classes:
- DefaultEdgeLabelRenderer
public interface EdgeLabelRenderer
- Author:
- Tom Nelson
getEdgeLabelRendererComponent
<T> Component getEdgeLabelRendererComponent(JComponent vv,
Object value,
Font font,
boolean isSelected,
T edge)
- Returns the component used for drawing the label. This method is
used to configure the renderer appropriately before drawing.
- Parameters:
vv
- the JComponent
that is asking the
renderer to draw; can be null
value
- the value of the cell to be rendered. It is
up to the specific renderer to interpret
and draw the value. For example, if
value
is the string "true", it could be rendered as a
string or it could be rendered as a check
box that is checked. null
is a
valid valuevertex
- the vertex for the label being drawn.
isRotateEdgeLabels
boolean isRotateEdgeLabels()
setRotateEdgeLabels
void setRotateEdgeLabels(boolean state)
Copyright © 2009. All Rights Reserved.