Class PagingEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class PagingEvent
    extends Event
    Used to notify that a new page is selected by the user, or by Paginal (such as Paging). It is used for paging long content.
    Author:
    tomyeh
    See Also:
    Serialized Form
    • Constructor Detail

      • PagingEvent

        public PagingEvent​(java.lang.String name,
                           Component target,
                           int actpg)
        Construct a paging event.
        Parameters:
        target - the target must be a paginal component, i.e., implements Pageable.
        actpg - the active page
      • PagingEvent

        public PagingEvent​(java.lang.String name,
                           Component target,
                           Pageable pageable,
                           int actpg)
        Construct a paging 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.