|
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.random.RandomLayout
public class RandomLayout
Field Summary |
---|
Fields inherited from class org.gephi.layout.plugin.AbstractLayout |
---|
dynamicModel, graphModel |
Constructor Summary | |
---|---|
RandomLayout(LayoutBuilder layoutBuilder,
double size)
|
Method Summary | |
---|---|
boolean |
canAlgo()
Tests if the algorithm can run, called before each pass. |
void |
endAlgo()
Called when the algorithm is finished (canAlgo() returns false). |
LayoutProperty[] |
getProperties()
The properties for this layout. |
java.lang.Double |
getSize()
|
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 |
setSize(java.lang.Double size)
|
Methods inherited from class org.gephi.layout.plugin.AbstractLayout |
---|
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 |
---|
getBuilder, setGraphModel |
Constructor Detail |
---|
public RandomLayout(LayoutBuilder layoutBuilder, double size)
Method Detail |
---|
public void initAlgo()
Layout
initAlgo
in interface Layout
public void goAlgo()
Layout
goAlgo
in interface Layout
public boolean canAlgo()
Layout
canAlgo
in interface Layout
canAlgo
in class AbstractLayout
true
if the algorithm can run,
false
otherwisepublic void endAlgo()
Layout
endAlgo
in interface Layout
public LayoutProperty[] getProperties()
Layout
getProperties
in interface Layout
public void resetPropertiesValues()
Layout
resetPropertiesValues
in interface Layout
public void setSize(java.lang.Double size)
public java.lang.Double getSize()
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |