Class ChipViewSkin<T>

java.lang.Object
javafx.scene.control.SkinBase<ChipView<T>>
com.dlsc.gemsfx.skins.GemsSkinBase<ChipView<T>>
com.dlsc.gemsfx.skins.ChipViewSkin<T>
Type Parameters:
T - the chip value type
All Implemented Interfaces:
javafx.scene.control.Skin<ChipView<T>>

public class ChipViewSkin<T> extends GemsSkinBase<ChipView<T>>
Skin for the ChipView control.

The skin renders the chip text and graphic and shows a close icon when the control has a close handler.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a skin for the given chip view.
  • Method Summary

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, 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 Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChipViewSkin

      public ChipViewSkin(ChipView<T> chip)
      Creates a skin for the given chip view.
      Parameters:
      chip - the chip view rendered by this skin