JNA API 3.0.3

com.sun.jna.examples.unix
Class X11.XID

java.lang.Object
  extended by com.sun.jna.examples.unix.X11.XID
All Implemented Interfaces:
NativeMapped
Direct Known Subclasses:
X11.Atom, X11.Colormap, X11.Cursor, X11.Drawable, X11.Font
Enclosing interface:
X11

public static class X11.XID
extends Object
implements NativeMapped


Field Summary
static X11.XID None
           
 
Constructor Summary
X11.XID()
           
X11.XID(int id)
           
X11.XID(Integer id)
           
 
Method Summary
 Object fromNative(Object nativeValue, FromNativeContext context)
          Convert the given native object into its Java representation using the given context.
protected  boolean isNone(Object o)
           
 Class nativeType()
          Indicate the native type used by this converter.
 Object toNative()
          Convert this object into a supported native type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

None

public static final X11.XID None
Constructor Detail

X11.XID

public X11.XID()

X11.XID

public X11.XID(Integer id)

X11.XID

public X11.XID(int id)
Method Detail

isNone

protected boolean isNone(Object o)

fromNative

public Object fromNative(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 Class nativeType()
Description copied from interface: NativeMapped
Indicate the native type used by this converter.

Specified by:
nativeType in interface NativeMapped

toNative

public Object toNative()
Description copied from interface: NativeMapped
Convert this object into a supported native type.

Specified by:
toNative in interface NativeMapped

toString

public String toString()
Overrides:
toString in class Object

JNA API 3.0.3

Copyright © 2007-2008 Timothy Wall. All Rights Reserved.