Class GraphFunctions.GraphNodeLabelRenderer

java.lang.Object
edu.uci.ics.jung.visualization.renderers.BasicVertexLabelRenderer<AbstractGraphNode,​AbstractGraphEdge>
mgui.interfaces.graphs.util.GraphFunctions.GraphNodeLabelRenderer
All Implemented Interfaces:
edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel<AbstractGraphNode,​AbstractGraphEdge>
Enclosing class:
GraphFunctions

public static class GraphFunctions.GraphNodeLabelRenderer
extends edu.uci.ics.jung.visualization.renderers.BasicVertexLabelRenderer<AbstractGraphNode,​AbstractGraphEdge>
Allows labels to be turned off.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Nested Class Summary

    Nested classes/interfaces inherited from class edu.uci.ics.jung.visualization.renderers.BasicVertexLabelRenderer

    edu.uci.ics.jung.visualization.renderers.BasicVertexLabelRenderer.InsidePositioner, edu.uci.ics.jung.visualization.renderers.BasicVertexLabelRenderer.OutsidePositioner

    Nested classes/interfaces inherited from interface edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel

    edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel.NOOP, edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel.Position, edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel.Positioner
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected boolean show  

    Fields inherited from class edu.uci.ics.jung.visualization.renderers.BasicVertexLabelRenderer

    position
  • Constructor Summary

    Constructors
    Constructor Description
    GraphNodeLabelRenderer()  
    GraphNodeLabelRenderer​(edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel.Position position)  
  • Method Summary

    Modifier and Type Method Description
    void labelVertex​(edu.uci.ics.jung.visualization.RenderContext<AbstractGraphNode,​AbstractGraphEdge> rc, edu.uci.ics.jung.algorithms.layout.Layout<AbstractGraphNode,​AbstractGraphEdge> layout, AbstractGraphNode v, java.lang.String label)  
    boolean show()  
    void show​(boolean show)  

    Methods inherited from class edu.uci.ics.jung.visualization.renderers.BasicVertexLabelRenderer

    getAnchorPoint, getPosition, getPositioner, prepareRenderer, setPosition, setPositioner

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • show

      protected boolean show
  • Constructor Details

    • GraphNodeLabelRenderer

      public GraphNodeLabelRenderer()
    • GraphNodeLabelRenderer

      public GraphNodeLabelRenderer​(edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel.Position position)
  • Method Details