y.layout.hierarchic
Class AlignmentDrawer.TopAlignmentDataProvider
java.lang.Object
y.util.DataProviderAdapter
y.layout.hierarchic.AlignmentDrawer.TopAlignmentDataProvider
- All Implemented Interfaces:
- DataProvider
- Enclosing class:
- AlignmentDrawer
public static final class AlignmentDrawer.TopAlignmentDataProvider
- extends DataProviderAdapter
Simple utility class that can be registered with the graph to be laid out.
Instances of this class will make all nodes top-aligned (for top to bottom layouts).
Method Summary |
double |
getDouble(Object dataHolder)
Subclasses may override this
method to provide access to double values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlignmentDrawer.TopAlignmentDataProvider
public AlignmentDrawer.TopAlignmentDataProvider()
getDouble
public double getDouble(Object dataHolder)
- Description copied from class:
DataProviderAdapter
- Subclasses may override this
method to provide access to double values.
- Specified by:
getDouble
in interface DataProvider
- Overrides:
getDouble
in class DataProviderAdapter