edu.uci.ics.jung.visualization
Interface RenderContext<V,E>

All Known Implementing Classes:
PluggableRenderContext

public interface RenderContext<V,E>


Nested Class Summary
static class RenderContext.DirectedEdgeArrowPredicate<V,E>
           
static class RenderContext.UndirectedEdgeArrowPredicate<V,E>
           
 
Field Summary
static Stroke DASHED
          A stroke for a dashed line: 1 pixel width, square caps, beveled joins, and an array of {5.0f}.
static float[] dashing
           
static Stroke DOTTED
          A stroke for a dotted line: 1 pixel width, round caps, round joins, and an array of {1.0f, 3.0f}.
static float[] dotting
           
static int LABEL_OFFSET
          Specifies the offset for the edge labels.
 
Method Summary
 org.apache.commons.collections15.Transformer<E,Paint> getArrowDrawPaintTransformer()
           
 org.apache.commons.collections15.Transformer<E,Paint> getArrowFillPaintTransformer()
           
 float getArrowPlacementTolerance()
           
 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> edgePaintTransformer)
           
 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> edgeStringer)
           
 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> vertexStringer)
           
 void setVertexShapeTransformer(org.apache.commons.collections15.Transformer<V,Shape> vertexShapeTransformer)
           
 void setVertexStrokeTransformer(org.apache.commons.collections15.Transformer<V,Stroke> vertexStrokeTransformer)
           
 

Field Detail

dotting

static final float[] dotting

dashing

static final float[] dashing

DOTTED

static final Stroke DOTTED
A stroke for a dotted line: 1 pixel width, round caps, round joins, and an array of {1.0f, 3.0f}.


DASHED

static final Stroke DASHED
A stroke for a dashed line: 1 pixel width, square caps, beveled joins, and an array of {5.0f}.


LABEL_OFFSET

static final int LABEL_OFFSET
Specifies the offset for the edge labels.

See Also:
Constant Field Values
Method Detail

getLabelOffset

int getLabelOffset()

setLabelOffset

void setLabelOffset(int labelOffset)

getArrowPlacementTolerance

float getArrowPlacementTolerance()

setArrowPlacementTolerance

void setArrowPlacementTolerance(float arrow_placement_tolerance)

getEdgeArrowTransformer

org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> getEdgeArrowTransformer()

setEdgeArrowTransformer

void setEdgeArrowTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeArrowTransformer)

getEdgeArrowPredicate

org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> getEdgeArrowPredicate()

setEdgeArrowPredicate

void setEdgeArrowPredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeArrowPredicate)

getEdgeFontTransformer

org.apache.commons.collections15.Transformer<E,Font> getEdgeFontTransformer()

setEdgeFontTransformer

void setEdgeFontTransformer(org.apache.commons.collections15.Transformer<E,Font> edgeFontTransformer)

getEdgeIncludePredicate

org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> getEdgeIncludePredicate()

setEdgeIncludePredicate

void setEdgeIncludePredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,E>> edgeIncludePredicate)

getEdgeLabelClosenessTransformer

org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> getEdgeLabelClosenessTransformer()

setEdgeLabelClosenessTransformer

void setEdgeLabelClosenessTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Number> edgeLabelClosenessTransformer)

getEdgeLabelRenderer

EdgeLabelRenderer getEdgeLabelRenderer()

setEdgeLabelRenderer

void setEdgeLabelRenderer(EdgeLabelRenderer edgeLabelRenderer)

getEdgeFillPaintTransformer

org.apache.commons.collections15.Transformer<E,Paint> getEdgeFillPaintTransformer()

setEdgeFillPaintTransformer

void setEdgeFillPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> edgePaintTransformer)

getEdgeDrawPaintTransformer

org.apache.commons.collections15.Transformer<E,Paint> getEdgeDrawPaintTransformer()

setEdgeDrawPaintTransformer

void setEdgeDrawPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> edgeDrawPaintTransformer)

getArrowDrawPaintTransformer

org.apache.commons.collections15.Transformer<E,Paint> getArrowDrawPaintTransformer()

setArrowDrawPaintTransformer

void setArrowDrawPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> arrowDrawPaintTransformer)

getArrowFillPaintTransformer

org.apache.commons.collections15.Transformer<E,Paint> getArrowFillPaintTransformer()

setArrowFillPaintTransformer

void setArrowFillPaintTransformer(org.apache.commons.collections15.Transformer<E,Paint> arrowFillPaintTransformer)

getEdgeShapeTransformer

org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> getEdgeShapeTransformer()

setEdgeShapeTransformer

void setEdgeShapeTransformer(org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape> edgeShapeTransformer)

getEdgeLabelTransformer

org.apache.commons.collections15.Transformer<E,String> getEdgeLabelTransformer()

setEdgeLabelTransformer

void setEdgeLabelTransformer(org.apache.commons.collections15.Transformer<E,String> edgeStringer)

getEdgeStrokeTransformer

org.apache.commons.collections15.Transformer<E,Stroke> getEdgeStrokeTransformer()

setEdgeStrokeTransformer

void setEdgeStrokeTransformer(org.apache.commons.collections15.Transformer<E,Stroke> edgeStrokeTransformer)

getEdgeArrowStrokeTransformer

org.apache.commons.collections15.Transformer<E,Stroke> getEdgeArrowStrokeTransformer()

setEdgeArrowStrokeTransformer

void setEdgeArrowStrokeTransformer(org.apache.commons.collections15.Transformer<E,Stroke> edgeArrowStrokeTransformer)

getGraphicsContext

GraphicsDecorator getGraphicsContext()

setGraphicsContext

void setGraphicsContext(GraphicsDecorator graphicsContext)

getParallelEdgeIndexFunction

EdgeIndexFunction<V,E> getParallelEdgeIndexFunction()

setParallelEdgeIndexFunction

void setParallelEdgeIndexFunction(EdgeIndexFunction<V,E> parallelEdgeIndexFunction)

getPickedEdgeState

PickedState<E> getPickedEdgeState()

setPickedEdgeState

void setPickedEdgeState(PickedState<E> pickedEdgeState)

getPickedVertexState

PickedState<V> getPickedVertexState()

setPickedVertexState

void setPickedVertexState(PickedState<V> pickedVertexState)

getRendererPane

CellRendererPane getRendererPane()

setRendererPane

void setRendererPane(CellRendererPane rendererPane)

getScreenDevice

JComponent getScreenDevice()

setScreenDevice

void setScreenDevice(JComponent screenDevice)

getVertexFontTransformer

org.apache.commons.collections15.Transformer<V,Font> getVertexFontTransformer()

setVertexFontTransformer

void setVertexFontTransformer(org.apache.commons.collections15.Transformer<V,Font> vertexFontTransformer)

getVertexIconTransformer

org.apache.commons.collections15.Transformer<V,Icon> getVertexIconTransformer()

setVertexIconTransformer

void setVertexIconTransformer(org.apache.commons.collections15.Transformer<V,Icon> vertexIconTransformer)

getVertexIncludePredicate

org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> getVertexIncludePredicate()

setVertexIncludePredicate

void setVertexIncludePredicate(org.apache.commons.collections15.Predicate<Context<Graph<V,E>,V>> vertexIncludePredicate)

getVertexLabelRenderer

VertexLabelRenderer getVertexLabelRenderer()

setVertexLabelRenderer

void setVertexLabelRenderer(VertexLabelRenderer vertexLabelRenderer)

getVertexFillPaintTransformer

org.apache.commons.collections15.Transformer<V,Paint> getVertexFillPaintTransformer()

setVertexFillPaintTransformer

void setVertexFillPaintTransformer(org.apache.commons.collections15.Transformer<V,Paint> vertexFillPaintTransformer)

getVertexDrawPaintTransformer

org.apache.commons.collections15.Transformer<V,Paint> getVertexDrawPaintTransformer()

setVertexDrawPaintTransformer

void setVertexDrawPaintTransformer(org.apache.commons.collections15.Transformer<V,Paint> vertexDrawPaintTransformer)

getVertexShapeTransformer

org.apache.commons.collections15.Transformer<V,Shape> getVertexShapeTransformer()

setVertexShapeTransformer

void setVertexShapeTransformer(org.apache.commons.collections15.Transformer<V,Shape> vertexShapeTransformer)

getVertexLabelTransformer

org.apache.commons.collections15.Transformer<V,String> getVertexLabelTransformer()

setVertexLabelTransformer

void setVertexLabelTransformer(org.apache.commons.collections15.Transformer<V,String> vertexStringer)

getVertexStrokeTransformer

org.apache.commons.collections15.Transformer<V,Stroke> getVertexStrokeTransformer()

setVertexStrokeTransformer

void setVertexStrokeTransformer(org.apache.commons.collections15.Transformer<V,Stroke> vertexStrokeTransformer)

getMultiLayerTransformer

MultiLayerTransformer getMultiLayerTransformer()

setMultiLayerTransformer

void setMultiLayerTransformer(MultiLayerTransformer basicTransformer)

getPickSupport

GraphElementAccessor<V,E> getPickSupport()
Returns:
the pickSupport

setPickSupport

void setPickSupport(GraphElementAccessor<V,E> pickSupport)
Parameters:
pickSupport - the pickSupport to set


Copyright © 2009. All Rights Reserved.