public class LabelAdjust extends AbstractLayout implements Layout
| Constructor and Description |
|---|
LabelAdjust(LayoutBuilder layoutBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
endAlgo()
Called when the algorithm is finished (canAlgo() returns false).
|
LayoutProperty[] |
getProperties()
The properties for this layout.
|
Double |
getSpeed() |
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).
|
Boolean |
isAdjustBySize() |
void |
resetPropertiesValues()
Resets the properties values to the default values.
|
void |
setAdjustBySize(Boolean adjustBySize) |
void |
setSpeed(Double speed) |
canAlgo, ensureSafeLayoutNodePositions, getBuilder, isConverged, setConverged, setGraphModelequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanAlgo, getBuilder, setGraphModelpublic LabelAdjust(LayoutBuilder layoutBuilder)
public void resetPropertiesValues()
LayoutresetPropertiesValues in interface Layoutpublic void initAlgo()
Layoutpublic void goAlgo()
Layoutpublic void endAlgo()
Layoutpublic LayoutProperty[] getProperties()
LayoutgetProperties in interface Layoutpublic Double getSpeed()
public void setSpeed(Double speed)
public Boolean isAdjustBySize()
public void setAdjustBySize(Boolean adjustBySize)
Copyright © 2007–2017. All rights reserved.