Class ControlsNotifyEvent

java.lang.Object
com.github.moaxcp.x11client.protocol.xkb.ControlsNotifyEvent
All Implemented Interfaces:
XEvent, XObject, XResponse

public final class ControlsNotifyEvent extends Object implements XEvent
  • Field Details

  • Method Details

    • getResponseCode

      public byte getResponseCode()
      Specified by:
      getResponseCode in interface XResponse
    • getNumber

      public byte getNumber()
      Specified by:
      getNumber in interface XEvent
    • readControlsNotifyEvent

      public static ControlsNotifyEvent readControlsNotifyEvent(byte firstEventOffset, boolean sentEvent, X11Input in) throws IOException
      Throws:
      IOException
    • write

      public void write(X11Output out) throws IOException
      Specified by:
      write in interface XEvent
      Throws:
      IOException
    • isChangedControlsEnabled

      public boolean isChangedControlsEnabled(@NonNull @NonNull Control... maskEnums)
    • isEnabledControlsEnabled

      public boolean isEnabledControlsEnabled(@NonNull @NonNull BoolCtrl... maskEnums)
    • isEnabledControlChangesEnabled

      public boolean isEnabledControlChangesEnabled(@NonNull @NonNull BoolCtrl... maskEnums)
    • getSize

      public int getSize()
      Description copied from interface: XObject
      length of object expressed in units of 4 bytes
      Specified by:
      getSize in interface XObject
      Returns:
    • builder

    • getFirstEventOffset

      public byte getFirstEventOffset()
      Specified by:
      getFirstEventOffset in interface XEvent
    • isSentEvent

      public boolean isSentEvent()
    • getXkbType

      public byte getXkbType()
    • getSequenceNumber

      public short getSequenceNumber()
      Specified by:
      getSequenceNumber in interface XResponse
    • getTime

      public int getTime()
    • getDeviceID

      public byte getDeviceID()
    • getNumGroups

      public byte getNumGroups()
    • getChangedControls

      public int getChangedControls()
    • getEnabledControls

      public int getEnabledControls()
    • getEnabledControlChanges

      public int getEnabledControlChanges()
    • getKeycode

      public byte getKeycode()
    • getEventType

      public byte getEventType()
    • getRequestMajor

      public byte getRequestMajor()
    • getRequestMinor

      public byte getRequestMinor()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPluginName

      default String getPluginName()
      Specified by:
      getPluginName in interface XObject