Class MapNotifyEvent

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

public final class MapNotifyEvent 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
    • readMapNotifyEvent

      public static MapNotifyEvent readMapNotifyEvent(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
    • isChangedEnabled

      public boolean isChangedEnabled(@NonNull @NonNull MapPart... maskEnums)
    • isVirtualModsEnabled

      public boolean isVirtualModsEnabled(@NonNull @NonNull VMod... 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

      public static MapNotifyEvent.MapNotifyEventBuilder 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()
    • getPtrBtnActions

      public byte getPtrBtnActions()
    • getChanged

      public short getChanged()
    • getMinKeyCode

      public byte getMinKeyCode()
    • getMaxKeyCode

      public byte getMaxKeyCode()
    • getFirstType

      public byte getFirstType()
    • getNTypes

      public byte getNTypes()
    • getFirstKeySym

      public byte getFirstKeySym()
    • getNKeySyms

      public byte getNKeySyms()
    • getFirstKeyAct

      public byte getFirstKeyAct()
    • getNKeyActs

      public byte getNKeyActs()
    • getFirstKeyBehavior

      public byte getFirstKeyBehavior()
    • getNKeyBehavior

      public byte getNKeyBehavior()
    • getFirstKeyExplicit

      public byte getFirstKeyExplicit()
    • getNKeyExplicit

      public byte getNKeyExplicit()
    • getFirstModMapKey

      public byte getFirstModMapKey()
    • getNModMapKeys

      public byte getNModMapKeys()
    • getFirstVModMapKey

      public byte getFirstVModMapKey()
    • getNVModMapKeys

      public byte getNVModMapKeys()
    • getVirtualMods

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