public class VisualOutlineGeometryProvider extends java.lang.Object implements IAdaptable.Bound<IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>>, com.google.inject.Provider<IGeometry>
VisualOutlineGeometryProvider
can be registered on an
IVisualPart
to provide an IGeometry
based on the outline of
the part's visualization.Constructor and Description |
---|
VisualOutlineGeometryProvider() |
Modifier and Type | Method and Description |
---|---|
IGeometry |
get() |
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
getAdaptable() |
protected IGeometry |
getGeometry(javafx.scene.Node visual)
Returns an
IGeometry representing the outline (or tight) bounds
of the passed in visual Node , within the local coordinate space
of that Node . |
void |
setAdaptable(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> adaptable) |
public IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> getAdaptable()
getAdaptable
in interface IAdaptable.Bound<IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>>
protected IGeometry getGeometry(javafx.scene.Node visual)
IGeometry
representing the outline (or tight) bounds
of the passed in visual Node
, within the local coordinate space
of that Node
.visual
- The Node
for which to retrieve the tight bounds.IGeometry
representing the tight bounds.public void setAdaptable(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> adaptable)
setAdaptable
in interface IAdaptable.Bound<IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>>
Copyright (c) 2014 itemis AG and others. All rights reserved.