ScrollPane control.
ScrollPane
| Modifier and Type | Field and Description |
|---|---|
| private final BehaviorBase | |
| private final ChangeListener | |
| pack-priv Rectangle | |
| private double | |
| private DoubleProperty | |
| private DoubleProperty | |
| pack-priv KeyFrame | |
| pack-priv KeyFrame | |
| pack-priv KeyFrame | |
| pack-priv Timeline | |
| private double | |
| private StackPane | |
| private static final double | |
| private static final double | |
| private static final double | |
| private static final double | |
| private boolean | |
| pack-priv ScrollBar | |
| private double | |
| private boolean | |
| private boolean | |
| private double | |
| private final InvalidationListener | |
| private boolean | |
| private double | |
| pack-priv double | |
| pack-priv double | |
| private static final double | |
| private double | |
| private double | |
| pack-priv double | |
| pack-priv double | |
| private Cursor | |
| pack-priv KeyFrame | |
| pack-priv KeyFrame | |
| pack-priv Timeline | |
| private Node | |
| private boolean | |
| private boolean | |
| private StackPane | |
| private StackPane | |
| pack-priv ScrollBar | |
| private boolean | |
| private double | |
| private final WeakChangeListener | |
| private final WeakInvalidationListener |
| Access | Constructor and Description |
|---|---|
| public | ScrollPaneSkin(final ScrollPane
The control that this skin should be installed onto. control)Creates a new ScrollPaneSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| private double | computeHsbSizeHint(ScrollPane sp)
Computes the size that should be reserved for horizontal scrollbar in size hints (min/pref height) |
| protected double | computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable height of the Skin, based on the provided width. |
| protected double | computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable width of the Skin, based on the provided height. |
| protected double | computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred height of this |
| protected double | computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred width of this |
| private void | |
| private void | |
| private double | computeVsbSizeHint(ScrollPane sp)
Computes the size that should be reserved for vertical scrollbar in size hints (min/pref width) |
| private final DoubleProperty | |
| private final DoubleProperty | |
| private boolean | |
| private boolean | |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| private final double | |
| private final double | |
| public final ScrollBar | Returns: the horizontal ScrollBar used in this ScrollPaneSkin instanceReturns the horizontal |
| public final ScrollBar | Returns: the vertical ScrollBar used in this ScrollPaneSkin instanceReturns the vertical |
| private void | |
| private boolean | |
| protected void | layoutChildren(final double x, final double y, final double w, final double h)
Overrides javafx. Called during the layout pass of the scenegraph. |
| protected Object | queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| private void | |
| pack-priv void | |
| private final void | |
| private final void | |
| private void | |
| private void | |
| private void | |
| private double | |
| private double | |
| private void |
| behavior | back to summary |
|---|---|
| private final BehaviorBase<ScrollPane> behavior | |
| boundsChangeListener | back to summary |
|---|---|
| private final ChangeListener<Bounds> boundsChangeListener | |
| clipRect | back to summary |
|---|---|
| pack-priv Rectangle clipRect | |
| contentHeight | back to summary |
|---|---|
| private double contentHeight | |
| contentPosX | back to summary |
|---|---|
| private DoubleProperty contentPosX | |
| contentPosY | back to summary |
|---|---|
| private DoubleProperty contentPosY | |
| contentsToViewKF1 | back to summary |
|---|---|
| pack-priv KeyFrame contentsToViewKF1 | |
| contentsToViewKF2 | back to summary |
|---|---|
| pack-priv KeyFrame contentsToViewKF2 | |
| contentsToViewKF3 | back to summary |
|---|---|
| pack-priv KeyFrame contentsToViewKF3 | |
| contentsToViewTimeline | back to summary |
|---|---|
| pack-priv Timeline contentsToViewTimeline | |
| contentWidth | back to summary |
|---|---|
| private double contentWidth | |
| corner | back to summary |
|---|---|
| private StackPane corner | |
| DEFAULT_EMBEDDED_SB_BREADTH | back to summary |
|---|---|
| private static final double DEFAULT_EMBEDDED_SB_BREADTH | |
| DEFAULT_MIN_SIZE | back to summary |
|---|---|
| private static final double DEFAULT_MIN_SIZE | |
| DEFAULT_PREF_SIZE | back to summary |
|---|---|
| private static final double DEFAULT_PREF_SIZE | |
| DEFAULT_SB_BREADTH | back to summary |
|---|---|
| private static final double DEFAULT_SB_BREADTH | |
| dragDetected | back to summary |
|---|---|
| private boolean dragDetected | |
| hsb | back to summary |
|---|---|
| pack-priv ScrollBar hsb | |
| hsbHeight | back to summary |
|---|---|
| private double hsbHeight | |
| hsbvis | back to summary |
|---|---|
| private boolean hsbvis | |
| mouseDown | back to summary |
|---|---|
| private boolean mouseDown | |
| nodeHeight | back to summary |
|---|---|
| private double nodeHeight | |
| nodeListener | back to summary |
|---|---|
| private final InvalidationListener nodeListener | |
| nodeSizeInvalid | back to summary |
|---|---|
| private boolean nodeSizeInvalid | |
| nodeWidth | back to summary |
|---|---|
| private double nodeWidth | |
| ohvalue | back to summary |
|---|---|
| pack-priv double ohvalue | |
| ovvalue | back to summary |
|---|---|
| pack-priv double ovvalue | |
| PAN_THRESHOLD | back to summary |
|---|---|
| private static final double PAN_THRESHOLD | |
| posX | back to summary |
|---|---|
| private double posX | |
| posY | back to summary |
|---|---|
| private double posY | |
| pressX | back to summary |
|---|---|
| pack-priv double pressX | |
| pressY | back to summary |
|---|---|
| pack-priv double pressY | |
| saveCursor | back to summary |
|---|---|
| private Cursor saveCursor | |
| sbTouchKF1 | back to summary |
|---|---|
| pack-priv KeyFrame sbTouchKF1 | |
| sbTouchKF2 | back to summary |
|---|---|
| pack-priv KeyFrame sbTouchKF2 | |
| sbTouchTimeline | back to summary |
|---|---|
| pack-priv Timeline sbTouchTimeline | |
| scrollNode | back to summary |
|---|---|
| private Node scrollNode | |
| tempVisibility | back to summary |
|---|---|
| private boolean tempVisibility | |
| touchDetected | back to summary |
|---|---|
| private boolean touchDetected | |
| viewContent | back to summary |
|---|---|
| private StackPane viewContent | |
| viewRect | back to summary |
|---|---|
| private StackPane viewRect | |
| vsb | back to summary |
|---|---|
| pack-priv ScrollBar vsb | |
| vsbvis | back to summary |
|---|---|
| private boolean vsbvis | |
| vsbWidth | back to summary |
|---|---|
| private double vsbWidth | |
| weakBoundsChangeListener | back to summary |
|---|---|
| private final WeakChangeListener<Bounds> weakBoundsChangeListener | |
| weakNodeListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakNodeListener | |
| ScrollPaneSkin | back to summary |
|---|---|
| public ScrollPaneSkin(final ScrollPane control) Creates a new ScrollPaneSkin instance, installing the necessary child
nodes into the Control
| |
| computeHsbSizeHint | back to summary |
|---|---|
| private double computeHsbSizeHint(ScrollPane sp) Computes the size that should be reserved for horizontal scrollbar in size hints (min/pref height) | |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable height of the Skin, based on the provided width.
| |
| computeMinWidth | back to summary |
|---|---|
| protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable width of the Skin, based on the provided height.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred height of this
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred width of this
| |
| computeScrollBarSize | back to summary |
|---|---|
| private void computeScrollBarSize() | |
| computeScrollNodeSize | back to summary |
|---|---|
| private void computeScrollNodeSize(double contentWidth, double contentHeight) | |
| computeVsbSizeHint | back to summary |
|---|---|
| private double computeVsbSizeHint(ScrollPane sp) Computes the size that should be reserved for vertical scrollbar in size hints (min/pref width) | |
| contentPosXProperty | back to summary |
|---|---|
| private final DoubleProperty contentPosXProperty() | |
| contentPosYProperty | back to summary |
|---|---|
| private final DoubleProperty contentPosYProperty() | |
| determineHorizontalSBVisible | back to summary |
|---|---|
| private boolean determineHorizontalSBVisible() | |
| determineVerticalSBVisible | back to summary |
|---|---|
| private boolean determineVerticalSBVisible() | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. Called when a previously installed skin is about to be removed from its associated control.
This allows the skin to do clean up, like removing listeners and bindings, and undo any changes
to the control's properties.
After this method completes,
Calling
| |
| getContentPosX | back to summary |
|---|---|
| private final double getContentPosX() | |
| getContentPosY | back to summary |
|---|---|
| private final double getContentPosY() | |
| getHorizontalScrollBar | back to summary |
|---|---|
| public final ScrollBar getHorizontalScrollBar() Returns the horizontal
| |
| getVerticalScrollBar | back to summary |
|---|---|
| public final ScrollBar getVerticalScrollBar() Returns the vertical
| |
| initialize | back to summary |
|---|---|
| private void initialize() | |
| isReverseNodeOrientation | back to summary |
|---|---|
| private boolean isReverseNodeOrientation() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(final double x, final double y, final double w, final double h) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| queryAccessibleAttribute | back to summary |
|---|---|
| protected Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the value for an attribute.
This method is commonly overridden by subclasses to implement
attributes that are required for a specific role.
| |
| resetClip | back to summary |
|---|---|
| private void resetClip() | |
| scrollBoundsIntoView | back to summary |
|---|---|
| pack-priv void scrollBoundsIntoView(Bounds b) | |
| setContentPosX | back to summary |
|---|---|
| private final void setContentPosX(double value) | |
| setContentPosY | back to summary |
|---|---|
| private final void setContentPosY(double value) | |
| startContentsToViewport | back to summary |
|---|---|
| private void startContentsToViewport() | |
| startSBReleasedAnimation | back to summary |
|---|---|
| private void startSBReleasedAnimation() | |
| updateHorizontalSB | back to summary |
|---|---|
| private void updateHorizontalSB() | |
| updatePosX | back to summary |
|---|---|
| private double updatePosX() | |
| updatePosY | back to summary |
|---|---|
| private double updatePosY() | |
| updateVerticalSB | back to summary |
|---|---|
| private void updateVerticalSB() | |