|
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.paging.PageNavigationEvent
public class PageNavigationEvent
An EventObject
that adds support for PageTableModel
objects as the event source.
Field Summary | |
---|---|
static int |
CURRENT_PAGE_CHANGED
This event is delivered when the page index changes. |
static int |
PAGE_COUNT_CHANGED
This event is delivered when total page count changes |
static int |
PAGE_NAVIGATION_EVENT_FIRST
The first number in the range of IDs used for AbstractPage events. |
static int |
PAGE_NAVIGATION_EVENT_LAST
The last number in the range of IDs used for AbstractPage events. |
static int |
PAGE_SIZE_CHANGED
This event is delivered when the page size changes. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
PageNavigationEvent(Object source,
int id,
int oldValue,
int newValue)
Constructs an AbstractPageEvent object. |
Method Summary | |
---|---|
int |
getID()
Returns the event type. |
int |
getNewValue()
Gets the new value associated with this event. |
int |
getOldValue()
Gets the old value associated with this event. |
String |
paramString()
Returns a parameter string identifying this event. |
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 PAGE_NAVIGATION_EVENT_FIRST
AbstractPage
events.
public static final int PAGE_NAVIGATION_EVENT_LAST
AbstractPage
events.
public static final int PAGE_COUNT_CHANGED
public static final int PAGE_SIZE_CHANGED
public static final int CURRENT_PAGE_CHANGED
Constructor Detail |
---|
public PageNavigationEvent(Object source, int id, int oldValue, int newValue)
AbstractPageEvent
object.
source
- the AbstractPage
object that originated the eventid
- an integer indicating the type of eventoldValue
- the old value associated with this event.newValue
- the new value associated with this event.Method Detail |
---|
public int getID()
public int getOldValue()
public int getNewValue()
public String paramString()
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 |