public class HiddenSidesPane extends Control
setTriggerDistance(double)) of the
pane. The hidden node will appear (at its preferred width or height) with a
short slide-in animation. The node will disappear again as soon as the mouse
cursor exits it. A hidden node / side can also be pinned by calling
setPinnedSide(Side). It will remain visible as long as it stays
pinned.
HiddenSidesPane pane = new HiddenSidesPane(); pane.setContent(new TableView()); pane.setRight(new ListView());
| Type | Property and Description |
|---|---|
ObjectProperty<Node> |
bottom
Returns the value of the bottom node property.
|
ObjectProperty<Node> |
content
The property that is used to store a reference to the content node.
|
ObjectProperty<Node> |
left
Returns the value of the left node property.
|
ObjectProperty<Side> |
pinnedSide
Returns the pinned side property.
|
ObjectProperty<Node> |
right
Returns the value of the right node property.
|
ObjectProperty<Node> |
top
The property used to store a reference to the node shown at the top side
of the pane.
|
DoubleProperty |
triggerDistance
The property that stores the distance to the pane's edges that will
trigger the apperance of the hidden side nodes.
|
contextMenuProperty, skinClassNameProperty, skinProperty, tooltipPropertybackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthPropertyimpl_traversalEngineProperty, needsLayoutPropertyblendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, nodeOrientationProperty, 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, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visiblePropertyUSE_COMPUTED_SIZE, USE_PREF_SIZEBASELINE_OFFSET_SAME_AS_HEIGHT| Constructor and Description |
|---|
HiddenSidesPane()
Constructs a new pane with no content and no side nodes.
|
HiddenSidesPane(Node content,
Node top,
Node right,
Node bottom,
Node left)
Constructs a new pane with the given content node and the four side
nodes.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectProperty<Node> |
bottomProperty()
Returns the value of the bottom node property.
|
ObjectProperty<Node> |
contentProperty()
The property that is used to store a reference to the content node.
|
protected Skin<?> |
createDefaultSkin() |
Node |
getBottom()
Returns the value of the bottom node property.
|
Node |
getContent()
Returns the value of the content node property.
|
Node |
getLeft()
Returns the value of the left node property.
|
Side |
getPinnedSide()
Returns the value of the pinned side property.
|
Node |
getRight()
Returns the value of the right node property.
|
Node |
getTop()
Returns the value of the top node property.
|
double |
getTriggerDistance()
Returns the value of the trigger distance property.
|
ObjectProperty<Node> |
leftProperty()
Returns the value of the left node property.
|
ObjectProperty<Side> |
pinnedSideProperty()
Returns the pinned side property.
|
ObjectProperty<Node> |
rightProperty()
Returns the value of the right node property.
|
void |
setBottom(Node bottom)
Sets the value of the bottom node property.
|
void |
setContent(Node content)
Sets the value of the content node property.
|
void |
setLeft(Node left)
Sets the value of the left node property.
|
void |
setPinnedSide(Side side)
Sets the value of the pinned side property.
|
void |
setRight(Node right)
Sets the value of the right node property.
|
void |
setTop(Node top)
Sets the value of the top node property.
|
void |
setTriggerDistance(double distance)
Set the value of the trigger distance property.
|
ObjectProperty<Node> |
topProperty()
The property used to store a reference to the node shown at the top side
of the pane.
|
DoubleProperty |
triggerDistanceProperty()
The property that stores the distance to the pane's edges that will
trigger the apperance of the hidden side nodes.
|
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getSkin, getTooltip, getUserAgentStylesheet, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinClassNameProperty, skinProperty, tooltipPropertybackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, 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, snapSize, snapSpace, snapToPixelProperty, widthPropertygetChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBoundsaddEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, 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, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_geomChanged, impl_getAccessible, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, 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, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, 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, screenToLocal, screenToLocal, screenToLocal, 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, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visiblePropertypublic final DoubleProperty triggerDistanceProperty
getTriggerDistance(),
setTriggerDistance(double)public final ObjectProperty<Node> contentProperty
getContent(),
setContent(Node)public final ObjectProperty<Node> topProperty
getTop(),
setTop(Node)public final ObjectProperty<Node> rightProperty
public final ObjectProperty<Node> bottomProperty
public final ObjectProperty<Node> leftProperty
public final ObjectProperty<Side> pinnedSideProperty
getPinnedSide(),
setPinnedSide(Side)public HiddenSidesPane(Node content, Node top, Node right, Node bottom, Node left)
content - the primary node that will fill the entire width and height of
the panetop - the hidden node on the top sideright - the hidden node on the right sidebottom - the hidden node on the bottom sideleft - the hidden node on the left sidepublic HiddenSidesPane()
protected Skin<?> createDefaultSkin()
createDefaultSkin in class Controlpublic final DoubleProperty triggerDistanceProperty()
getTriggerDistance(),
setTriggerDistance(double)public final double getTriggerDistance()
public final void setTriggerDistance(double distance)
distance - the new value for the trigger distance propertyIllegalArgumentException - if distance is smaller than zero.public final ObjectProperty<Node> contentProperty()
getContent(),
setContent(Node)public final Node getContent()
public final void setContent(Node content)
content - the new content nodepublic final ObjectProperty<Node> topProperty()
getTop(),
setTop(Node)public final Node getTop()
public final void setTop(Node top)
top - the top node valuepublic final ObjectProperty<Node> rightProperty()
public final Node getRight()
public final void setRight(Node right)
right - the right node valuepublic final ObjectProperty<Node> bottomProperty()
public final Node getBottom()
public final void setBottom(Node bottom)
bottom - the bottom node valuepublic final ObjectProperty<Node> leftProperty()
public final Node getLeft()
public final void setLeft(Node left)
left - the left node valuepublic final ObjectProperty<Side> pinnedSideProperty()
getPinnedSide(),
setPinnedSide(Side)public final Side getPinnedSide()
public final void setPinnedSide(Side side)
side - the new pinned side value