Top Fields Constructors Methods
impl.org.controlsfx.skin

public Class CheckComboBoxSkin<T>

extends SkinBase<CheckComboBox<T>>
Class Inheritance
Imports
impl.org.controlsfx.collections.ReadOnlyUnbackedObservableList, javafx.beans.binding.Bindings, javafx.collections.ListChangeListener, .ObservableList, javafx.scene.control.ComboBox, .ListCell, .ListView, .Skin, .SkinBase, javafx.scene.control.cell.CheckBoxListCell, javafx.scene.control.skin.ComboBoxListViewSkin, javafx.scene.input.KeyCode, .KeyCodeCombination, .KeyCombination, org.controlsfx.control.CheckComboBox, .IndexedCheckModel

Field Summary

Modifier and TypeField and Description
private final ListCell<T>
private final ComboBox<T>
comboBox

fields

private final CheckComboBox<T>
private final ObservableList<T>
private final ReadOnlyUnbackedObservableList<Integer>
private final ReadOnlyUnbackedObservableList<T>

Constructor Summary

AccessConstructor and Description
public
CheckComboBoxSkin(final CheckComboBox<T> control)

Constructors

Method Summary

Modifier and TypeMethod and Description
private String
protected double
computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

Computes the maximum allowable height of the Skin, based on the provided width.

protected double
computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

Computes the maximum allowable width of the Skin, based on the provided height.

protected double
computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinHeight.

Computes the minimum allowable height of the Skin, based on the provided width.

protected double
computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinWidth.

Overriding public API

protected double
computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase.

protected double
computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefWidth.

Calculates the preferred width of this SkinBase.

private Skin<?>
protected String
getTextString()

Implementation

public void
hide()

Hides the internal ComboBox

public void
show()

Shows the internal ComboBox

Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

buttonCellback to summary
private final ListCell<T> buttonCell
comboBoxback to summary
private final ComboBox<T> comboBox

fields

controlback to summary
private final CheckComboBox<T> control

Hides javafx.scene.control.SkinBase.control.

itemsback to summary
private final ObservableList<T> items
selectedIndicesback to summary
private final ReadOnlyUnbackedObservableList<Integer> selectedIndices
selectedItemsback to summary
private final ReadOnlyUnbackedObservableList<T> selectedItems

Constructor Detail

CheckComboBoxSkinback to summary
public CheckComboBoxSkin(final CheckComboBox<T> control)

Constructors

Annotations
@SuppressWarnings:unchecked

Method Detail

buildStringback to summary
private String buildString()
computeMaxHeightback to summary
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxHeight.

Doc from javafx.scene.control.SkinBase.computeMaxHeight.

Computes the maximum allowable height of the Skin, based on the provided width.

Annotations
@Override
computeMaxWidthback to summary
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMaxWidth.

Doc from javafx.scene.control.SkinBase.computeMaxWidth.

Computes the maximum allowable width of the Skin, based on the provided height.

Annotations
@Override
computeMinHeightback to summary
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinHeight.

Doc from javafx.scene.control.SkinBase.computeMinHeight.

Computes the minimum allowable height of the Skin, based on the provided width.

Annotations
@Override
computeMinWidthback to summary
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computeMinWidth.

Overriding public API

Annotations
@Override
computePrefHeightback to summary
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefHeight.

Doc from javafx.scene.control.SkinBase.computePrefHeight.

Calculates the preferred height of this SkinBase. The default implementation calculates this height as the height of the area occupied by its managed children when they are positioned at their current positions at their preferred heights.

Annotations
@Override
computePrefWidthback to summary
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)

Overrides javafx.scene.control.SkinBase.computePrefWidth.

Doc from javafx.scene.control.SkinBase.computePrefWidth.

Calculates the preferred width of this SkinBase. The default implementation calculates this width as the width of the area occupied by its managed children when they are positioned at their current positions at their preferred widths.

Annotations
@Override
createComboBoxListViewSkinback to summary
private Skin<?> createComboBoxListViewSkin(ComboBox<T> comboBox)
getTextStringback to summary
protected String getTextString()

Implementation

hideback to summary
public void hide()

Hides the internal ComboBox

showback to summary
public void show()

Shows the internal ComboBox