public class PagingEvent extends EventObject
IPagingModelListener whenever a change has occured in the
IPagingModel instance that they observe.| Modifier and Type | Class and Description |
|---|---|
static class |
PagingEvent.ID
An enumerator with event IDs that can be used by model listeners to
distinguish between different types of events that have occured inside a
paging model.
|
source| Constructor and Description |
|---|
PagingEvent(IPagingModel model,
PagingEvent.ID id,
Page page)
Constructs a new event.
|
| Modifier and Type | Method and Description |
|---|---|
PagingEvent.ID |
getId()
Returns the ID of the event that can be used to distinguish different
types of events that can take place inside a paging model.
|
IPagingModel |
getModel()
Returns the paging model that was the source of the change being
described by the event.
|
Page |
getPage()
Returns the page that was added, removed or changed.
|
getSource, toStringpublic PagingEvent(IPagingModel model, PagingEvent.ID id, Page page)
model - the source of the event, the model that was changedid - the event ID used for distinguishing different types of eventspage - the page that was added, removed, or changedpublic IPagingModel getModel()
public PagingEvent.ID getId()
public Page getPage()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.