Class MaskedViewSkin
java.lang.Object
javafx.scene.control.SkinBase<MaskedView>
- All Implemented Interfaces:
javafx.scene.control.Skin<MaskedView>
Skin for
MaskedView.
The skin places the view content in a stack pane clipped by left, center, and right rectangles; the edge clips switch between solid and gradient fills to fade overflowing translated content.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected voidlayoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) Methods inherited from class GemsSkinBase
dispose, register, register, register, register, registerFilter, registerHandlerMethods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxWidth, computeMinWidth, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
-
Constructor Details
-
MaskedViewSkin
Creates a skin for the given masked view.- Parameters:
view- the masked view rendered by this skin
-
-
Method Details
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefHeightin classjavafx.scene.control.SkinBase<MaskedView>
-
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinHeightin classjavafx.scene.control.SkinBase<MaskedView>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMaxHeightin classjavafx.scene.control.SkinBase<MaskedView>
-
layoutChildren
protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) - Overrides:
layoutChildrenin classjavafx.scene.control.SkinBase<MaskedView>
-