|
Gephi Toolkit Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gephi.layout.plugin.AbstractLayout
org.gephi.layout.plugin.scale.ScaleLayout
public class ScaleLayout
Sample layout that scales the graph.
| Field Summary |
|---|
| Fields inherited from class org.gephi.layout.plugin.AbstractLayout |
|---|
dynamicModel, graphModel |
| Constructor Summary | |
|---|---|
ScaleLayout(LayoutBuilder layoutBuilder,
double scale)
|
|
| Method Summary | |
|---|---|
void |
endAlgo()
Called when the algorithm is finished (canAlgo() returns false). |
LayoutProperty[] |
getProperties()
The properties for this layout. |
java.lang.Double |
getScale()
|
void |
goAlgo()
Run a step in the algorithm, should be called only if canAlgo() returns true. |
void |
initAlgo()
initAlgo() is called to initialize the algorithm (prepare to run). |
void |
resetPropertiesValues()
Resets the properties values to the default values. |
void |
setScale(java.lang.Double scale)
|
| Methods inherited from class org.gephi.layout.plugin.AbstractLayout |
|---|
canAlgo, getBuilder, isConverged, setConverged, setGraphModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gephi.layout.spi.Layout |
|---|
canAlgo, getBuilder, setGraphModel |
| Constructor Detail |
|---|
public ScaleLayout(LayoutBuilder layoutBuilder,
double scale)
| Method Detail |
|---|
public void initAlgo()
Layout
initAlgo in interface Layoutpublic void goAlgo()
Layout
goAlgo in interface Layoutpublic void endAlgo()
Layout
endAlgo in interface Layoutpublic LayoutProperty[] getProperties()
Layout
getProperties in interface Layoutpublic void resetPropertiesValues()
Layout
resetPropertiesValues in interface Layoutpublic java.lang.Double getScale()
public void setScale(java.lang.Double scale)
scale - the scale to set
|
Gephi Toolkit Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||