Top Fields Constructors Methods
com.dlsc.workbenchfx.view.controls.selectionstrip

public Class StripCell<T>

extends Label
Class Inheritance
Known Direct Subclasses
com.dlsc.workbenchfx.view.controls.selectionstrip.TabCell
Imports
javafx.beans.InvalidationListener, .WeakInvalidationListener, javafx.beans.property.BooleanProperty, .BooleanPropertyBase, .ObjectProperty, .SimpleObjectProperty, javafx.css.PseudoClass, javafx.scene.AccessibleAttribute, javafx.scene.control.Label

Field Summary

Modifier and TypeField and Description
private final ObjectProperty<T>
private static final PseudoClass
private BooleanProperty
private final InvalidationListener
private final ObjectProperty<SelectionStrip<T>>
private final WeakInvalidationListener

Constructor Summary

AccessConstructor and Description
public
StripCell()

Constructs a new StripCell.

Method Summary

Modifier and TypeMethod and Description
public final T
public final SelectionStrip<T>
public final boolean
public final ObjectProperty<T>
public final BooleanProperty

Returns:

the property which changes the value when the item is selected
selectedProperty
()

Returns the property of the StripCells item which defines whether it's selected or not.

public final ObjectProperty<SelectionStrip<T>>
public final void
setItem(T item)

public final void
setSelected(boolean value)

public final void
setSelectionStrip(SelectionStrip<T> selectionStrip)

private void
Inherited from javafx.scene.control.Label:
createDefaultSkingetInitialFocusTraversablegetLabelForlabelForPropertysetLabelFor

Field Detail

itemback to summary
private final ObjectProperty<T> item
PSEUDO_CLASS_SELECTEDback to summary
private static final PseudoClass PSEUDO_CLASS_SELECTED
selectedback to summary
private BooleanProperty selected
selectionListenerback to summary
private final InvalidationListener selectionListener
selectionStripback to summary
private final ObjectProperty<SelectionStrip<T>> selectionStrip
weakSelectionListenerback to summary
private final WeakInvalidationListener weakSelectionListener

Constructor Detail

StripCellback to summary
public StripCell()

Constructs a new StripCell.

Method Detail

getItemback to summary
public final T getItem()
getSelectionStripback to summary
public final SelectionStrip<T> getSelectionStrip()
isSelectedback to summary
public final boolean isSelected()
itemPropertyback to summary
public final ObjectProperty<T> itemProperty()
selectedPropertyback to summary
public final BooleanProperty selectedProperty()

Returns the property of the StripCells item which defines whether it's selected or not.

Returns:BooleanProperty

the property which changes the value when the item is selected

selectionStripPropertyback to summary
public final ObjectProperty<SelectionStrip<T>> selectionStripProperty()
setItemback to summary
public final void setItem(T item)
setSelectedback to summary
public final void setSelected(boolean value)
setSelectionStripback to summary
public final void setSelectionStrip(SelectionStrip<T> selectionStrip)
updateSelectionback to summary
private void updateSelection()