y.layout.hierarchic
Class AlignmentDrawer.RightAlignmentDataProvider
java.lang.Object
y.util.DataProviderAdapter
y.layout.hierarchic.AlignmentDrawer.RightAlignmentDataProvider
- All Implemented Interfaces:
- DataProvider
- Enclosing class:
- AlignmentDrawer
public static final class AlignmentDrawer.RightAlignmentDataProvider
- extends DataProviderAdapter
Simple utility class that can be registered with the graph to be laid out.
Instances of this class will make all nodes right-aligned (for left to right 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.RightAlignmentDataProvider
public AlignmentDrawer.RightAlignmentDataProvider()
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