Class IndicatorMap

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

public final class IndicatorMap extends Object implements XStruct
  • Method Details

    • readIndicatorMap

      public static IndicatorMap readIndicatorMap(X11Input in) throws IOException
      Throws:
      IOException
    • write

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

      public boolean isModsEnabled(@NonNull @NonNull ModMask... maskEnums)
    • isRealModsEnabled

      public boolean isRealModsEnabled(@NonNull @NonNull ModMask... maskEnums)
    • isVmodsEnabled

      public boolean isVmodsEnabled(@NonNull @NonNull VMod... maskEnums)
    • isCtrlsEnabled

      public boolean isCtrlsEnabled(@NonNull @NonNull BoolCtrl... 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 IndicatorMap.IndicatorMapBuilder builder()
    • getFlags

      public byte getFlags()
    • getWhichGroups

      public byte getWhichGroups()
    • getGroups

      public byte getGroups()
    • getWhichMods

      public byte getWhichMods()
    • getMods

      public byte getMods()
    • getRealMods

      public byte getRealMods()
    • getVmods

      public short getVmods()
    • getCtrls

      public int getCtrls()
    • 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