com.sun.jna.examples.unix
Class X11.XID
java.lang.Object
com.sun.jna.examples.unix.X11.XID
- All Implemented Interfaces:
- NativeMapped
- Direct Known Subclasses:
- X11.Atom, X11.Colormap, X11.Cursor, X11.Drawable
- Enclosing interface:
- X11
public static class X11.XID
- extends java.lang.Object
- implements NativeMapped
Method Summary |
java.lang.Object |
fromNative(java.lang.Object nativeValue,
FromNativeContext context)
Convert the given native object into its Java representation using
the given context. |
protected boolean |
isNone(java.lang.Object o)
|
java.lang.Class |
nativeType()
Indicate the native type used by this converter. |
java.lang.Object |
toNative()
Convert this object into a supported native type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
None
public static final X11.XID None
X11.XID
public X11.XID()
X11.XID
public X11.XID(java.lang.Integer id)
X11.XID
public X11.XID(int id)
isNone
protected boolean isNone(java.lang.Object o)
fromNative
public java.lang.Object fromNative(java.lang.Object nativeValue,
FromNativeContext context)
- Description copied from interface:
NativeMapped
- Convert the given native object into its Java representation using
the given context.
- Specified by:
fromNative
in interface NativeMapped
nativeType
public java.lang.Class nativeType()
- Description copied from interface:
NativeMapped
- Indicate the native type used by this converter.
- Specified by:
nativeType
in interface NativeMapped
toNative
public java.lang.Object toNative()
- Description copied from interface:
NativeMapped
- Convert this object into a supported native type.
- Specified by:
toNative
in interface NativeMapped
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007 Timothy Wall. All Rights Reserved.