Gephi Toolkit Javadoc

org.gephi.layout.plugin.multilevel
Class Test.TestLayout

java.lang.Object
  extended by org.gephi.layout.plugin.AbstractLayout
      extended by org.gephi.layout.plugin.multilevel.Test.TestLayout
All Implemented Interfaces:
Layout
Enclosing class:
Test

public class Test.TestLayout
extends AbstractLayout
implements Layout


Field Summary
 
Fields inherited from class org.gephi.layout.plugin.AbstractLayout
dynamicModel, graphModel
 
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).
 AttributeColumn getColumnTest()
           
 LayoutProperty[] getProperties()
          The properties for this layout.
 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).
 java.lang.Boolean isRefine()
           
 void resetPropertiesValues()
          Resets the properties values to the default values.
 void setColumnTest(AttributeColumn columnTest)
           
 void setRefine(java.lang.Boolean refine)
           
 
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
 

Method Detail

initAlgo

public void initAlgo()
Description copied from interface: Layout
initAlgo() is called to initialize the algorithm (prepare to run).

Specified by:
initAlgo in interface Layout

goAlgo

public void goAlgo()
Description copied from interface: Layout
Run a step in the algorithm, should be called only if canAlgo() returns true.

Specified by:
goAlgo in interface Layout

canAlgo

public boolean canAlgo()
Description copied from interface: Layout
Tests if the algorithm can run, called before each pass.

Specified by:
canAlgo in interface Layout
Overrides:
canAlgo in class AbstractLayout
Returns:
true if the algorithm can run, false otherwise

endAlgo

public void endAlgo()
Description copied from interface: Layout
Called when the algorithm is finished (canAlgo() returns false).

Specified by:
endAlgo in interface Layout

getProperties

public LayoutProperty[] getProperties()
Description copied from interface: Layout
The properties for this layout.

Specified by:
getProperties in interface Layout
Returns:
the layout properties

resetPropertiesValues

public void resetPropertiesValues()
Description copied from interface: Layout
Resets the properties values to the default values.

Specified by:
resetPropertiesValues in interface Layout

isRefine

public java.lang.Boolean isRefine()
Returns:
the refine

setRefine

public void setRefine(java.lang.Boolean refine)
Parameters:
refine - the refine to set

getColumnTest

public AttributeColumn getColumnTest()

setColumnTest

public void setColumnTest(AttributeColumn columnTest)

Gephi Toolkit Javadoc