java.lang.Object
javafx.scene.control.SkinBase<MFXContextMenuItem>
io.github.palexdev.materialfx.skins.MFXContextMenuItemSkin
- All Implemented Interfaces:
Skin<MFXContextMenuItem>
Skin associated with every
MFXContextMenuItem by default.
This skin is composed of a top container, which is a HBox,
a MFXIconWrapper to contain the icon and two labels to show
the item's text and the accelerator.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, 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
-
MFXContextMenuItemSkin
-
-
Method Details
-
computeMinWidth
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinWidthin classSkinBase<MFXContextMenuItem>
-