public class SemanticZoomPolicy extends FXChangeViewportPolicy
SemanticZoomPolicy extends the FXChangeViewportPolicy for
associating semantic changes with viewport changes, i.e. opening of
nested/nesting graphs when the zoom level is changed below/above a certain
threshold.adaptableIAdaptable.Bound.Impl<T extends IAdaptable>| Constructor and Description |
|---|
SemanticZoomPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected ITransactionalOperation |
createOperation() |
protected java.util.List<NodePart> |
findNestingNodes()
Returns a
List containing all NodeParts (within the
currently rendered graph) that have a nested graph assigned to them. |
protected FXChangeViewportOperation |
getChangeViewportOperation() |
protected NavigateOperation |
getNavigateOperation()
Returns the
NavigateOperation that is used to open nested/nesting
Graphs. |
void |
init() |
void |
zoomRelative(double relativeZoom,
double sceneX,
double sceneY) |
scrollAbsolute, scrollRelative, zoomAbsolutecheckInitialized, commit, getOperation, isInitialized, locallyExecuteOperation, rollbackadaptableProperty, getAdaptable, getHost, setAdaptableprotected ITransactionalOperation createOperation()
createOperation in class FXChangeViewportPolicyprotected java.util.List<NodePart> findNestingNodes()
List containing all NodeParts (within the
currently rendered graph) that have a nested graph assigned to them.List containing all NodeParts (within the
currently rendered graph) that have a nested graph assigned to
them.protected FXChangeViewportOperation getChangeViewportOperation()
getChangeViewportOperation in class FXChangeViewportPolicyprotected NavigateOperation getNavigateOperation()
NavigateOperation that is used to open nested/nesting
Graphs.NavigateOperation that is used to open nested/nesting
Graphs.public void init()
init in class AbstractTransactionPolicy<javafx.scene.Node>public void zoomRelative(double relativeZoom,
double sceneX,
double sceneY)
zoomRelative in class FXChangeViewportPolicyCopyright (c) 2014 itemis AG and others. All rights reserved.