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