Class ExtensionDeviceNotifyEvent

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

public final class ExtensionDeviceNotifyEvent 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
    • readExtensionDeviceNotifyEvent

      public static ExtensionDeviceNotifyEvent readExtensionDeviceNotifyEvent(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
    • isReasonEnabled

      public boolean isReasonEnabled(@NonNull @NonNull XIFeature... maskEnums)
    • isSupportedEnabled

      public boolean isSupportedEnabled(@NonNull @NonNull XIFeature... maskEnums)
    • isUnsupportedEnabled

      public boolean isUnsupportedEnabled(@NonNull @NonNull XIFeature... 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()
    • getReason

      public short getReason()
    • getLedClass

      public short getLedClass()
    • getLedID

      public short getLedID()
    • getLedsDefined

      public int getLedsDefined()
    • getLedState

      public int getLedState()
    • getFirstButton

      public byte getFirstButton()
    • getNButtons

      public byte getNButtons()
    • getSupported

      public short getSupported()
    • getUnsupported

      public short getUnsupported()
    • 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