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).
Your browser does not support SVG content.
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
Throws UnsupportedOperationException .
Subclasses may override this
method to provide access to double values.
Specified by: getDouble in interface DataProvider Overrides: getDouble in class DataProviderAdapter