Class ExtensionDeviceNotifyEvent
java.lang.Object
com.github.moaxcp.x11client.protocol.xkb.ExtensionDeviceNotifyEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanbytebytebyteshortshortgetLedID()intintbytebytedefault StringshortbyteshortintgetSize()length of object expressed in units of 4 bytesshortintgetTime()shortbyteinthashCode()booleanisReasonEnabled(@NonNull XIFeature... maskEnums) booleanbooleanisSupportedEnabled(@NonNull XIFeature... maskEnums) booleanisUnsupportedEnabled(@NonNull XIFeature... maskEnums) static ExtensionDeviceNotifyEventreadExtensionDeviceNotifyEvent(byte firstEventOffset, boolean sentEvent, X11Input in) toString()void
-
Field Details
-
NUMBER
public static final byte NUMBER- See Also:
-
-
Method Details
-
getResponseCode
public byte getResponseCode()- Specified by:
getResponseCodein interfaceXResponse
-
getNumber
public byte getNumber() -
readExtensionDeviceNotifyEvent
public static ExtensionDeviceNotifyEvent readExtensionDeviceNotifyEvent(byte firstEventOffset, boolean sentEvent, X11Input in) throws IOException - Throws:
IOException
-
write
- Specified by:
writein interfaceXEvent- Throws:
IOException
-
isReasonEnabled
-
isSupportedEnabled
-
isUnsupportedEnabled
-
getSize
public int getSize()Description copied from interface:XObjectlength of object expressed in units of 4 bytes -
builder
-
getFirstEventOffset
public byte getFirstEventOffset()- Specified by:
getFirstEventOffsetin interfaceXEvent
-
isSentEvent
public boolean isSentEvent() -
getXkbType
public byte getXkbType() -
getSequenceNumber
public short getSequenceNumber()- Specified by:
getSequenceNumberin interfaceXResponse
-
getTime
public int getTime() -
getDeviceID
public byte getDeviceID() -
getReason
public short getReason() -
getLedClass
public short getLedClass() -
getLedID
public short getLedID() -
getLedsDefined
public int getLedsDefined() -
getLedState
public int getLedState() -
getFirstButton
public byte getFirstButton() -
getNButtons
public byte getNButtons() -
getSupported
public short getSupported() -
getUnsupported
public short getUnsupported() -
equals
-
hashCode
public int hashCode() -
toString
-
getPluginName
- Specified by:
getPluginNamein interfaceXObject
-