com.jidesoft.grid
Class IndexChangeListenerHelper
java.lang.Object
com.jidesoft.grid.IndexChangeListenerHelper
- All Implemented Interfaces:
- IndexChangeListener, Serializable, EventListener
public class IndexChangeListenerHelper
- extends Object
- implements IndexChangeListener, Serializable
Default listener for index changing. It's used as default table model wrapper listener
and default list model wrapper listener
- Since:
- 3.4.4
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexChangeListenerHelper
public IndexChangeListenerHelper(IndexChangeEventGenerator listenerGenerator)
indexChanged
public void indexChanged(IndexChangeEvent event)
- Called whenever the model wrapper is going to have some change. So far we have index changing and index
changed events.
Please make sure you will NOT call super.ModelWrapperIndexChanged(), otherwise you will get into a endless
loop.
- Specified by:
indexChanged
in interface IndexChangeListener
- Parameters:
event
- the model wrapper event
fireIndexChangeEvent
public int fireIndexChangeEvent(Object source,
int eventType,
int eventSerialNumber,
boolean forceProcess,
boolean actualIndexChanged)
getEventSerialNumber
public int getEventSerialNumber()
setEventSerialNumber
public void setEventSerialNumber(int eventSerialNumber)