Class TileSkinBase<T extends TileBase>

java.lang.Object
javafx.scene.control.SkinBase<T>
atlantafx.base.controls.TileSkinBase<T>
All Implemented Interfaces:
javafx.scene.control.Skin<T>
Direct Known Subclasses:
MessageSkin, TileSkin

public abstract class TileSkinBase<T extends TileBase> extends javafx.scene.control.SkinBase<T>
A common skin for implementing tile-based controls, specifically the MessageSkin and the TileSkin.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final javafx.scene.layout.StackPane
     
    protected final javafx.beans.value.ChangeListener<javafx.scene.Node>
     
    protected final javafx.scene.layout.HBox
     
    protected final javafx.scene.text.TextFlow
     
    protected final javafx.scene.layout.StackPane
     
    protected final javafx.beans.value.ChangeListener<javafx.scene.Node>
     
    protected static final javafx.css.PseudoClass
     
    protected static final javafx.css.PseudoClass
     
    protected static final javafx.css.PseudoClass
     
    protected static final javafx.css.PseudoClass
     
    protected final javafx.scene.layout.VBox
     
    protected final javafx.scene.control.Label
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TileSkinBase(T control)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
     
    protected double
    computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
     
    void
     
    protected void
     

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javafx.scene.control.Skin

    install
  • Field Details

    • HAS_GRAPHIC

      protected static final javafx.css.PseudoClass HAS_GRAPHIC
    • HAS_TITLE

      protected static final javafx.css.PseudoClass HAS_TITLE
    • HAS_DESCRIPTION

      protected static final javafx.css.PseudoClass HAS_DESCRIPTION
    • HAS_ACTION

      protected static final javafx.css.PseudoClass HAS_ACTION
    • container

      protected final javafx.scene.layout.HBox container
    • graphicSlot

      protected final javafx.scene.layout.StackPane graphicSlot
    • graphicSlotListener

      protected final javafx.beans.value.ChangeListener<javafx.scene.Node> graphicSlotListener
    • headerBox

      protected final javafx.scene.layout.VBox headerBox
    • titleLbl

      protected final javafx.scene.control.Label titleLbl
    • descriptionText

      protected final javafx.scene.text.TextFlow descriptionText
    • actionSlot

      protected final javafx.scene.layout.StackPane actionSlot
    • actionSlotListener

      protected final javafx.beans.value.ChangeListener<javafx.scene.Node> actionSlotListener
  • Constructor Details

    • TileSkinBase

      public TileSkinBase(T control)
  • Method Details

    • setDescriptionText

      protected void setDescriptionText()
    • calcHeight

      protected double calcHeight()
    • computeMinHeight

      protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computeMinHeight in class javafx.scene.control.SkinBase<T extends TileBase>
    • dispose

      public void dispose()
      Specified by:
      dispose in interface javafx.scene.control.Skin<T extends TileBase>
      Overrides:
      dispose in class javafx.scene.control.SkinBase<T extends TileBase>