Class PrintSetImageResolution
- java.lang.Object
-
- com.github.moaxcp.x11client.protocol.xprint.PrintSetImageResolution
-
- All Implemented Interfaces:
TwoWayRequest<PrintSetImageResolutionReply>,XObject,XRequest
public final class PrintSetImageResolution extends java.lang.Object implements TwoWayRequest<PrintSetImageResolutionReply>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrintSetImageResolution.PrintSetImageResolutionBuilder
-
Field Summary
Fields Modifier and Type Field Description static byteOPCODE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrintSetImageResolution.PrintSetImageResolutionBuilderbuilder()booleanequals(java.lang.Object o)intgetContext()shortgetImageResolution()bytegetOpCode()XReplyFunction<PrintSetImageResolutionReply>getReplyFunction()intgetSize()length of object expressed in units of 4 bytesinthashCode()static PrintSetImageResolutionreadPrintSetImageResolution(X11Input in)java.lang.StringtoString()voidwrite(byte offset, X11Output out)
-
-
-
Field Detail
-
OPCODE
public static final byte OPCODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getReplyFunction
public XReplyFunction<PrintSetImageResolutionReply> getReplyFunction()
- Specified by:
getReplyFunctionin interfaceTwoWayRequest<PrintSetImageResolutionReply>
-
readPrintSetImageResolution
public static PrintSetImageResolution readPrintSetImageResolution(X11Input in) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public void write(byte offset, X11Output out) throws java.io.IOException
-
getSize
public int getSize()
Description copied from interface:XObjectlength of object expressed in units of 4 bytes
-
builder
public static PrintSetImageResolution.PrintSetImageResolutionBuilder builder()
-
getContext
public int getContext()
-
getImageResolution
public short getImageResolution()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-