Class SelectionChangeListener.SelectionChange<E>
java.lang.Object
de.bernd_michaely.common.desktop.fx.collections.selection.SelectionChangeListener.SelectionChange<E>
- Type Parameters:
E- the list element type
- Enclosing interface:
SelectionChangeListener<E>
Contains information about a selection change to a
SelectableList.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum to describe details about the kind of selection change. -
Method Summary
-
Method Details
-
getList
-
getFrom
public int getFrom()Returns the begin of the selection range.- Returns:
- the begin of the selection range (inclusive)
-
getTo
public int getTo()Returns the end of the selection range.- Returns:
- the end of the selection range (inclusive)
-
isEmptyRange
public boolean isEmptyRange()Returns true, iff the selection range is empty.- Returns:
- true, iff the selection range is empty
-
getSelectionChangeType
public @Nullable SelectionChangeListener.SelectionChange.SelectionChangeType getSelectionChangeType()Returns the type of selection change.- Returns:
- the type of selection change
-
toString
-