Class WidgetKeyEvent

  • All Implemented Interfaces:
    Serializable

    public class WidgetKeyEvent
    extends org.zkoss.zk.ui.event.KeyEvent
    Event about widget keystroke
    Since:
    3.0.0
    Author:
    dennis
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.zkoss.zk.ui.event.KeyEvent

        DELETE, DOWN, END, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, HOME, INSERT, LEFT, PAGE_DOWN, PAGE_UP, RIGHT, UP
    • Constructor Summary

      Constructors 
      Constructor Description
      WidgetKeyEvent​(String name, org.zkoss.zk.ui.Component target, Sheet sheet, Object data, int keyCode, boolean ctrlKey, boolean shiftKey, boolean altKey)  
    • Constructor Detail

      • WidgetKeyEvent

        public WidgetKeyEvent​(String name,
                              org.zkoss.zk.ui.Component target,
                              Sheet sheet,
                              Object data,
                              int keyCode,
                              boolean ctrlKey,
                              boolean shiftKey,
                              boolean altKey)
    • Method Detail

      • getSheet

        public Sheet getSheet()
        Returns:
        the sheet of this event
      • getData

        public Object getData()
        Overrides:
        getData in class org.zkoss.zk.ui.event.Event
      • getWidgetData

        public Object getWidgetData()
        Returns:
        widget data object of this event
        See Also:
        Chart, Picture