Package io.keikai.ui.event
Class GroupHeaderClickEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- io.keikai.ui.event.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 Summary
Constructors Constructor Description GroupHeaderClickEvent(String name, org.zkoss.zk.ui.Component target, Sheet sheet, int level, String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Range>
getCollapsedGroups()
Returns all the collapsed groups in rows or columns.List<Range>
getExpandedGroups()
Returns all the expanded groups in rows or columns.int
getOutlineLevel()
Returns the level triggered by the click event.Sheet
getSheet()
Returns the current sheet.boolean
isRow()
Returns whether it's a row-based outline.
-
-
-
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.
-
-