Class PageSizeEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zul.event.PageSizeEvent
All Implemented Interfaces:
Serializable

public class PageSizeEvent extends org.zkoss.zk.ui.event.Event
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.
Since:
2.4.1
Author:
tomyeh
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    PageSizeEvent(String name, org.zkoss.zk.ui.Component target, int pgsz)
    Construct a page size event.
    PageSizeEvent(String name, org.zkoss.zk.ui.Component target, Pageable pageable, int pgsz)
    Construct a page size event that the target is different from the page controller.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the pageable controller.
    int
    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 Details

    • PageSizeEvent

      public PageSizeEvent(String name, org.zkoss.zk.ui.Component target, int pgsz)
      Construct a page size event.
      Parameters:
      target - the target must be a paginal component, i.e., implements Pageable.
      pgsz - the new page size
    • PageSizeEvent

      public PageSizeEvent(String name, org.zkoss.zk.ui.Component target, Pageable pageable, int pgsz)
      Construct a page size event that the target is different from the page controller.
      Parameters:
      target - the event target
      pageable - the paging controller. In other words, it is usually Paginal.
  • Method Details