|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.jidesoft.grid.IndexChangeEvent
public class IndexChangeEvent
Index change event. So far the valid events include INDEX_CHANGING_EVENT and INDEX_CHANGED_EVENT. The event will be fired from SortableTableModel and FilterableTableModel.
Field Summary | |
---|---|
static int |
INDEX_CHANGED_EVENT
INDEX_CHANGED_EVENT will be fired after sorting or filtering action is finished. |
static int |
INDEX_CHANGING_EVENT
INDEX_CHANGING_EVENT will be fired before sorting or filtering action is triggered. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
IndexChangeEvent(Object source,
int type)
Deprecated. Please use IndexChangeEvent(Object, int, int) instead. |
|
IndexChangeEvent(Object source,
int type,
int eventSerialNumber)
Constructor of this class. |
|
IndexChangeEvent(Object source,
int type,
int eventSerialNumber,
boolean forceProcess,
boolean actualTableChanged)
|
Method Summary | |
---|---|
int |
getEventSerialNumber()
Gets the event serial number. |
int |
getType()
Gets the event type. |
boolean |
isActualTableChanged()
|
boolean |
isForceProcess()
|
String |
toString()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INDEX_CHANGING_EVENT
public static final int INDEX_CHANGED_EVENT
Constructor Detail |
---|
@Deprecated public IndexChangeEvent(Object source, int type)
IndexChangeEvent(Object, int, int)
instead.
source
- the table model which fired this event in the very beginningtype
- the event typepublic IndexChangeEvent(Object source, int type, int eventSerialNumber)
int number = ((Double) (Math.random() * 10000)).intValue();
IndexChangeEvent e = new IndexChangeEvent(this, INDEX_CHANGING_EVENT, number);
fireThisEvent(e);
....
IndexChangeEvent e = new IndexChangeEvent(this, INDEX_CHANGED_EVENT, number);
fireThisEvent(e);
- Parameters:
source
- the table model which fired this event in the very beginningtype
- the event typeeventSerialNumber
- the event serial number
public IndexChangeEvent(Object source, int type, int eventSerialNumber, boolean forceProcess, boolean actualTableChanged)
Method Detail |
---|
public int getType()
public int getEventSerialNumber()
public boolean isForceProcess()
public boolean isActualTableChanged()
public String toString()
toString
in class EventObject
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |