Class ActionMessageEvent

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

public final class ActionMessageEvent 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
    • readActionMessageEvent

      public static ActionMessageEvent readActionMessageEvent(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
    • isModsEnabled

      public boolean isModsEnabled(@NonNull @NonNull ModMask... 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()
    • getKeycode

      public byte getKeycode()
    • isPress

      public boolean isPress()
    • isKeyEventFollows

      public boolean isKeyEventFollows()
    • getMods

      public byte getMods()
    • getGroup

      public byte getGroup()
    • getMessage

      @NonNull public @NonNull List<Byte> getMessage()
    • 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