|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.sciapp.event.ReorderEvent
public class ReorderEvent
An event used to identify how the rows of a table have been reordered.
ReorderEvent contains an integer array - rowMap - which can be used to find out the new location of a specific row according to the following:
If a row was at index i before the reordering, then the element of the ith index corresponds to the new position of the row. A negative value implies that the row is now not visible (e.g. as a result of filtering).
TableReorder,
Serialized Form| Field Summary | |
|---|---|
protected int[] |
rowMap
The row transposition mapping. |
protected boolean |
storeCellSelections
flag to indicate whether the reorder listener will store the cell selections |
protected boolean |
storeCheckBoxSelections
flag to indicate whether the reorder listener will store the selected nodes of the checkbox tree |
protected boolean |
storeExpandedNodes
flag to indicate whether the reorder listener will store the expanded tree nodes |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ReorderEvent(Object source,
int[] rowMap)
Constructs a ReorderEvent object. |
|
ReorderEvent(Object source,
int[] rowMap,
boolean storeCellSelections)
Constructs a ReorderEvent object. |
|
ReorderEvent(Object source,
int[] rowMap,
boolean storeCellSelections,
boolean storeExpandedNodes)
Constructs a ReorderEvent object. |
|
ReorderEvent(Object source,
int[] rowMap,
boolean storeCellSelections,
boolean storeExpandedNodes,
boolean storeCheckBoxSelections)
Constructs a ReorderEvent object. |
|
| Method Summary | |
|---|---|
int[] |
getRowMap()
Returns an integer array that can be used to find out the new location of a specific row. |
boolean |
getStoreCellSelections()
Returns a flag that indicates whether the reorder listener will store the cell selections. |
boolean |
getStoreCheckBoxSelections()
Returns a flag that indicates whether the reorder listener will store the selected nodes of the checkbox tree. |
boolean |
getStoreExpandedNodes()
Returns a flag that indicates whether the reorder listener will store the expanded tree nodes. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int[] rowMap
protected boolean storeCellSelections
protected boolean storeExpandedNodes
protected boolean storeCheckBoxSelections
| Constructor Detail |
|---|
public ReorderEvent(Object source,
int[] rowMap)
source - the Object generating the eventrowMap - the row transposition mapping
public ReorderEvent(Object source,
int[] rowMap,
boolean storeCellSelections)
source - the Object generating the eventrowMap - the row transposition mappingstoreCellSelections - flag to indicate whether table's cell selection will be stored
public ReorderEvent(Object source,
int[] rowMap,
boolean storeCellSelections,
boolean storeExpandedNodes)
source - the Object generating the eventrowMap - the row transposition mappingstoreCellSelections - flag to indicate whether table's cell selection will be storedstoreExpandedNodes - flag to indicate whether the expanded nodes of the treetable will be stored
public ReorderEvent(Object source,
int[] rowMap,
boolean storeCellSelections,
boolean storeExpandedNodes,
boolean storeCheckBoxSelections)
source - the Object generating the eventrowMap - the row transposition mappingstoreCellSelections - flag to indicate whether table's cell selection will be storedstoreExpandedNodes - flag to indicate whether the expanded nodes of the treetable will be storedstoreCheckBoxSelections - flag to indicate whether the selected nodes of the checkbox tree will be stored| Method Detail |
|---|
public int[] getRowMap()
public boolean getStoreCellSelections()
public boolean getStoreCheckBoxSelections()
public boolean getStoreExpandedNodes()
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||