Class 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:
    Serialized Form
    • Constructor Detail

      • GroupOpenEvent

        public GroupOpenEvent​(String name,
                              org.zkoss.zk.ui.Component target,
                              Sheet sheet,
                              int startIndex,
                              int endIndex,
                              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.