|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.radial.RadialLayouter.NodeInfo
public static class RadialLayouter.NodeInfo
Info object used for retrieving information about each node from the layout algorithm.
The information can be retrieved by registering with the graph a DataProvider (which should also implement
the DataAcceptor interface) using key RadialLayouter.NODE_INFO_DPKEY. The layout algorithm will return a
RadialLayouter.NodeInfo object with appropriately filled fields for each Node when the layout is calculated.

| Constructor Summary | |
|---|---|
RadialLayouter.NodeInfo()
Creates a new RadialLayouter.NodeInfo instance. |
|
| Method Summary | |
|---|---|
YPoint |
getCenterOffset()
Returns the offset from the center of the circle, the node is placed on, to the center of the node. |
int |
getCircleIndex()
Returns the index of the circle the node is placed on. |
double |
getRadius()
Returns the radius of the circle the node is placed on. |
double |
getSectorSize()
Return the size in degrees of the sector the node is placed in. |
double |
getSectorStart()
Returns the start angle in degrees of the sector the node is placed in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RadialLayouter.NodeInfo()
RadialLayouter.NodeInfo instance.
| Method Detail |
|---|
public int getCircleIndex()
RadialLayouter are indexed from the innermost to the outermost circle. Index 0
represents the center, i.e. the circle with radius 0.
public double getRadius()
public YPoint getCenterOffset()
public double getSectorStart()
getSectorSize()public double getSectorSize()
getSectorStart()
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||