|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<TableSelectionListener>
com.google.gwt.widgetideas.table.client.TableSelectionListenerCollection
public class TableSelectionListenerCollection
A helper class for implementers of the SourceTableSelectionEvents
interface. This subclass of ArrayList
assumes that all objects added
to it will be of type TableSelectionListener
.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
TableSelectionListenerCollection()
|
Method Summary | |
---|---|
void |
fireAllRowsDeselected(SourceTableSelectionEvents sender)
Fired when all rows are deselected. |
void |
fireCellHover(SourceTableSelectionEvents sender,
int row,
int cell)
Fired when a cell is hovered. |
void |
fireCellUnhover(SourceTableSelectionEvents sender,
int row,
int cell)
Fired when a cell is unhovered. |
void |
fireRowDeselected(SourceTableSelectionEvents sender,
int row)
Fired when a single row is deselected. |
void |
fireRowHover(SourceTableSelectionEvents sender,
int row)
Fired when a row is hovered. |
void |
fireRowsSelected(SourceTableSelectionEvents sender,
int firstRow,
int numRows)
Fired when one or more rows are selected. |
void |
fireRowUnhover(SourceTableSelectionEvents sender,
int row)
Fired when a row is unhovered. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public TableSelectionListenerCollection()
Method Detail |
---|
public void fireAllRowsDeselected(SourceTableSelectionEvents sender)
sender
- the source of the eventpublic void fireCellHover(SourceTableSelectionEvents sender, int row, int cell)
sender
- the source of the eventrow
- the row indexcell
- the cell indexpublic void fireCellUnhover(SourceTableSelectionEvents sender, int row, int cell)
sender
- the source of the eventrow
- the row indexcell
- the cell indexpublic void fireRowDeselected(SourceTableSelectionEvents sender, int row)
sender
- the source of the eventrow
- the row indexpublic void fireRowHover(SourceTableSelectionEvents sender, int row)
sender
- the source of the eventrow
- the row indexpublic void fireRowsSelected(SourceTableSelectionEvents sender, int firstRow, int numRows)
sender
- the source of the eventfirstRow
- the row index of the first rownumRows
- the number of selected rowspublic void fireRowUnhover(SourceTableSelectionEvents sender, int row)
sender
- the source of the eventrow
- the row index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |