Module com.gluonhq.charm.glisten
Class AvatarSkin
- java.lang.Object
-
- javafx.scene.control.SkinBase<Avatar>
-
- com.gluonhq.impl.charm.glisten.control.skin.AvatarSkin
-
-
Constructor Summary
Constructors Constructor Description AvatarSkin(Avatar control)
Constructor for all AvatarSkin instances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected void
layoutChildren(double x, double y, double w, double h)
-
Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
-
-
-
Constructor Detail
-
AvatarSkin
public AvatarSkin(Avatar control)
Constructor for all AvatarSkin instances.- Parameters:
control
- The control for which this Skin should attach to.
-
-
Method Detail
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h)
- Overrides:
layoutChildren
in classSkinBase<Avatar>
-
computeMaxWidth
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMaxWidth
in classSkinBase<Avatar>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMaxHeight
in classSkinBase<Avatar>
-
-