Class GroupOpenEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
io.keikai.ui.event.GroupOpenEvent
All Implemented Interfaces:
Serializable

public class GroupOpenEvent extends org.zkoss.zk.ui.event.Event
Represents an event fired by a user clicking on a button of group row or column to collapse or expand a group.
Since:
6.0.0
Author:
jumperchen
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GroupOpenEvent(String name, org.zkoss.zk.ui.Component target, Sheet sheet, int startIndex, int endIndex, String dir, boolean open)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the group range in a whole rows or columns based on isRow().
    boolean
    Returns whether is opened or not for the group.
    boolean
    Returns whether it's a row-based outline.

    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

    • GroupOpenEvent

      public GroupOpenEvent(String name, org.zkoss.zk.ui.Component target, Sheet sheet, int startIndex, int endIndex, String dir, boolean open)
  • Method Details

    • isOpen

      public boolean isOpen()
      Returns whether is opened or not for the group.
    • getRange

      public Range getRange()
      Returns the group range in a whole rows or columns based on isRow().
    • isRow

      public boolean isRow()
      Returns whether it's a row-based outline.
      Returns:
      true a row base, unless a column base.