public static interface ChopBoxAnchor.IReferencePointProvider
ChopBoxAnchor.IReferencePointProvider needs to be provided as default adapter
(see AdapterKey.get(Class)) on the IAdaptable info that
gets passed into ChopBoxAnchor.attach(AnchorKey, IAdaptable)
and ChopBoxAnchor.detach(AnchorKey, IAdaptable). The
ChopBoxAnchor.IReferencePointProvider has to provide a reference point for each
AdapterKey that is attached to the ChopBoxAnchor. It
will be used when computing anchor positions for the respective
AnchorKey.| Type | Property and Description |
|---|---|
javafx.beans.property.ReadOnlyMapWrapper<AnchorKey,Point> |
referencePoint
Provides a read-only (map) property with positions (in local
coordinates of the anchored
Node) for all attached
AnchorKeys. |
| Modifier and Type | Interface and Description |
|---|---|
static class |
ChopBoxAnchor.IReferencePointProvider.Impl
A simple
ChopBoxAnchor.IReferencePointProvider implementation that allows to
statically set reference points for AnchorKeys. |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.ReadOnlyMapWrapper<AnchorKey,Point> |
referencePointProperty()
Provides a read-only (map) property with positions (in local
coordinates of the anchored
Node) for all attached
AnchorKeys. |
Copyright (c) 2014 itemis AG and others. All rights reserved.