edu.uci.ics.jung.visualization
Class AbstractRenderer
java.lang.Object
edu.uci.ics.jung.visualization.AbstractRenderer
- All Implemented Interfaces:
- Renderer
- Direct Known Subclasses:
- SettableRenderer
- public abstract class AbstractRenderer
- extends java.lang.Object
- implements Renderer
This abstract class structures much of the annoying
bits of Renderers, allowing the user to simply override
the important methods and move on.
- Author:
- danyelf
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRenderer
public AbstractRenderer()
paintEdge
public abstract void paintEdge(java.awt.Graphics g,
Edge e,
int x1,
int y1,
int x2,
int y2)
- Specified by:
paintEdge
in interface Renderer
paintVertex
public abstract void paintVertex(java.awt.Graphics g,
Vertex v,
int x,
int y)
- Specified by:
paintVertex
in interface Renderer
setPickedKey
public void setPickedKey(PickedInfo pk)
- Description copied from interface:
Renderer
- This call allows a _Renderer to ask whether a vertex is picked
or not.
- Specified by:
setPickedKey
in interface Renderer
wiggleRoomX
public int wiggleRoomX()
wiggleRoomY
public int wiggleRoomY()