Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## samples.graph
Class BasicRenderer

    java.lang.Object
      edu.uci.ics.jung.visualization.AbstractRenderer
          samples.graph.BasicRenderer

All Implemented Interfaces:
  Renderer

public class BasicRenderer
extends AbstractRenderer

Author:
  Scott White

Constructor Summary
`BasicRenderer()`

Method Summary
`String` | `getLabel()`
`double` | `getNodeSizeScale()`
`String` | `getSizeKey()`
`void` | `paintEdge(Graphics g, Edge e, int x1, int y1, int x2, int y2)`
`void` | `paintVertex(Graphics g, Vertex v, int x, int y)`
`void` | `setLabel(String label)`
`void` | `setNodeSizeScale(double nodeSizeScale)`
`void` | `setSizeKey(String decorationKey)`

Methods inherited from class edu.uci.ics.jung.visualization.AbstractRenderer
`getPickedKey, isPicked, isPicked, setPickedKey`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BasicRenderer

    public BasicRenderer()

Method Detail

### paintEdge

    public void paintEdge(Graphics g,
                          Edge e,
                          int x1,
                          int y1,
                          int x2,
                          int y2)

  Specified by:
    `paintEdge` in interface `Renderer`
  Specified by:
    `paintEdge` in class `AbstractRenderer`

### paintVertex

    public void paintVertex(Graphics g,
                            Vertex v,
                            int x,
                            int y)

  Specified by:
    `paintVertex` in interface `Renderer`
  Specified by:
    `paintVertex` in class `AbstractRenderer`

### getSizeKey

    public String getSizeKey()

### setSizeKey

    public void setSizeKey(String decorationKey)

### getLabel

    public String getLabel()

### setLabel

    public void setLabel(String label)

### getNodeSizeScale

    public double getNodeSizeScale()

### setNodeSizeScale

    public void setNodeSizeScale(double nodeSizeScale)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD