|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.visualization.transform.shape.PluggableRendererDecorator
edu.uci.ics.jung.visualization.transform.shape.TransformingPluggableRenderer
public class TransformingPluggableRenderer
a subclass to apply a TransformingGraphics to certain operations
Field Summary |
---|
Fields inherited from class edu.uci.ics.jung.visualization.transform.shape.PluggableRendererDecorator |
---|
delegate |
Constructor Summary | |
---|---|
TransformingPluggableRenderer(PluggableRenderer delegate)
create an instance |
Method Summary | |
---|---|
protected void |
drawSimpleEdge(Graphics2D g,
Edge e,
int x1,
int y1,
int x2,
int y2)
(non-Javadoc) override to wrap the passed Graphics2D in my TransformingGraphics, then call overloaded drawSimpleEdge |
protected void |
drawSimpleEdge(TransformingGraphics g,
Edge e,
int x1,
int y1,
int x2,
int y2)
overloaded to use TransformingGraphics |
Transformer |
getTransformer()
|
protected void |
labelEdge(Graphics2D g2d,
Edge e,
String label,
int x1,
int x2,
int y1,
int y2)
overridden to wrap passed Graphics2D in my TransformingGraphics, then call overloaded labelEdge |
protected void |
labelEdge(TransformingGraphics g2d,
Edge e,
String label,
int x1,
int x2,
int y1,
int y2)
overloaded to use TransformingGraphics |
protected void |
labelVertex(Graphics g,
Vertex v,
String label,
int x,
int y)
overridden to wrap passed Graphics in my TransformingGraphics, then call overloaded labelVertex |
protected void |
labelVertex(TransformingGraphics g,
Vertex v,
String label,
int x,
int y)
overloaded to use TransformingGraphics |
void |
paintEdge(Graphics g,
Edge e,
int x1,
int y1,
int x2,
int y2)
overridded to wrap passed Graphics in TransformingGraphics then call overloaded paintEdge |
void |
paintEdge(TransformingGraphics g2d,
Edge e,
int x1,
int y1,
int x2,
int y2)
overloaded to use TransformingGraphics |
void |
paintIconForVertex(TransformingGraphics g,
Icon icon,
int x,
int y)
|
protected void |
paintShapeForVertex(TransformingGraphics g2d,
Vertex v,
Shape shape)
|
void |
paintVertex(Graphics g,
Vertex v,
int x,
int y)
overridden to wrap passed Graphics in TransformingGraphics then call overloaded paintVertex |
void |
paintVertex(TransformingGraphics g2d,
Vertex v,
int x,
int y)
overloaded to use TransformingGraphics |
void |
setTransformer(Transformer transformer)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransformingPluggableRenderer(PluggableRenderer delegate)
Method Detail |
---|
public Transformer getTransformer()
public void setTransformer(Transformer transformer)
transformer
- The transformer to set.protected void drawSimpleEdge(Graphics2D g, Edge e, int x1, int y1, int x2, int y2)
protected void drawSimpleEdge(TransformingGraphics g, Edge e, int x1, int y1, int x2, int y2)
g
- e
- x1
- y1
- x2
- y2
- protected void labelEdge(Graphics2D g2d, Edge e, String label, int x1, int x2, int y1, int y2)
protected void labelEdge(TransformingGraphics g2d, Edge e, String label, int x1, int x2, int y1, int y2)
g2d
- e
- label
- x1
- x2
- y1
- y2
- protected void labelVertex(Graphics g, Vertex v, String label, int x, int y)
protected void labelVertex(TransformingGraphics g, Vertex v, String label, int x, int y)
g
- v
- label
- x
- y
- public void paintEdge(Graphics g, Edge e, int x1, int y1, int x2, int y2)
paintEdge
in interface Renderer
paintEdge
in class PluggableRendererDecorator
public void paintEdge(TransformingGraphics g2d, Edge e, int x1, int y1, int x2, int y2)
g2d
- e
- x1
- y1
- x2
- y2
- public void paintVertex(Graphics g, Vertex v, int x, int y)
paintVertex
in interface Renderer
paintVertex
in class PluggableRendererDecorator
public void paintVertex(TransformingGraphics g2d, Vertex v, int x, int y)
g2d
- v
- x
- y
- protected void paintShapeForVertex(TransformingGraphics g2d, Vertex v, Shape shape)
public void paintIconForVertex(TransformingGraphics g, Icon icon, int x, int y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |