Top Fields Constructors Methods
org.controlsfx.control.table

public final Class FilterValue<T, R>

extends HBox
implements Comparable<FilterValue<T, R>>
Class Inheritance
All Implemented Interfaces
java.lang.Comparable
Imports
javafx.beans.InvalidationListener, .Observable, .WeakInvalidationListener, javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, javafx.scene.control.CheckBox, .Label, javafx.scene.layout.HBox, javafx.scene.paint.Color, java.util.Optional

Field Summary

Modifier and TypeField and Description
private final ColumnFilter<T, R>
private final BooleanProperty
private final BooleanProperty
private final InvalidationListener
private final R

Constructor Summary

AccessConstructor and Description
pack-priv
FilterValue(R value, ColumnFilter<T, R> columnFilter)

Method Summary

Modifier and TypeMethod and Description
public int
compareTo(FilterValue<T, R> other)

Implements java.lang.Comparable.compareTo.

Compares this object with the specified object for order.

public BooleanProperty
getInScopeProperty()

Property indicating whether this value is in scope.

public R
getValue()

Returns the R value for this given FilterValue

pack-priv void
public BooleanProperty
selectedProperty()

Property indicating whether this value is selected or not.

public String
toString()

Overrides javafx.scene.Node.toString.

Returns a string representation for the object.

Inherited from javafx.scene.layout.HBox:
alignmentPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthfillHeightPropertygetAlignmentgetBaselineOffsetgetClassCssMetaDatagetContentBiasgetCssMetaDatagetHgrowgetMargingetSpacingisFillHeightlayoutChildrenrequestLayoutsetAlignmentsetFillHeightsetHgrowsetMarginsetSpacingspacingProperty

Field Detail

columnFilterback to summary
private final ColumnFilter<T, R> columnFilter
inScopeback to summary
private final BooleanProperty inScope
isSelectedback to summary
private final BooleanProperty isSelected
scopeListenerback to summary
private final InvalidationListener scopeListener
valueback to summary
private final R value

Constructor Detail

FilterValueback to summary
pack-priv FilterValue(R value, ColumnFilter<T, R> columnFilter)

Method Detail

compareToback to summary
public int compareTo(FilterValue<T, R> other)

Implements java.lang.Comparable.compareTo.

Doc from java.lang.Comparable.compareTo.

Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

The implementor must ensure signum(x.compareTo(y)) == -signum(y.compareTo(x)) for all x and y. (This implies that x.compareTo(y) must throw an exception if and only if y.compareTo(x) throws an exception.)

The implementor must also ensure that the relation is transitive: (x.compareTo(y) > 0 && y.compareTo(z) > 0) implies x.compareTo(z) > 0.

Finally, the implementor must ensure that x.compareTo(y)==0 implies that signum(x.compareTo(z)) == signum(y.compareTo(z)), for all z.

Annotations
@Override
getInScopePropertyback to summary
public BooleanProperty getInScopeProperty()

Property indicating whether this value is in scope.

getValueback to summary
public R getValue()

Returns the R value for this given FilterValue

refreshScopeback to summary
pack-priv void refreshScope()
selectedPropertyback to summary
public BooleanProperty selectedProperty()

Property indicating whether this value is selected or not.

toStringback to summary
public String toString()

Overrides javafx.scene.Node.toString.

Doc from javafx.scene.Node.toString.

Returns a string representation for the object.

Annotations
@Override