java.lang.Object
com.github.moaxcp.x11client.protocol.xkb.GetMap
All Implemented Interfaces:
TwoWayRequest<GetMapReply>, XObject, XRequest

public final class GetMap extends Object implements TwoWayRequest<GetMapReply>
  • Field Details

  • Method Details

    • getReplyFunction

      public XReplyFunction<GetMapReply> getReplyFunction()
      Specified by:
      getReplyFunction in interface TwoWayRequest<GetMapReply>
    • getOpCode

      public byte getOpCode()
      Specified by:
      getOpCode in interface XRequest
    • readGetMap

      public static GetMap readGetMap(X11Input in) throws IOException
      Throws:
      IOException
    • write

      public void write(byte offset, X11Output out) throws IOException
      Specified by:
      write in interface XRequest
      Throws:
      IOException
    • isFullEnabled

      public boolean isFullEnabled(@NonNull @NonNull MapPart... maskEnums)
    • isPartialEnabled

      public boolean isPartialEnabled(@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 GetMap.GetMapBuilder builder()
    • getDeviceSpec

      public short getDeviceSpec()
    • getFull

      public short getFull()
    • getPartial

      public short getPartial()
    • getFirstType

      public byte getFirstType()
    • getNTypes

      public byte getNTypes()
    • getFirstKeySym

      public byte getFirstKeySym()
    • getNKeySyms

      public byte getNKeySyms()
    • getFirstKeyAction

      public byte getFirstKeyAction()
    • getNKeyActions

      public byte getNKeyActions()
    • getFirstKeyBehavior

      public byte getFirstKeyBehavior()
    • getNKeyBehaviors

      public byte getNKeyBehaviors()
    • getVirtualMods

      public short getVirtualMods()
    • getFirstKeyExplicit

      public byte getFirstKeyExplicit()
    • getNKeyExplicit

      public byte getNKeyExplicit()
    • getFirstModMapKey

      public byte getFirstModMapKey()
    • getNModMapKeys

      public byte getNModMapKeys()
    • getFirstVModMapKey

      public byte getFirstVModMapKey()
    • getNVModMapKeys

      public byte getNVModMapKeys()
    • 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