Class CreateCursor
- java.lang.Object
-
- com.github.moaxcp.x11client.protocol.render.CreateCursor
-
- All Implemented Interfaces:
OneWayRequest,XObject,XRequest
public final class CreateCursor extends java.lang.Object implements OneWayRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateCursor.CreateCursorBuilder
-
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 CreateCursor.CreateCursorBuilderbuilder()booleanequals(java.lang.Object o)intgetCid()bytegetOpCode()intgetSize()length of object expressed in units of 4 bytesintgetSource()shortgetX()shortgetY()inthashCode()static CreateCursorreadCreateCursor(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
-
readCreateCursor
public static CreateCursor readCreateCursor(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 CreateCursor.CreateCursorBuilder builder()
-
getCid
public int getCid()
-
getSource
public int getSource()
-
getX
public short getX()
-
getY
public short getY()
-
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
-
-