Package com.sun.jna.platform.unix
Class X11.Atom
java.lang.Object
java.lang.Number
com.sun.jna.IntegerType
com.sun.jna.NativeLong
com.sun.jna.platform.unix.X11.XID
com.sun.jna.platform.unix.X11.Atom
- All Implemented Interfaces:
NativeMapped
,Serializable
- Enclosing interface:
- X11
- See Also:
-
Field Summary
FieldsFields inherited from class com.sun.jna.NativeLong
SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromNative
(Object nativeValue, FromNativeContext context) Return constants for predefinedAtom
values.Methods inherited from class com.sun.jna.IntegerType
compare, compare, compare, doubleValue, equals, floatValue, hashCode, intValue, longValue, nativeType, setValue, toNative
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
None
-
-
Constructor Details
-
Atom
public Atom() -
Atom
public Atom(long id)
-
-
Method Details
-
fromNative
Return constants for predefinedAtom
values.- Specified by:
fromNative
in interfaceNativeMapped
- Overrides:
fromNative
in classX11.XID
- Parameters:
nativeValue
- Java representation of the native type to be converted.context
- Context in which the conversion is taking place.- Returns:
- Converted object.
-