|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer<VertexObj>
bicliqueviz.VertexSizeShape
public class VertexSizeShape
Class for vertex shape and size in the graph
Field Summary |
---|
Fields inherited from class edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer |
---|
DEFAULT_ASPECT_RATIO, DEFAULT_SIZE |
Constructor Summary | |
---|---|
VertexSizeShape(BiGraph g)
|
Method Summary | |
---|---|
void |
setScaleSize(int d)
|
void |
setScaling(boolean scale)
|
java.awt.Shape |
transform(VertexObj v)
|
Methods inherited from class edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer |
---|
setAspectRatioTransformer, setSizeTransformer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VertexSizeShape(BiGraph g)
Method Detail |
---|
public void setScaling(boolean scale)
scale
- toggles scaling on/offpublic void setScaleSize(int d)
d
- the scale factor the nodespublic java.awt.Shape transform(VertexObj v)
transform
in interface org.apache.commons.collections15.Transformer<VertexObj,java.awt.Shape>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |