public interface IAnchorProvider
IAnchorProvider
can provide an IAnchor
for an anchorage
part depending on a given anchored IVisualPart
and a corresponding
role (see get(IVisualPart, String)
for details).Modifier and Type | Method and Description |
---|---|
IAnchor |
get(IVisualPart<? extends javafx.scene.Node> anchoredPart,
java.lang.String role)
Returns an
IAnchor that should be used to provide a position for
the given anchored IVisualPart and the given role. |
IAnchor get(IVisualPart<? extends javafx.scene.Node> anchoredPart, java.lang.String role)
IAnchor
that should be used to provide a position for
the given anchored IVisualPart
and the given role.anchoredPart
- The anchored IVisualPart
which the returned
IAnchor
should provide a position for.role
- The role which the returned IAnchor
should provide a
position for.IAnchor
that should be used to provide a position for
the given anchored IVisualPart
and the given role.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.