Class GroupHeaderClickEvent

  • All Implemented Interfaces:
    Serializable

    public class GroupHeaderClickEvent
    extends org.zkoss.zk.ui.event.Event
    Represents an event fired by a user clicking on a button of group head to collapse or expand all groups.
    Since:
    6.0.0
    Author:
    jumperchen
    See Also:
    Serialized Form
    • Constructor Detail

      • GroupHeaderClickEvent

        public GroupHeaderClickEvent​(String name,
                                     org.zkoss.zk.ui.Component target,
                                     Sheet sheet,
                                     int level,
                                     String dir)
    • Method Detail

      • getSheet

        public Sheet getSheet()
        Returns the current sheet.
      • isRow

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

        public int getOutlineLevel()
        Returns the level triggered by the click event.
      • getCollapsedGroups

        public List<Range> getCollapsedGroups()
        Returns all the collapsed groups in rows or columns.
      • getExpandedGroups

        public List<Range> getExpandedGroups()
        Returns all the expanded groups in rows or columns.