Class CreateMode
- java.lang.Object
-
- com.github.moaxcp.x11client.protocol.randr.CreateMode
-
- All Implemented Interfaces:
TwoWayRequest<CreateModeReply>,XObject,XRequest
public final class CreateMode extends java.lang.Object implements TwoWayRequest<CreateModeReply>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateMode.CreateModeBuilder
-
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 CreateMode.CreateModeBuilderbuilder()booleanequals(java.lang.Object o)@NonNull ModeInfogetModeInfo()@NonNull java.util.List<java.lang.Byte>getName()bytegetOpCode()XReplyFunction<CreateModeReply>getReplyFunction()intgetSize()length of object expressed in units of 4 bytesintgetWindow()inthashCode()static CreateModereadCreateMode(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<CreateModeReply> getReplyFunction()
- Specified by:
getReplyFunctionin interfaceTwoWayRequest<CreateModeReply>
-
readCreateMode
public static CreateMode readCreateMode(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 CreateMode.CreateModeBuilder builder()
-
getWindow
public int getWindow()
-
getModeInfo
@NonNull public @NonNull ModeInfo getModeInfo()
-
getName
@NonNull public @NonNull java.util.List<java.lang.Byte> getName()
-
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
-
-