Class HotKeyEvent

java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.core.event.HotKeyEvent

public class HotKeyEvent extends BaseEvent
This class contains the data of the Hotkey event. These are the following:
  • The client on which the event occurred
  • The ID of the component on which the event occurred
  • The event type
  • The instance of the component, on which the event occurred
  • The event's unique ID
  • The pressed hotkey combination
Since:
4.0
Author:
JBStrap
  • Field Details

  • Constructor Details

    • HotKeyEvent

      public HotKeyEvent()
  • Method Details

    • getKey

      public String getKey()
      Gets the pressed key combination
      Returns:
      The pressed key combination
    • fireEvent

      public void fireEvent()
      Specified by:
      fireEvent in class BaseEvent