java.lang.Object
com.github.moaxcp.x11client.protocol.xkb.SetMap
All Implemented Interfaces:
OneWayRequest, XObject, XRequest

public final class SetMap extends Object implements OneWayRequest
  • Field Details

  • Method Details

    • getOpCode

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

      public static SetMap readSetMap(X11Input in) throws IOException
      Throws:
      IOException
    • write

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

      public boolean isPresentEnabled(@NonNull @NonNull MapPart... maskEnums)
    • isFlagsEnabled

      public boolean isFlagsEnabled(@NonNull @NonNull SetMapFlags... 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 SetMap.SetMapBuilder builder()
    • getDeviceSpec

      public short getDeviceSpec()
    • getPresent

      public short getPresent()
    • getFlags

      public short getFlags()
    • getMinKeyCode

      public byte getMinKeyCode()
    • getMaxKeyCode

      public byte getMaxKeyCode()
    • getFirstType

      public byte getFirstType()
    • getFirstKeySym

      public byte getFirstKeySym()
    • getTotalSyms

      public short getTotalSyms()
    • getFirstKeyAction

      public byte getFirstKeyAction()
    • getFirstKeyBehavior

      public byte getFirstKeyBehavior()
    • getNKeyBehaviors

      public byte getNKeyBehaviors()
    • getFirstKeyExplicit

      public byte getFirstKeyExplicit()
    • getNKeyExplicit

      public byte getNKeyExplicit()
    • getFirstModMapKey

      public byte getFirstModMapKey()
    • getNModMapKeys

      public byte getNModMapKeys()
    • getFirstVModMapKey

      public byte getFirstVModMapKey()
    • getNVModMapKeys

      public byte getNVModMapKeys()
    • getTypes

      @NonNull public @NonNull List<SetKeyType> getTypes()
    • getSyms

      @NonNull public @NonNull List<KeySymMap> getSyms()
    • getActionsCount

      @NonNull public @NonNull List<Byte> getActionsCount()
    • getActions

      @NonNull public @NonNull List<ActionUnion> getActions()
    • getBehaviors

      @NonNull public @NonNull List<SetBehavior> getBehaviors()
    • getVmods

      @NonNull public @NonNull List<Byte> getVmods()
    • getExplicit

      @NonNull public @NonNull List<SetExplicit> getExplicit()
    • getModmap

      @NonNull public @NonNull List<KeyModMap> getModmap()
    • getVmodmap

      @NonNull public @NonNull List<KeyVModMap> getVmodmap()
    • 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