|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.event.Event org.zkoss.zul.event.PageSizeEvent
public class PageSizeEvent
Used to notify the paging size has been changed
when the autopaging (MeshElement.setAutopaging(boolean)
) is enabled
and user changed the size of the content.
Constructor Summary | |
---|---|
PageSizeEvent(java.lang.String name,
Component target,
int pgsz)
Construct a page size event. |
|
PageSizeEvent(java.lang.String name,
Component target,
Pageable pageable,
int pgsz)
Construct a page size event that the target is different from the page controller. |
Method Summary | |
---|---|
Pageable |
getPageable()
Returns the pageable controller. |
int |
getPageSize()
Returns the page size. |
Methods inherited from class org.zkoss.zk.ui.event.Event |
---|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PageSizeEvent(java.lang.String name, Component target, int pgsz)
target
- the target must be a paginal component, i.e.,
implements Pageable
.pgsz
- the new page sizepublic PageSizeEvent(java.lang.String name, Component target, Pageable pageable, int pgsz)
target
- the event targetpageable
- the paging controller. In other words,
it is usually Paginal
.Method Detail |
---|
public Pageable getPageable()
public int getPageSize()
It is the same as getPageable()
's Pageable.getPageSize()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |