| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.util.DataProviderAdapter
y.layout.hierarchic.AlignmentDrawer.TopAlignmentDataProvider
public static final class AlignmentDrawer.TopAlignmentDataProvider
A DataProvider that will make all nodes top-aligned (in top-to-bottom layouts) when registered.
| Constructor Summary | |
|---|---|
| AlignmentDrawer.TopAlignmentDataProvider()Creates a AlignmentDrawer.TopAlignmentDataProviderinstance. | |
| Method Summary | |
|---|---|
|  double | getDouble(java.lang.Object dataHolder)Returns a double value that corresponds to top alignment. | 
| 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 | 
|---|
public AlignmentDrawer.TopAlignmentDataProvider()
AlignmentDrawer.TopAlignmentDataProvider instance.
| Method Detail | 
|---|
public double getDouble(java.lang.Object dataHolder)
   This value is equal to (-height(dataHolder) / 2).
 
getDouble in interface DataProvidergetDouble in class DataProviderAdapterdataHolder - the node object
| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||