Class KTMapEntry

java.lang.Object
com.github.moaxcp.x11client.protocol.xkb.KTMapEntry
All Implemented Interfaces:
XObject, XStruct

public final class KTMapEntry extends Object implements XStruct
  • Method Details

    • readKTMapEntry

      public static KTMapEntry readKTMapEntry(X11Input in) throws IOException
      Throws:
      IOException
    • write

      public void write(X11Output out) throws IOException
      Specified by:
      write in interface XStruct
      Throws:
      IOException
    • isModsMaskEnabled

      public boolean isModsMaskEnabled(@NonNull @NonNull ModMask... maskEnums)
    • isModsModsEnabled

      public boolean isModsModsEnabled(@NonNull @NonNull ModMask... maskEnums)
    • isModsVmodsEnabled

      public boolean isModsVmodsEnabled(@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 KTMapEntry.KTMapEntryBuilder builder()
    • isActive

      public boolean isActive()
    • getModsMask

      public byte getModsMask()
    • getLevel

      public byte getLevel()
    • getModsMods

      public byte getModsMods()
    • getModsVmods

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