Package io.keikai.ui.event
Class HeaderUpdateEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- io.keikai.ui.event.HeaderUpdateEvent
-
- All Implemented Interfaces:
Serializable
public class HeaderUpdateEvent extends org.zkoss.zk.ui.event.Event
Event about header update- Since:
- 3.0.0
- Author:
- Dennis.Chen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HeaderUpdateEvent(String name, org.zkoss.zk.ui.Component target, SSheet sheet, HeaderType type, HeaderAction acton, int index, int size, boolean hidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderAction
getAction()
Returns the actionint
getIndex()
get index of the header, if thegetType()
return @link HeaderEvent#TOP_HEADER} then it is column index, otherwise it is row indexSSheet
getSheet()
get Sheetint
getSize()
Returns the new size of this header eventHeaderType
getType()
get type of this eventboolean
isHidden()
Returns whether request hidden(true)/unhidden(false) of this column/row.String
toString()
-
-
-
Constructor Detail
-
HeaderUpdateEvent
public HeaderUpdateEvent(String name, org.zkoss.zk.ui.Component target, SSheet sheet, HeaderType type, HeaderAction acton, int index, int size, boolean hidden)
-
-
Method Detail
-
getSheet
public SSheet getSheet()
get Sheet- Returns:
- sheet
-
getIndex
public int getIndex()
get index of the header, if thegetType()
return @link HeaderEvent#TOP_HEADER} then it is column index, otherwise it is row index- Returns:
- row index
-
getType
public HeaderType getType()
get type of this event- Returns:
- the type of header
-
isHidden
public boolean isHidden()
Returns whether request hidden(true)/unhidden(false) of this column/row.- Returns:
- whether request hidden(true)/unhidden(false) of this column/row.
-
getSize
public int getSize()
Returns the new size of this header event- Returns:
- the new size
-
getAction
public HeaderAction getAction()
Returns the action- Returns:
-
toString
public String toString()
- Overrides:
toString
in classorg.zkoss.zk.ui.event.Event
-
-