Search this API

y.layout.hierarchic
Class AlignmentDrawer.BottomAlignmentDataProvider

java.lang.Object
  extended by y.util.DataProviderAdapter
      extended by y.layout.hierarchic.AlignmentDrawer.BottomAlignmentDataProvider
All Implemented Interfaces:
DataProvider
Enclosing class:
AlignmentDrawer

public static final class AlignmentDrawer.BottomAlignmentDataProvider
extends DataProviderAdapter

Simple utility class that can be registered with the graph to be laid out. Instances of this class will make all nodes bottom-aligned (for top to bottom layouts).


Constructor Summary
AlignmentDrawer.BottomAlignmentDataProvider()
           
 
Method Summary
 double getDouble(Object dataHolder)
          Subclasses may override this method to provide access to double values.
 
Methods inherited from class y.util.DataProviderAdapter
defined, get, getBool, getInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlignmentDrawer.BottomAlignmentDataProvider

public AlignmentDrawer.BottomAlignmentDataProvider()
Method Detail

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

© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.