public class PageSizeEvent extends Event
MeshElement.setAutopaging(boolean)
) is enabled
and user changed the size of the content.Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Pageable |
getPageable()
Returns the pageable controller.
|
int |
getPageSize()
Returns the page size.
|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
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 Pageable getPageable()
public int getPageSize()
It is the same as getPageable()
's Pageable.getPageSize()
.
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.