public final class SelectionIndexModel<T> extends Object implements ISelectionIndexModel<T>
| Constructor and Description |
|---|
SelectionIndexModel(ListSelectionModel tableSelectionModel,
ISortedRowMapper rowMapper,
SelectionModel<T> selectionModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionListener(ISelectionListener<T> listener) |
void |
clear() |
IntegerInterval |
getInterval() |
int |
getMaximum() |
int |
getMinimum() |
boolean |
isEmpty() |
Iterator<Integer> |
iterator() |
void |
removeSelectionListener(ISelectionListener<T> listener) |
void |
set(int index) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SelectionIndexModel(ListSelectionModel tableSelectionModel, ISortedRowMapper rowMapper, SelectionModel<T> selectionModel)
public IntegerInterval getInterval()
public int getMinimum()
getMinimum in interface ISelectionIndexModel<T>public int getMaximum()
getMaximum in interface ISelectionIndexModel<T>public void set(int index)
set in interface ISelectionIndexModel<T>public int size()
size in interface ISelectionIndexModel<T>public boolean isEmpty()
isEmpty in interface ISelectionIndexModel<T>public void addSelectionListener(ISelectionListener<T> listener)
addSelectionListener in interface ISelectionIndexModel<T>public void removeSelectionListener(ISelectionListener<T> listener)
removeSelectionListener in interface ISelectionIndexModel<T>public void clear()
clear in interface ISelectionIndexModel<T>Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.