Class GroupOpenEvent

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Range getRange()
      Returns the group range in a whole rows or columns based on isRow().
      boolean isOpen()
      Returns whether is opened or not for the group.
      boolean isRow()
      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 Detail

      • GroupOpenEvent

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

      • 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.