public class RotateLayout extends AbstractLayout implements Layout
| Constructor and Description |
|---|
RotateLayout(LayoutBuilder layoutBuilder,
double angle) |
| Modifier and Type | Method and Description |
|---|---|
void |
endAlgo()
Called when the algorithm is finished (canAlgo() returns false).
|
Double |
getAngle() |
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).
|
void |
resetPropertiesValues()
Resets the properties values to the default values.
|
void |
setAngle(Double angle) |
canAlgo, ensureSafeLayoutNodePositions, getBuilder, isConverged, setConverged, setGraphModelequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanAlgo, getBuilder, setGraphModelpublic RotateLayout(LayoutBuilder layoutBuilder, double angle)
public void initAlgo()
Layoutpublic void goAlgo()
Layoutpublic void endAlgo()
Layoutpublic void resetPropertiesValues()
LayoutresetPropertiesValues in interface Layoutpublic LayoutProperty[] getProperties()
LayoutgetProperties in interface Layoutpublic Double getAngle()
public void setAngle(Double angle)
angle - the angle to setCopyright © 2007–2017. All rights reserved.