edu.uci.ics.jung.visualization
Class PluggableRenderContext<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.PluggableRenderContext<V,E>
- All Implemented Interfaces:
- RenderContext<V,E>
public class PluggableRenderContext<V,E>
- extends Object
- implements RenderContext<V,E>
Field Summary |
protected org.apache.commons.collections15.Transformer<E,Paint> |
arrowDrawPaintTransformer
|
protected org.apache.commons.collections15.Transformer<E,Paint> |
arrowFillPaintTransformer
|
protected float |
arrowPlacementTolerance
|
protected org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> |
edgeArrowPredicate
|
protected org.apache.commons.collections15.Transformer<E,Stroke> |
edgeArrowStrokeTransformer
|
protected org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> |
edgeArrowTransformer
|
protected org.apache.commons.collections15.Transformer<E,Paint> |
edgeDrawPaintTransformer
|
protected org.apache.commons.collections15.Transformer<E,Paint> |
edgeFillPaintTransformer
|
protected org.apache.commons.collections15.Transformer<E,Font> |
edgeFontTransformer
|
protected org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> |
edgeIncludePredicate
|
protected org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> |
edgeLabelClosenessTransformer
|
protected EdgeLabelRenderer |
edgeLabelRenderer
|
protected org.apache.commons.collections15.Transformer<E,String> |
edgeLabelTransformer
|
protected org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> |
edgeShapeTransformer
|
protected org.apache.commons.collections15.Transformer<E,Stroke> |
edgeStrokeTransformer
|
protected GraphicsDecorator |
graphicsContext
|
protected EdgeIndexFunction<V,E> |
incidentEdgeIndexFunction
|
protected int |
labelOffset
|
protected MultiLayerTransformer |
multiLayerTransformer
|
protected EdgeIndexFunction<V,E> |
parallelEdgeIndexFunction
|
protected PickedState<E> |
pickedEdgeState
|
protected PickedState<V> |
pickedVertexState
|
protected GraphElementAccessor<V,E> |
pickSupport
pluggable support for picking graph elements by
finding them based on their coordinates. |
protected CellRendererPane |
rendererPane
The CellRendererPane is used here just as it is in JTree
and JTable, to allow a pluggable JLabel-based renderer for
Vertex and Edge label strings and icons. |
protected JComponent |
screenDevice
the JComponent that this Renderer will display the graph on |
protected org.apache.commons.collections15.Transformer<V,Paint> |
vertexDrawPaintTransformer
|
protected org.apache.commons.collections15.Transformer<V,Paint> |
vertexFillPaintTransformer
|
protected org.apache.commons.collections15.Transformer<V,Font> |
vertexFontTransformer
|
protected org.apache.commons.collections15.Transformer<V,Icon> |
vertexIconTransformer
|
protected org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> |
vertexIncludePredicate
|
protected VertexLabelRenderer |
vertexLabelRenderer
A default GraphLabelRenderer - picked Vertex labels are
blue, picked edge labels are cyan |
protected org.apache.commons.collections15.Transformer<V,String> |
vertexLabelTransformer
|
protected org.apache.commons.collections15.Transformer<V,Shape> |
vertexShapeTransformer
|
protected org.apache.commons.collections15.Transformer<V,Stroke> |
vertexStrokeTransformer
|
Method Summary |
org.apache.commons.collections15.Transformer<E,Paint> |
getArrowDrawPaintTransformer()
|
org.apache.commons.collections15.Transformer<E,Paint> |
getArrowFillPaintTransformer()
|
float |
getArrowPlacementTolerance()
|
static float[] |
getDashing()
|
static float[] |
getDotting()
|
org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> |
getEdgeArrowPredicate()
|
org.apache.commons.collections15.Transformer<E,Stroke> |
getEdgeArrowStrokeTransformer()
|
org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> |
getEdgeArrowTransformer()
|
org.apache.commons.collections15.Transformer<E,Paint> |
getEdgeDrawPaintTransformer()
|
org.apache.commons.collections15.Transformer<E,Paint> |
getEdgeFillPaintTransformer()
|
org.apache.commons.collections15.Transformer<E,Font> |
getEdgeFontTransformer()
|
org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> |
getEdgeIncludePredicate()
|
org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> |
getEdgeLabelClosenessTransformer()
|
EdgeLabelRenderer |
getEdgeLabelRenderer()
|
org.apache.commons.collections15.Transformer<E,String> |
getEdgeLabelTransformer()
|
org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> |
getEdgeShapeTransformer()
|
org.apache.commons.collections15.Transformer<E,Stroke> |
getEdgeStrokeTransformer()
|
GraphicsDecorator |
getGraphicsContext()
|
int |
getLabelOffset()
|
MultiLayerTransformer |
getMultiLayerTransformer()
|
EdgeIndexFunction<V,E> |
getParallelEdgeIndexFunction()
|
PickedState<E> |
getPickedEdgeState()
|
PickedState<V> |
getPickedVertexState()
|
GraphElementAccessor<V,E> |
getPickSupport()
|
CellRendererPane |
getRendererPane()
|
JComponent |
getScreenDevice()
|
org.apache.commons.collections15.Transformer<V,Paint> |
getVertexDrawPaintTransformer()
|
org.apache.commons.collections15.Transformer<V,Paint> |
getVertexFillPaintTransformer()
|
org.apache.commons.collections15.Transformer<V,Font> |
getVertexFontTransformer()
|
org.apache.commons.collections15.Transformer<V,Icon> |
getVertexIconTransformer()
|
org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> |
getVertexIncludePredicate()
|
VertexLabelRenderer |
getVertexLabelRenderer()
|
org.apache.commons.collections15.Transformer<V,String> |
getVertexLabelTransformer()
|
org.apache.commons.collections15.Transformer<V,Shape> |
getVertexShapeTransformer()
|
org.apache.commons.collections15.Transformer<V,Stroke> |
getVertexStrokeTransformer()
|
void |
setArrowDrawPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> arrowDrawPaintTransformer)
|
void |
setArrowFillPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> arrowFillPaintTransformer)
|
void |
setArrowPlacementTolerance(float arrow_placement_tolerance)
|
void |
setEdgeArrowPredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeArrowPredicate)
|
void |
setEdgeArrowStrokeTransformer(org.apache.commons.collections15.Transformer<E,Stroke> edgeArrowStrokeTransformer)
|
void |
setEdgeArrowTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeArrowTransformer)
|
void |
setEdgeDrawPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> edgeDrawPaintTransformer)
|
void |
setEdgeFillPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> edgeFillPaintTransformer)
|
void |
setEdgeFontTransformer(org.apache.commons.collections15.Transformer<E,Font> edgeFontTransformer)
|
void |
setEdgeIncludePredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeIncludePredicate)
|
void |
setEdgeLabelClosenessTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> edgeLabelClosenessTransformer)
|
void |
setEdgeLabelRenderer(EdgeLabelRenderer edgeLabelRenderer)
|
void |
setEdgeLabelTransformer(org.apache.commons.collections15.Transformer<E,String> edgeLabelTransformer)
|
void |
setEdgeShapeTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeShapeTransformer)
|
void |
setEdgeStrokeTransformer(org.apache.commons.collections15.Transformer<E,Stroke> edgeStrokeTransformer)
|
void |
setGraphicsContext(GraphicsDecorator graphicsContext)
|
void |
setLabelOffset(int labelOffset)
|
void |
setMultiLayerTransformer(MultiLayerTransformer basicTransformer)
|
void |
setParallelEdgeIndexFunction(EdgeIndexFunction<V,E> parallelEdgeIndexFunction)
|
void |
setPickedEdgeState(PickedState<E> pickedEdgeState)
|
void |
setPickedVertexState(PickedState<V> pickedVertexState)
|
void |
setPickSupport(GraphElementAccessor<V,E> pickSupport)
|
void |
setRendererPane(CellRendererPane rendererPane)
|
void |
setScreenDevice(JComponent screenDevice)
|
void |
setVertexDrawPaintTransformer(org.apache.commons.collections15.Transformer<V,Paint> vertexDrawPaintTransformer)
|
void |
setVertexFillPaintTransformer(org.apache.commons.collections15.Transformer<V,Paint> vertexFillPaintTransformer)
|
void |
setVertexFontTransformer(org.apache.commons.collections15.Transformer<V,Font> vertexFontTransformer)
|
void |
setVertexIconTransformer(org.apache.commons.collections15.Transformer<V,Icon> vertexIconTransformer)
|
void |
setVertexIncludePredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> vertexIncludePredicate)
|
void |
setVertexLabelRenderer(VertexLabelRenderer vertexLabelRenderer)
|
void |
setVertexLabelTransformer(org.apache.commons.collections15.Transformer<V,String> vertexLabelTransformer)
|
void |
setVertexShapeTransformer(org.apache.commons.collections15.Transformer<V,Shape> vertexShapeTransformer)
|
void |
setVertexStrokeTransformer(org.apache.commons.collections15.Transformer<V,Stroke> vertexStrokeTransformer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arrowPlacementTolerance
protected float arrowPlacementTolerance
vertexIncludePredicate
protected org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> vertexIncludePredicate
vertexStrokeTransformer
protected org.apache.commons.collections15.Transformer<V,Stroke> vertexStrokeTransformer
vertexShapeTransformer
protected org.apache.commons.collections15.Transformer<V,Shape> vertexShapeTransformer
vertexLabelTransformer
protected org.apache.commons.collections15.Transformer<V,String> vertexLabelTransformer
vertexIconTransformer
protected org.apache.commons.collections15.Transformer<V,Icon> vertexIconTransformer
vertexFontTransformer
protected org.apache.commons.collections15.Transformer<V,Font> vertexFontTransformer
vertexDrawPaintTransformer
protected org.apache.commons.collections15.Transformer<V,Paint> vertexDrawPaintTransformer
vertexFillPaintTransformer
protected org.apache.commons.collections15.Transformer<V,Paint> vertexFillPaintTransformer
edgeLabelTransformer
protected org.apache.commons.collections15.Transformer<E,String> edgeLabelTransformer
edgeStrokeTransformer
protected org.apache.commons.collections15.Transformer<E,Stroke> edgeStrokeTransformer
edgeArrowStrokeTransformer
protected org.apache.commons.collections15.Transformer<E,Stroke> edgeArrowStrokeTransformer
edgeArrowTransformer
protected org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeArrowTransformer
edgeArrowPredicate
protected org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeArrowPredicate
edgeIncludePredicate
protected org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeIncludePredicate
edgeFontTransformer
protected org.apache.commons.collections15.Transformer<E,Font> edgeFontTransformer
edgeLabelClosenessTransformer
protected org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> edgeLabelClosenessTransformer
edgeShapeTransformer
protected org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeShapeTransformer
edgeFillPaintTransformer
protected org.apache.commons.collections15.Transformer<E,Paint> edgeFillPaintTransformer
edgeDrawPaintTransformer
protected org.apache.commons.collections15.Transformer<E,Paint> edgeDrawPaintTransformer
arrowFillPaintTransformer
protected org.apache.commons.collections15.Transformer<E,Paint> arrowFillPaintTransformer
arrowDrawPaintTransformer
protected org.apache.commons.collections15.Transformer<E,Paint> arrowDrawPaintTransformer
parallelEdgeIndexFunction
protected EdgeIndexFunction<V,E> parallelEdgeIndexFunction
incidentEdgeIndexFunction
protected EdgeIndexFunction<V,E> incidentEdgeIndexFunction
multiLayerTransformer
protected MultiLayerTransformer multiLayerTransformer
pickSupport
protected GraphElementAccessor<V,E> pickSupport
- pluggable support for picking graph elements by
finding them based on their coordinates.
labelOffset
protected int labelOffset
screenDevice
protected JComponent screenDevice
- the JComponent that this Renderer will display the graph on
pickedVertexState
protected PickedState<V> pickedVertexState
pickedEdgeState
protected PickedState<E> pickedEdgeState
rendererPane
protected CellRendererPane rendererPane
- The CellRendererPane is used here just as it is in JTree
and JTable, to allow a pluggable JLabel-based renderer for
Vertex and Edge label strings and icons.
vertexLabelRenderer
protected VertexLabelRenderer vertexLabelRenderer
- A default GraphLabelRenderer - picked Vertex labels are
blue, picked edge labels are cyan
edgeLabelRenderer
protected EdgeLabelRenderer edgeLabelRenderer
graphicsContext
protected GraphicsDecorator graphicsContext
getVertexShapeTransformer
public org.apache.commons.collections15.Transformer<V,Shape> getVertexShapeTransformer()
- Specified by:
getVertexShapeTransformer
in interface RenderContext<V,E>
- Returns:
- the vertexShapeTransformer
setVertexShapeTransformer
public void setVertexShapeTransformer(org.apache.commons.collections15.Transformer<V,Shape> vertexShapeTransformer)
- Specified by:
setVertexShapeTransformer
in interface RenderContext<V,E>
- Parameters:
vertexShapeTransformer
- the vertexShapeTransformer to set
getVertexStrokeTransformer
public org.apache.commons.collections15.Transformer<V,Stroke> getVertexStrokeTransformer()
- Specified by:
getVertexStrokeTransformer
in interface RenderContext<V,E>
- Returns:
- the vertexStrokeTransformer
setVertexStrokeTransformer
public void setVertexStrokeTransformer(org.apache.commons.collections15.Transformer<V,Stroke> vertexStrokeTransformer)
- Specified by:
setVertexStrokeTransformer
in interface RenderContext<V,E>
- Parameters:
vertexStrokeTransformer
- the vertexStrokeTransformer to set
getDashing
public static float[] getDashing()
getDotting
public static float[] getDotting()
getArrowPlacementTolerance
public float getArrowPlacementTolerance()
- Specified by:
getArrowPlacementTolerance
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#getArrow_placement_tolerance()
setArrowPlacementTolerance
public void setArrowPlacementTolerance(float arrow_placement_tolerance)
- Specified by:
setArrowPlacementTolerance
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setArrow_placement_tolerance(float)
getEdgeArrowTransformer
public org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> getEdgeArrowTransformer()
- Specified by:
getEdgeArrowTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeArrowTransformer()
setEdgeArrowTransformer
public void setEdgeArrowTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeArrowTransformer)
- Specified by:
setEdgeArrowTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeArrowTransformer(edu.uci.ics.jung.visualization.decorators.EdgeArrowTransformer)
getEdgeArrowPredicate
public org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> getEdgeArrowPredicate()
- Specified by:
getEdgeArrowPredicate
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeArrowPredicate()
setEdgeArrowPredicate
public void setEdgeArrowPredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeArrowPredicate)
- Specified by:
setEdgeArrowPredicate
in interface RenderContext<V,E>
- See Also:
RenderContext.setEdgeArrowPredicate(Predicate)
getEdgeFontTransformer
public org.apache.commons.collections15.Transformer<E,Font> getEdgeFontTransformer()
- Specified by:
getEdgeFontTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeFontTransformer()
setEdgeFontTransformer
public void setEdgeFontTransformer(org.apache.commons.collections15.Transformer<E,Font> edgeFontTransformer)
- Specified by:
setEdgeFontTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeFontTransformer(edu.uci.ics.jung.visualization.decorators.EdgeFontTransformer)
getEdgeIncludePredicate
public org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> getEdgeIncludePredicate()
- Specified by:
getEdgeIncludePredicate
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeIncludePredicate()
setEdgeIncludePredicate
public void setEdgeIncludePredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeIncludePredicate)
- Specified by:
setEdgeIncludePredicate
in interface RenderContext<V,E>
- See Also:
RenderContext.setEdgeIncludePredicate(org.apache.commons.collections15.Predicate)
getEdgeLabelClosenessTransformer
public org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> getEdgeLabelClosenessTransformer()
- Specified by:
getEdgeLabelClosenessTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeLabelClosenessTransformer()
setEdgeLabelClosenessTransformer
public void setEdgeLabelClosenessTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> edgeLabelClosenessTransformer)
- Specified by:
setEdgeLabelClosenessTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeLabelClosenessTransformer(edu.uci.ics.jung.visualization.decorators.NumberDirectionalEdgeValue)
getEdgeLabelRenderer
public EdgeLabelRenderer getEdgeLabelRenderer()
- Specified by:
getEdgeLabelRenderer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeLabelRenderer()
setEdgeLabelRenderer
public void setEdgeLabelRenderer(EdgeLabelRenderer edgeLabelRenderer)
- Specified by:
setEdgeLabelRenderer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeLabelRenderer(edu.uci.ics.jung.visualization.EdgeLabelRenderer)
getEdgeFillPaintTransformer
public org.apache.commons.collections15.Transformer<E,Paint> getEdgeFillPaintTransformer()
- Specified by:
getEdgeFillPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#getEdgePaintTransformer()
setEdgeDrawPaintTransformer
public void setEdgeDrawPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> edgeDrawPaintTransformer)
- Specified by:
setEdgeDrawPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgePaintTransformer(edu.uci.ics.jung.visualization.decorators.EdgePaintTransformer)
getEdgeDrawPaintTransformer
public org.apache.commons.collections15.Transformer<E,Paint> getEdgeDrawPaintTransformer()
- Specified by:
getEdgeDrawPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#getEdgePaintTransformer()
setEdgeFillPaintTransformer
public void setEdgeFillPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> edgeFillPaintTransformer)
- Specified by:
setEdgeFillPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgePaintTransformer(edu.uci.ics.jung.visualization.decorators.EdgePaintTransformer)
getEdgeShapeTransformer
public org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> getEdgeShapeTransformer()
- Specified by:
getEdgeShapeTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeShapeTransformer()
setEdgeShapeTransformer
public void setEdgeShapeTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeShapeTransformer)
- Specified by:
setEdgeShapeTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeShapeTransformer(edu.uci.ics.jung.visualization.decorators.EdgeShapeTransformer)
getEdgeLabelTransformer
public org.apache.commons.collections15.Transformer<E,String> getEdgeLabelTransformer()
- Specified by:
getEdgeLabelTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeLabelTransformer()
setEdgeLabelTransformer
public void setEdgeLabelTransformer(org.apache.commons.collections15.Transformer<E,String> edgeLabelTransformer)
- Specified by:
setEdgeLabelTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeLabelTransformer(edu.uci.ics.jung.visualization.decorators.EdgeLabelTransformer)
getEdgeStrokeTransformer
public org.apache.commons.collections15.Transformer<E,Stroke> getEdgeStrokeTransformer()
- Specified by:
getEdgeStrokeTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeStrokeTransformer()
setEdgeStrokeTransformer
public void setEdgeStrokeTransformer(org.apache.commons.collections15.Transformer<E,Stroke> edgeStrokeTransformer)
- Specified by:
setEdgeStrokeTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeStrokeTransformer(edu.uci.ics.jung.visualization.decorators.EdgeStrokeTransformer)
getEdgeArrowStrokeTransformer
public org.apache.commons.collections15.Transformer<E,Stroke> getEdgeArrowStrokeTransformer()
- Specified by:
getEdgeArrowStrokeTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getEdgeStrokeTransformer()
setEdgeArrowStrokeTransformer
public void setEdgeArrowStrokeTransformer(org.apache.commons.collections15.Transformer<E,Stroke> edgeArrowStrokeTransformer)
- Specified by:
setEdgeArrowStrokeTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setEdgeStrokeTransformer(edu.uci.ics.jung.visualization.decorators.EdgeStrokeTransformer)
getGraphicsContext
public GraphicsDecorator getGraphicsContext()
- Specified by:
getGraphicsContext
in interface RenderContext<V,E>
- See Also:
RenderContext.getGraphicsContext()
setGraphicsContext
public void setGraphicsContext(GraphicsDecorator graphicsContext)
- Specified by:
setGraphicsContext
in interface RenderContext<V,E>
- See Also:
RenderContext.setGraphicsContext(GraphicsDecorator)
getLabelOffset
public int getLabelOffset()
- Specified by:
getLabelOffset
in interface RenderContext<V,E>
- See Also:
RenderContext.getLabelOffset()
setLabelOffset
public void setLabelOffset(int labelOffset)
- Specified by:
setLabelOffset
in interface RenderContext<V,E>
- See Also:
RenderContext.setLabelOffset(int)
getParallelEdgeIndexFunction
public EdgeIndexFunction<V,E> getParallelEdgeIndexFunction()
- Specified by:
getParallelEdgeIndexFunction
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#getParallelEdgeIndexTransformer()
setParallelEdgeIndexFunction
public void setParallelEdgeIndexFunction(EdgeIndexFunction<V,E> parallelEdgeIndexFunction)
- Specified by:
setParallelEdgeIndexFunction
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setParallelEdgeIndexFunction(edu.uci.ics.graph.util.ParallelEdgeIndexFunction)
getPickedEdgeState
public PickedState<E> getPickedEdgeState()
- Specified by:
getPickedEdgeState
in interface RenderContext<V,E>
- See Also:
RenderContext.getPickedEdgeState()
setPickedEdgeState
public void setPickedEdgeState(PickedState<E> pickedEdgeState)
- Specified by:
setPickedEdgeState
in interface RenderContext<V,E>
- See Also:
RenderContext.setPickedEdgeState(edu.uci.ics.jung.visualization.picking.PickedState)
getPickedVertexState
public PickedState<V> getPickedVertexState()
- Specified by:
getPickedVertexState
in interface RenderContext<V,E>
- See Also:
RenderContext.getPickedVertexState()
setPickedVertexState
public void setPickedVertexState(PickedState<V> pickedVertexState)
- Specified by:
setPickedVertexState
in interface RenderContext<V,E>
- See Also:
RenderContext.setPickedVertexState(edu.uci.ics.jung.visualization.picking.PickedState)
getRendererPane
public CellRendererPane getRendererPane()
- Specified by:
getRendererPane
in interface RenderContext<V,E>
- See Also:
RenderContext.getRendererPane()
setRendererPane
public void setRendererPane(CellRendererPane rendererPane)
- Specified by:
setRendererPane
in interface RenderContext<V,E>
- See Also:
RenderContext.setRendererPane(javax.swing.CellRendererPane)
getScreenDevice
public JComponent getScreenDevice()
- Specified by:
getScreenDevice
in interface RenderContext<V,E>
- See Also:
RenderContext.getScreenDevice()
setScreenDevice
public void setScreenDevice(JComponent screenDevice)
- Specified by:
setScreenDevice
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setScreenDevice(edu.uci.ics.jung.visualization.VisualizationViewer)
getVertexFontTransformer
public org.apache.commons.collections15.Transformer<V,Font> getVertexFontTransformer()
- Specified by:
getVertexFontTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getVertexFontTransformer()
setVertexFontTransformer
public void setVertexFontTransformer(org.apache.commons.collections15.Transformer<V,Font> vertexFontTransformer)
- Specified by:
setVertexFontTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setVertexFontTransformer(edu.uci.ics.jung.visualization.decorators.VertexFontTransformer)
getVertexIconTransformer
public org.apache.commons.collections15.Transformer<V,Icon> getVertexIconTransformer()
- Specified by:
getVertexIconTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getVertexIconTransformer()
setVertexIconTransformer
public void setVertexIconTransformer(org.apache.commons.collections15.Transformer<V,Icon> vertexIconTransformer)
- Specified by:
setVertexIconTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setVertexIconTransformer(edu.uci.ics.jung.visualization.decorators.VertexIconTransformer)
getVertexIncludePredicate
public org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> getVertexIncludePredicate()
- Specified by:
getVertexIncludePredicate
in interface RenderContext<V,E>
- See Also:
RenderContext.getVertexIncludePredicate()
setVertexIncludePredicate
public void setVertexIncludePredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> vertexIncludePredicate)
- Specified by:
setVertexIncludePredicate
in interface RenderContext<V,E>
- See Also:
RenderContext.setVertexIncludePredicate(org.apache.commons.collections15.Predicate)
getVertexLabelRenderer
public VertexLabelRenderer getVertexLabelRenderer()
- Specified by:
getVertexLabelRenderer
in interface RenderContext<V,E>
- See Also:
RenderContext.getVertexLabelRenderer()
setVertexLabelRenderer
public void setVertexLabelRenderer(VertexLabelRenderer vertexLabelRenderer)
- Specified by:
setVertexLabelRenderer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setVertexLabelRenderer(edu.uci.ics.jung.visualization.VertexLabelRenderer)
getVertexFillPaintTransformer
public org.apache.commons.collections15.Transformer<V,Paint> getVertexFillPaintTransformer()
- Specified by:
getVertexFillPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#getVertexPaintTransformer()
setVertexFillPaintTransformer
public void setVertexFillPaintTransformer(org.apache.commons.collections15.Transformer<V,Paint> vertexFillPaintTransformer)
- Specified by:
setVertexFillPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setVertexPaintTransformer(edu.uci.ics.jung.visualization.decorators.VertexPaintTransformer)
getVertexDrawPaintTransformer
public org.apache.commons.collections15.Transformer<V,Paint> getVertexDrawPaintTransformer()
- Specified by:
getVertexDrawPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#getVertexPaintTransformer()
setVertexDrawPaintTransformer
public void setVertexDrawPaintTransformer(org.apache.commons.collections15.Transformer<V,Paint> vertexDrawPaintTransformer)
- Specified by:
setVertexDrawPaintTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setVertexPaintTransformer(edu.uci.ics.jung.visualization.decorators.VertexPaintTransformer)
getVertexLabelTransformer
public org.apache.commons.collections15.Transformer<V,String> getVertexLabelTransformer()
- Specified by:
getVertexLabelTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getVertexLabelTransformer()
setVertexLabelTransformer
public void setVertexLabelTransformer(org.apache.commons.collections15.Transformer<V,String> vertexLabelTransformer)
- Specified by:
setVertexLabelTransformer
in interface RenderContext<V,E>
- See Also:
edu.uci.ics.jung.visualization.RenderContext#setVertexLabelTransformer(edu.uci.ics.jung.visualization.decorators.VertexLabelTransformer)
getPickSupport
public GraphElementAccessor<V,E> getPickSupport()
- Specified by:
getPickSupport
in interface RenderContext<V,E>
- Returns:
- the pickSupport
setPickSupport
public void setPickSupport(GraphElementAccessor<V,E> pickSupport)
- Specified by:
setPickSupport
in interface RenderContext<V,E>
- Parameters:
pickSupport
- the pickSupport to set
getMultiLayerTransformer
public MultiLayerTransformer getMultiLayerTransformer()
- Specified by:
getMultiLayerTransformer
in interface RenderContext<V,E>
- Returns:
- the basicTransformer
setMultiLayerTransformer
public void setMultiLayerTransformer(MultiLayerTransformer basicTransformer)
- Specified by:
setMultiLayerTransformer
in interface RenderContext<V,E>
- Parameters:
basicTransformer
- the basicTransformer to set
getArrowDrawPaintTransformer
public org.apache.commons.collections15.Transformer<E,Paint> getArrowDrawPaintTransformer()
- Specified by:
getArrowDrawPaintTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getArrowDrawPaintTransformer()
getArrowFillPaintTransformer
public org.apache.commons.collections15.Transformer<E,Paint> getArrowFillPaintTransformer()
- Specified by:
getArrowFillPaintTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.getArrowFillPaintTransformer()
setArrowDrawPaintTransformer
public void setArrowDrawPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> arrowDrawPaintTransformer)
- Specified by:
setArrowDrawPaintTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.setArrowDrawPaintTransformer(Transformer)
setArrowFillPaintTransformer
public void setArrowFillPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> arrowFillPaintTransformer)
- Specified by:
setArrowFillPaintTransformer
in interface RenderContext<V,E>
- See Also:
RenderContext.setArrowFillPaintTransformer(Transformer)
Copyright © 2009. All Rights Reserved.