com.jniwrapper.win32.gdi
Class GdiObject

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Pointer.Void
          extended bycom.jniwrapper.win32.Handle
              extended bycom.jniwrapper.win32.gdi.GdiObject
All Implemented Interfaces:
com.jniwrapper.IntegerParameter, com.jniwrapper.PointerParameter
Direct Known Subclasses:
Bitmap, Brush, Cursor, Font, Icon, Pen, Region

public abstract class GdiObject
extends Handle

An abstract base for all GDI objects.


Nested Class Summary
static class GdiObject.ImageLoadParameters
          ImageLoadParameters class.
static class GdiObject.ImageType
          Class ImageType represents the enumeration of windows image types.
static class GdiObject.Type
          GdiObjectType class represents the enumeration of standard GDI object types.
 
Field Summary
static int GDI_ERROR
           
static int HGDI_ERROR
           
 
Fields inherited from class com.jniwrapper.win32.Handle
INFINITE_TIMEOUT, INVALID_HANDLE_VALUE, STATUS_ABANDONED_WAIT_0, STATUS_TIMEOUT, STATUS_WAIT_0
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
GdiObject()
           
GdiObject(long value)
           
 
Method Summary
 void deleteObject()
           
 long getObject(GdiObject object, com.jniwrapper.Parameter data)
           
 GdiObject.Type getObjectType()
          Returns GDI object type.
 
Methods inherited from class com.jniwrapper.win32.Handle
clone, closeHandle, equals, waitFor, waitFor
 
Methods inherited from class com.jniwrapper.Pointer.Void
asFunction, asFunction, asTypedPointer, castTo, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GDI_ERROR

public static final int GDI_ERROR
See Also:
Constant Field Values

HGDI_ERROR

public static final int HGDI_ERROR
See Also:
Constant Field Values
Constructor Detail

GdiObject

public GdiObject()

GdiObject

public GdiObject(long value)
Method Detail

deleteObject

public void deleteObject()

getObject

public long getObject(GdiObject object,
                      com.jniwrapper.Parameter data)

getObjectType

public GdiObject.Type getObjectType()
Returns GDI object type.

Returns:
object type