Class 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 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 the getType() 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 class org.zkoss.zk.ui.event.Event