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

public final class ModModeLine extends Object implements OneWayRequest
  • Field Details

  • Method Details

    • getOpCode

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

      public static ModModeLine readModModeLine(X11Input in) throws IOException
      Throws:
      IOException
    • write

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

      public boolean isFlagsEnabled(@NonNull @NonNull ModeFlag... 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 ModModeLine.ModModeLineBuilder builder()
    • getScreen

      public int getScreen()
    • getHdisplay

      public short getHdisplay()
    • getHsyncstart

      public short getHsyncstart()
    • getHsyncend

      public short getHsyncend()
    • getHtotal

      public short getHtotal()
    • getHskew

      public short getHskew()
    • getVdisplay

      public short getVdisplay()
    • getVsyncstart

      public short getVsyncstart()
    • getVsyncend

      public short getVsyncend()
    • getVtotal

      public short getVtotal()
    • getFlags

      public int getFlags()
    • getXPrivate

      @NonNull public @NonNull List<Byte> getXPrivate()
    • 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