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>

public static class SelectionChangeListener.SelectionChange<E> extends Object
Contains information about a selection change to a SelectableList.
  • Method Details

    • getList

      public @Nullable SelectableList<E> getList()
      Returns the source list.
      Returns:
      the source list
    • getFrom

      public int getFrom()
      Returns the begin of the selection range.
      Returns:
      the begin of the selection range
    • getTo

      public int getTo()
      Returns the end of the selection range.
      Returns:
      the end of the selection range
    • 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

      public String toString()
      Overrides:
      toString in class Object