org.gephi.layout.plugin.labelAdjust
Class LabelAdjust
java.lang.Object
org.gephi.layout.plugin.AbstractLayout
org.gephi.layout.plugin.labelAdjust.LabelAdjust
- All Implemented Interfaces:
- Layout
public class LabelAdjust
- extends AbstractLayout
- implements Layout
- Author:
- Mathieu Jacomy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
protected Graph graph
LabelAdjust
public LabelAdjust(LayoutBuilder layoutBuilder)
resetPropertiesValues
public void resetPropertiesValues()
- Description copied from interface:
Layout
- Resets the properties values to the default values.
- Specified by:
resetPropertiesValues
in interface Layout
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
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
getSpeed
public java.lang.Double getSpeed()
setSpeed
public void setSpeed(java.lang.Double speed)
isAdjustBySize
public java.lang.Boolean isAdjustBySize()
setAdjustBySize
public void setAdjustBySize(java.lang.Boolean adjustBySize)