- java.lang.Object
-
- javafx.scene.Node
-
- javafx.scene.Parent
-
- javafx.scene.layout.Region
-
- javafx.scene.layout.Pane
-
- javafx.scene.layout.AnchorPane
-
- eu.ess.xaos.ui.control.NavigatorController
-
- All Implemented Interfaces:
Styleable
,EventTarget
public class NavigatorController extends AnchorPane
A JavaFX control with 9 buttons to navigate a graphical area. Zoom, pan and undo/redo buttons are provided and can be bound to the application code through the providedEventHandler
methods.The navigation buttons can be activated by means of keyboard accelerators (Shortcut stands for Ctrl on Windows or Linux, and Command on macOS):
Pan Down Shortcut+DOWN Pan Left Shortcut+LEFT Pan Right Shortcut+RIGHT Pan Up Shortcut+UP Redo Shift+Shortcut+Z Undo Shortcut+Z Zoom In Shift+Shortcut+UP Zoom Out Shift+Shortcut+DOWN Zoom To One Shortcut+EQUALS - Author:
- claudio.rosati@esss.se
-
-
Property Summary
Properties Type Property Description ObjectProperty<EventHandler<Event>>
onPanDown
Called when thepanDown
button is pressed.ObjectProperty<EventHandler<Event>>
onPanLeft
Called when thepanLeft
button is pressed.ObjectProperty<EventHandler<Event>>
onPanRight
Called when thepanRight
button is pressed.ObjectProperty<EventHandler<Event>>
onPanUp
Called when thepanUp
button is pressed.ObjectProperty<EventHandler<Event>>
onRedo
Called when theredo
button is pressed.ObjectProperty<EventHandler<Event>>
onUndo
Called when theundo
button is pressed.ObjectProperty<EventHandler<Event>>
onZoomIn
Called when thezoomIn
button is pressed.ObjectProperty<EventHandler<Event>>
onZoomOut
Called when thezoomOut
button is pressed.ObjectProperty<EventHandler<Event>>
onZoomToOne
Called when thezoomToOne
button is pressed.BooleanProperty
panDownDisabled
Indicates whether or not thepanDown
button is disabled.BooleanProperty
panLeftDisabled
Indicates whether or not thepanLeft
button is disabled.BooleanProperty
panRightDisabled
Indicates whether or not thepanRight
button is disabled.BooleanProperty
panUpDisabled
Indicates whether or not thepanUp
button is disabled.BooleanProperty
redoDisabled
Indicates whether or not theredo
button is disabled.BooleanProperty
undoDisabled
Indicates whether or not theundo
button is disabled.BooleanProperty
zoomInDisabled
Indicates whether or not thezoomIn
button is disabled.BooleanProperty
zoomOutDisabled
Indicates whether or not thezoomOut
button is disabled.BooleanProperty
zoomToOneDisabled
Indicates whether or not thezoomToOne
button is disabled.-
Properties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width
-
Properties inherited from class javafx.scene.Parent
needsLayout
-
Properties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
-
-
Field Summary
Fields Modifier and Type Field Description static EventType<Event>
ON_PAN_DOWN
Called when the navigator'spanDown
button is pressed.static EventType<Event>
ON_PAN_LEFT
Called when the navigator'spanLeft
button is pressed.static EventType<Event>
ON_PAN_RIGHT
Called when the navigator'spanRight
button is pressed.static EventType<Event>
ON_PAN_UP
Called when the navigator'spanUp
button is pressed.static EventType<Event>
ON_REDO
Called when the navigator'sredo
button is pressed.static EventType<Event>
ON_UNDO
Called when the navigator'sundo
button is pressed.static EventType<Event>
ON_ZOOM_IN
Called when the navigator'szoomIn
button is pressed.static EventType<Event>
ON_ZOOM_OUT
Called when the navigator'szoomOut
button is pressed.static EventType<Event>
ON_ZOOM_TO_ONE
Called when the navigator'szoomToOne
button is pressed.static KeyCombination
PAN_DOWN_ACCELERATOR
static KeyCombination
PAN_LEFT_ACCELERATOR
static KeyCombination
PAN_RIGHT_ACCELERATOR
static KeyCombination
PAN_UP_ACCELERATOR
static KeyCombination
REDO_ACCELERATOR
static KeyCombination
UNDO_ACCELERATOR
static KeyCombination
ZOOM_IN_ACCELERATOR
static KeyCombination
ZOOM_OUT_ACCELERATOR
static KeyCombination
ZOOM_TO_ONE_ACCELERATOR
-
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZE
-
Fields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT
-
-
Constructor Summary
Constructors Constructor Description NavigatorController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventHandler<Event>
getOnPanDown()
Gets the value of the property onPanDown.EventHandler<Event>
getOnPanLeft()
Gets the value of the property onPanLeft.EventHandler<Event>
getOnPanRight()
Gets the value of the property onPanRight.EventHandler<Event>
getOnPanUp()
Gets the value of the property onPanUp.EventHandler<Event>
getOnRedo()
Gets the value of the property onRedo.EventHandler<Event>
getOnUndo()
Gets the value of the property onUndo.EventHandler<Event>
getOnZoomIn()
Gets the value of the property onZoomIn.EventHandler<Event>
getOnZoomOut()
Gets the value of the property onZoomOut.EventHandler<Event>
getOnZoomToOne()
Gets the value of the property onZoomToOne.boolean
isPanDownDisabled()
Gets the value of the property panDownDisabled.boolean
isPanLeftDisabled()
Gets the value of the property panLeftDisabled.boolean
isPanRightDisabled()
Gets the value of the property panRightDisabled.boolean
isPanUpDisabled()
Gets the value of the property panUpDisabled.boolean
isRedoDisabled()
Gets the value of the property redoDisabled.boolean
isUndoDisabled()
Gets the value of the property undoDisabled.boolean
isZoomInDisabled()
Gets the value of the property zoomInDisabled.boolean
isZoomOutDisabled()
Gets the value of the property zoomOutDisabled.boolean
isZoomToOneDisabled()
Gets the value of the property zoomToOneDisabled.ObjectProperty<EventHandler<Event>>
onPanDownProperty()
Called when thepanDown
button is pressed.ObjectProperty<EventHandler<Event>>
onPanLeftProperty()
Called when thepanLeft
button is pressed.ObjectProperty<EventHandler<Event>>
onPanRightProperty()
Called when thepanRight
button is pressed.ObjectProperty<EventHandler<Event>>
onPanUpProperty()
Called when thepanUp
button is pressed.ObjectProperty<EventHandler<Event>>
onRedoProperty()
Called when theredo
button is pressed.ObjectProperty<EventHandler<Event>>
onUndoProperty()
Called when theundo
button is pressed.ObjectProperty<EventHandler<Event>>
onZoomInProperty()
Called when thezoomIn
button is pressed.ObjectProperty<EventHandler<Event>>
onZoomOutProperty()
Called when thezoomOut
button is pressed.ObjectProperty<EventHandler<Event>>
onZoomToOneProperty()
Called when thezoomToOne
button is pressed.BooleanProperty
panDownDisabledProperty()
Indicates whether or not thepanDown
button is disabled.BooleanProperty
panLeftDisabledProperty()
Indicates whether or not thepanLeft
button is disabled.BooleanProperty
panRightDisabledProperty()
Indicates whether or not thepanRight
button is disabled.BooleanProperty
panUpDisabledProperty()
Indicates whether or not thepanUp
button is disabled.BooleanProperty
redoDisabledProperty()
Indicates whether or not theredo
button is disabled.void
setOnPanDown(EventHandler<Event> value)
Sets the value of the property onPanDown.void
setOnPanLeft(EventHandler<Event> value)
Sets the value of the property onPanLeft.void
setOnPanRight(EventHandler<Event> value)
Sets the value of the property onPanRight.void
setOnPanUp(EventHandler<Event> value)
Sets the value of the property onPanUp.void
setOnRedo(EventHandler<Event> value)
Sets the value of the property onRedo.void
setOnUndo(EventHandler<Event> value)
Sets the value of the property onUndo.void
setOnZoomIn(EventHandler<Event> value)
Sets the value of the property onZoomIn.void
setOnZoomOut(EventHandler<Event> value)
Sets the value of the property onZoomOut.void
setOnZoomToOne(EventHandler<Event> value)
Sets the value of the property onZoomToOne.void
setPanDownDisabled(boolean disabled)
Sets the value of the property panDownDisabled.void
setPanLeftDisabled(boolean disabled)
Sets the value of the property panLeftDisabled.void
setPanRightDisabled(boolean disabled)
Sets the value of the property panRightDisabled.void
setPanUpDisabled(boolean disabled)
Sets the value of the property panUpDisabled.void
setRedoDisabled(boolean disabled)
Sets the value of the property redoDisabled.void
setUndoDisabled(boolean disabled)
Sets the value of the property undoDisabled.void
setZoomInDisabled(boolean disabled)
Sets the value of the property zoomInDisabled.void
setZoomOutDisabled(boolean disabled)
Sets the value of the property zoomOutDisabled.void
setZoomToOneDisabled(boolean disabled)
Sets the value of the property zoomToOneDisabled.BooleanProperty
undoDisabledProperty()
Indicates whether or not theundo
button is disabled.BooleanProperty
zoomInDisabledProperty()
Indicates whether or not thezoomIn
button is disabled.BooleanProperty
zoomOutDisabledProperty()
Indicates whether or not thezoomOut
button is disabled.BooleanProperty
zoomToOneDisabledProperty()
Indicates whether or not thezoomToOne
button is disabled.-
Methods inherited from class javafx.scene.layout.AnchorPane
clearConstraints, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getBottomAnchor, getLeftAnchor, getRightAnchor, getTopAnchor, layoutChildren, setBottomAnchor, setLeftAnchor, setRightAnchor, setTopAnchor
-
Methods inherited from class javafx.scene.layout.Pane
getChildren
-
Methods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getClassCssMetaData, getCssMetaData, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
-
Methods inherited from class javafx.scene.Parent
getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
-
Methods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javafx.css.Styleable
getStyleableNode
-
-
-
-
Property Detail
-
onPanDown
public final ObjectProperty<EventHandler<Event>> onPanDownProperty
Called when thepanDown
button is pressed.- See Also:
getOnPanDown()
,setOnPanDown(EventHandler)
-
onPanLeft
public final ObjectProperty<EventHandler<Event>> onPanLeftProperty
Called when thepanLeft
button is pressed.- See Also:
getOnPanLeft()
,setOnPanLeft(EventHandler)
-
onPanRight
public final ObjectProperty<EventHandler<Event>> onPanRightProperty
Called when thepanRight
button is pressed.- See Also:
getOnPanRight()
,setOnPanRight(EventHandler)
-
onPanUp
public final ObjectProperty<EventHandler<Event>> onPanUpProperty
Called when thepanUp
button is pressed.- See Also:
getOnPanUp()
,setOnPanUp(EventHandler)
-
onRedo
public final ObjectProperty<EventHandler<Event>> onRedoProperty
Called when theredo
button is pressed.- See Also:
getOnRedo()
,setOnRedo(EventHandler)
-
onUndo
public final ObjectProperty<EventHandler<Event>> onUndoProperty
Called when theundo
button is pressed.- See Also:
getOnUndo()
,setOnUndo(EventHandler)
-
onZoomIn
public final ObjectProperty<EventHandler<Event>> onZoomInProperty
Called when thezoomIn
button is pressed.- See Also:
getOnZoomIn()
,setOnZoomIn(EventHandler)
-
onZoomOut
public final ObjectProperty<EventHandler<Event>> onZoomOutProperty
Called when thezoomOut
button is pressed.- See Also:
getOnZoomOut()
,setOnZoomOut(EventHandler)
-
onZoomToOne
public final ObjectProperty<EventHandler<Event>> onZoomToOneProperty
Called when thezoomToOne
button is pressed.- See Also:
getOnZoomToOne()
,setOnZoomToOne(EventHandler)
-
panDownDisabled
public final BooleanProperty panDownDisabledProperty
Indicates whether or not thepanDown
button is disabled.- See Also:
isPanDownDisabled()
,setPanDownDisabled(boolean)
-
panLeftDisabled
public final BooleanProperty panLeftDisabledProperty
Indicates whether or not thepanLeft
button is disabled.- See Also:
isPanLeftDisabled()
,setPanLeftDisabled(boolean)
-
panRightDisabled
public final BooleanProperty panRightDisabledProperty
Indicates whether or not thepanRight
button is disabled.- See Also:
isPanRightDisabled()
,setPanRightDisabled(boolean)
-
panUpDisabled
public final BooleanProperty panUpDisabledProperty
Indicates whether or not thepanUp
button is disabled.- See Also:
isPanUpDisabled()
,setPanUpDisabled(boolean)
-
redoDisabled
public final BooleanProperty redoDisabledProperty
Indicates whether or not theredo
button is disabled.- See Also:
isRedoDisabled()
,setRedoDisabled(boolean)
-
undoDisabled
public final BooleanProperty undoDisabledProperty
Indicates whether or not theundo
button is disabled.- See Also:
isUndoDisabled()
,setUndoDisabled(boolean)
-
zoomInDisabled
public final BooleanProperty zoomInDisabledProperty
Indicates whether or not thezoomIn
button is disabled.- See Also:
isZoomInDisabled()
,setZoomInDisabled(boolean)
-
zoomOutDisabled
public final BooleanProperty zoomOutDisabledProperty
Indicates whether or not thezoomOut
button is disabled.- See Also:
isZoomOutDisabled()
,setZoomOutDisabled(boolean)
-
zoomToOneDisabled
public final BooleanProperty zoomToOneDisabledProperty
Indicates whether or not thezoomToOne
button is disabled.
-
-
Field Detail
-
ON_PAN_DOWN
public static final EventType<Event> ON_PAN_DOWN
Called when the navigator'spanDown
button is pressed.
-
ON_PAN_LEFT
public static final EventType<Event> ON_PAN_LEFT
Called when the navigator'spanLeft
button is pressed.
-
ON_PAN_RIGHT
public static final EventType<Event> ON_PAN_RIGHT
Called when the navigator'spanRight
button is pressed.
-
ON_PAN_UP
public static final EventType<Event> ON_PAN_UP
Called when the navigator'spanUp
button is pressed.
-
ON_REDO
public static final EventType<Event> ON_REDO
Called when the navigator'sredo
button is pressed.
-
ON_UNDO
public static final EventType<Event> ON_UNDO
Called when the navigator'sundo
button is pressed.
-
ON_ZOOM_IN
public static final EventType<Event> ON_ZOOM_IN
Called when the navigator'szoomIn
button is pressed.
-
ON_ZOOM_OUT
public static final EventType<Event> ON_ZOOM_OUT
Called when the navigator'szoomOut
button is pressed.
-
ON_ZOOM_TO_ONE
public static final EventType<Event> ON_ZOOM_TO_ONE
Called when the navigator'szoomToOne
button is pressed.
-
PAN_DOWN_ACCELERATOR
public static final KeyCombination PAN_DOWN_ACCELERATOR
-
PAN_LEFT_ACCELERATOR
public static final KeyCombination PAN_LEFT_ACCELERATOR
-
PAN_RIGHT_ACCELERATOR
public static final KeyCombination PAN_RIGHT_ACCELERATOR
-
PAN_UP_ACCELERATOR
public static final KeyCombination PAN_UP_ACCELERATOR
-
REDO_ACCELERATOR
public static final KeyCombination REDO_ACCELERATOR
-
UNDO_ACCELERATOR
public static final KeyCombination UNDO_ACCELERATOR
-
ZOOM_IN_ACCELERATOR
public static final KeyCombination ZOOM_IN_ACCELERATOR
-
ZOOM_OUT_ACCELERATOR
public static final KeyCombination ZOOM_OUT_ACCELERATOR
-
ZOOM_TO_ONE_ACCELERATOR
public static final KeyCombination ZOOM_TO_ONE_ACCELERATOR
-
-
Method Detail
-
onPanDownProperty
public final ObjectProperty<EventHandler<Event>> onPanDownProperty()
Called when thepanDown
button is pressed.- See Also:
getOnPanDown()
,setOnPanDown(EventHandler)
-
getOnPanDown
public final EventHandler<Event> getOnPanDown()
Gets the value of the property onPanDown.- Property description:
- Called when the
panDown
button is pressed.
-
setOnPanDown
public final void setOnPanDown(EventHandler<Event> value)
Sets the value of the property onPanDown.- Property description:
- Called when the
panDown
button is pressed.
-
onPanLeftProperty
public final ObjectProperty<EventHandler<Event>> onPanLeftProperty()
Called when thepanLeft
button is pressed.- See Also:
getOnPanLeft()
,setOnPanLeft(EventHandler)
-
getOnPanLeft
public final EventHandler<Event> getOnPanLeft()
Gets the value of the property onPanLeft.- Property description:
- Called when the
panLeft
button is pressed.
-
setOnPanLeft
public final void setOnPanLeft(EventHandler<Event> value)
Sets the value of the property onPanLeft.- Property description:
- Called when the
panLeft
button is pressed.
-
onPanRightProperty
public final ObjectProperty<EventHandler<Event>> onPanRightProperty()
Called when thepanRight
button is pressed.- See Also:
getOnPanRight()
,setOnPanRight(EventHandler)
-
getOnPanRight
public final EventHandler<Event> getOnPanRight()
Gets the value of the property onPanRight.- Property description:
- Called when the
panRight
button is pressed.
-
setOnPanRight
public final void setOnPanRight(EventHandler<Event> value)
Sets the value of the property onPanRight.- Property description:
- Called when the
panRight
button is pressed.
-
onPanUpProperty
public final ObjectProperty<EventHandler<Event>> onPanUpProperty()
Called when thepanUp
button is pressed.- See Also:
getOnPanUp()
,setOnPanUp(EventHandler)
-
getOnPanUp
public final EventHandler<Event> getOnPanUp()
Gets the value of the property onPanUp.- Property description:
- Called when the
panUp
button is pressed.
-
setOnPanUp
public final void setOnPanUp(EventHandler<Event> value)
Sets the value of the property onPanUp.- Property description:
- Called when the
panUp
button is pressed.
-
onRedoProperty
public final ObjectProperty<EventHandler<Event>> onRedoProperty()
Called when theredo
button is pressed.- See Also:
getOnRedo()
,setOnRedo(EventHandler)
-
getOnRedo
public final EventHandler<Event> getOnRedo()
Gets the value of the property onRedo.- Property description:
- Called when the
redo
button is pressed.
-
setOnRedo
public final void setOnRedo(EventHandler<Event> value)
Sets the value of the property onRedo.- Property description:
- Called when the
redo
button is pressed.
-
onUndoProperty
public final ObjectProperty<EventHandler<Event>> onUndoProperty()
Called when theundo
button is pressed.- See Also:
getOnUndo()
,setOnUndo(EventHandler)
-
getOnUndo
public final EventHandler<Event> getOnUndo()
Gets the value of the property onUndo.- Property description:
- Called when the
undo
button is pressed.
-
setOnUndo
public final void setOnUndo(EventHandler<Event> value)
Sets the value of the property onUndo.- Property description:
- Called when the
undo
button is pressed.
-
onZoomInProperty
public final ObjectProperty<EventHandler<Event>> onZoomInProperty()
Called when thezoomIn
button is pressed.- See Also:
getOnZoomIn()
,setOnZoomIn(EventHandler)
-
getOnZoomIn
public final EventHandler<Event> getOnZoomIn()
Gets the value of the property onZoomIn.- Property description:
- Called when the
zoomIn
button is pressed.
-
setOnZoomIn
public final void setOnZoomIn(EventHandler<Event> value)
Sets the value of the property onZoomIn.- Property description:
- Called when the
zoomIn
button is pressed.
-
onZoomOutProperty
public final ObjectProperty<EventHandler<Event>> onZoomOutProperty()
Called when thezoomOut
button is pressed.- See Also:
getOnZoomOut()
,setOnZoomOut(EventHandler)
-
getOnZoomOut
public final EventHandler<Event> getOnZoomOut()
Gets the value of the property onZoomOut.- Property description:
- Called when the
zoomOut
button is pressed.
-
setOnZoomOut
public final void setOnZoomOut(EventHandler<Event> value)
Sets the value of the property onZoomOut.- Property description:
- Called when the
zoomOut
button is pressed.
-
onZoomToOneProperty
public final ObjectProperty<EventHandler<Event>> onZoomToOneProperty()
Called when thezoomToOne
button is pressed.- See Also:
getOnZoomToOne()
,setOnZoomToOne(EventHandler)
-
getOnZoomToOne
public final EventHandler<Event> getOnZoomToOne()
Gets the value of the property onZoomToOne.- Property description:
- Called when the
zoomToOne
button is pressed.
-
setOnZoomToOne
public final void setOnZoomToOne(EventHandler<Event> value)
Sets the value of the property onZoomToOne.- Property description:
- Called when the
zoomToOne
button is pressed.
-
panDownDisabledProperty
public final BooleanProperty panDownDisabledProperty()
Indicates whether or not thepanDown
button is disabled.- See Also:
isPanDownDisabled()
,setPanDownDisabled(boolean)
-
isPanDownDisabled
public final boolean isPanDownDisabled()
Gets the value of the property panDownDisabled.- Property description:
- Indicates whether or not the
panDown
button is disabled.
-
setPanDownDisabled
public final void setPanDownDisabled(boolean disabled)
Sets the value of the property panDownDisabled.- Property description:
- Indicates whether or not the
panDown
button is disabled.
-
panLeftDisabledProperty
public final BooleanProperty panLeftDisabledProperty()
Indicates whether or not thepanLeft
button is disabled.- See Also:
isPanLeftDisabled()
,setPanLeftDisabled(boolean)
-
isPanLeftDisabled
public final boolean isPanLeftDisabled()
Gets the value of the property panLeftDisabled.- Property description:
- Indicates whether or not the
panLeft
button is disabled.
-
setPanLeftDisabled
public final void setPanLeftDisabled(boolean disabled)
Sets the value of the property panLeftDisabled.- Property description:
- Indicates whether or not the
panLeft
button is disabled.
-
panRightDisabledProperty
public final BooleanProperty panRightDisabledProperty()
Indicates whether or not thepanRight
button is disabled.- See Also:
isPanRightDisabled()
,setPanRightDisabled(boolean)
-
isPanRightDisabled
public final boolean isPanRightDisabled()
Gets the value of the property panRightDisabled.- Property description:
- Indicates whether or not the
panRight
button is disabled.
-
setPanRightDisabled
public final void setPanRightDisabled(boolean disabled)
Sets the value of the property panRightDisabled.- Property description:
- Indicates whether or not the
panRight
button is disabled.
-
panUpDisabledProperty
public final BooleanProperty panUpDisabledProperty()
Indicates whether or not thepanUp
button is disabled.- See Also:
isPanUpDisabled()
,setPanUpDisabled(boolean)
-
isPanUpDisabled
public final boolean isPanUpDisabled()
Gets the value of the property panUpDisabled.- Property description:
- Indicates whether or not the
panUp
button is disabled.
-
setPanUpDisabled
public final void setPanUpDisabled(boolean disabled)
Sets the value of the property panUpDisabled.- Property description:
- Indicates whether or not the
panUp
button is disabled.
-
redoDisabledProperty
public final BooleanProperty redoDisabledProperty()
Indicates whether or not theredo
button is disabled.- See Also:
isRedoDisabled()
,setRedoDisabled(boolean)
-
isRedoDisabled
public final boolean isRedoDisabled()
Gets the value of the property redoDisabled.- Property description:
- Indicates whether or not the
redo
button is disabled.
-
setRedoDisabled
public final void setRedoDisabled(boolean disabled)
Sets the value of the property redoDisabled.- Property description:
- Indicates whether or not the
redo
button is disabled.
-
undoDisabledProperty
public final BooleanProperty undoDisabledProperty()
Indicates whether or not theundo
button is disabled.- See Also:
isUndoDisabled()
,setUndoDisabled(boolean)
-
isUndoDisabled
public final boolean isUndoDisabled()
Gets the value of the property undoDisabled.- Property description:
- Indicates whether or not the
undo
button is disabled.
-
setUndoDisabled
public final void setUndoDisabled(boolean disabled)
Sets the value of the property undoDisabled.- Property description:
- Indicates whether or not the
undo
button is disabled.
-
zoomInDisabledProperty
public final BooleanProperty zoomInDisabledProperty()
Indicates whether or not thezoomIn
button is disabled.- See Also:
isZoomInDisabled()
,setZoomInDisabled(boolean)
-
isZoomInDisabled
public final boolean isZoomInDisabled()
Gets the value of the property zoomInDisabled.- Property description:
- Indicates whether or not the
zoomIn
button is disabled.
-
setZoomInDisabled
public final void setZoomInDisabled(boolean disabled)
Sets the value of the property zoomInDisabled.- Property description:
- Indicates whether or not the
zoomIn
button is disabled.
-
zoomOutDisabledProperty
public final BooleanProperty zoomOutDisabledProperty()
Indicates whether or not thezoomOut
button is disabled.- See Also:
isZoomOutDisabled()
,setZoomOutDisabled(boolean)
-
isZoomOutDisabled
public final boolean isZoomOutDisabled()
Gets the value of the property zoomOutDisabled.- Property description:
- Indicates whether or not the
zoomOut
button is disabled.
-
setZoomOutDisabled
public final void setZoomOutDisabled(boolean disabled)
Sets the value of the property zoomOutDisabled.- Property description:
- Indicates whether or not the
zoomOut
button is disabled.
-
zoomToOneDisabledProperty
public final BooleanProperty zoomToOneDisabledProperty()
Indicates whether or not thezoomToOne
button is disabled.
-
isZoomToOneDisabled
public final boolean isZoomToOneDisabled()
Gets the value of the property zoomToOneDisabled.- Property description:
- Indicates whether or not the
zoomToOne
button is disabled.
-
setZoomToOneDisabled
public final void setZoomToOneDisabled(boolean disabled)
Sets the value of the property zoomToOneDisabled.- Property description:
- Indicates whether or not the
zoomToOne
button is disabled.
-
-