com.moesol.bindings.platform_sdk.windows_api
Class BITMAP

java.lang.Object
  extended by com.moesol.bindings.NativeStructure
      extended by com.moesol.bindings.platform_sdk.windows_api.BITMAP
All Implemented Interfaces:
Comparable

public class BITMAP
extends NativeStructure


Constructor Summary
BITMAP()
           
BITMAP(ByteBuffer bb)
           
 
Method Summary
 boolean equals(Object o)
          Tells whether or not this structure is equal to another structure.
 ByteBuffer get_bmBits()
           
 short get_bmBitsPixel()
           
 int get_bmHeight()
           
 short get_bmPlanes()
           
 int get_bmType()
           
 int get_bmWidth()
           
 int get_bmWidthBytes()
           
 int hashCode()
          Computes the hash of the bytes of this native structure.
 void set_bmBits(ByteBuffer v)
           
 void set_bmBitsPixel(short v)
           
 void set_bmHeight(int v)
           
 void set_bmPlanes(short v)
           
 void set_bmType(int v)
           
 void set_bmWidth(int v)
           
 void set_bmWidthBytes(int v)
           
static int sizeof()
           
 
Methods inherited from class com.moesol.bindings.NativeStructure
_getByteBuffer, _getStructureBytes, clearRecord, compareTo, freeLpwstr, getArray, getBool, getBOOLArray, getBstr, getBSTRArray, getBstrArray, getByte, getBYTEArray, getByteArray, getByteBuffer, getByteSize, getByteString, getDate, getDouble, getDOUBLEArray, getDoubleArray, getDoubleSize, getFloat, getFLOATArray, getFloatArray, getFloatSize, getInt, getINTArray, getIntArray, getInterface, getIntSize, getLong, getLONGArray, getLongSize, getLpwstr, getPtrInt, getPtrShort, getPtrShortString, getPtrStruct, getPtrUnsignedByte, getPtrUnsignedShort, getPtrVariant, getPtrvoid, getRemaining, getSCODE, getShort, getSHORTArray, getShortArray, getShortSize, getSlice, getSlice, getString, getStruct, getStruct, getStructArray, getUINTArray, getUnsignedByte, getUnsignedByteArray, getUnsignedByteSize, getUnsignedInt, getUnsignedIntArray, getUnsignedIntSize, getUnsignedLongLong, getUnsignedLongSize, getUnsignedShort, getUnsignedShortArray, getUnsignedShortSize, getUSHORTArray, getVariant, getVARIANTArray, order, order, putArray, putBool, putBOOLArray, putBstr, putBstrArray, putBSTRArray, putByte, putByteArray, putBYTEArray, putByteString, putDate, putDouble, putDOUBLEArray, putDoubleArray, putFloat, putFLOATArray, putFloatArray, putInt, putINTArray, putIntArray, putInterface, putLong, putLONGArray, putLpwstr, putPtrInt, putPtrShort, putPtrShortString, putPtrStruct, putPtrUnsignedByte, putPtrUnsignedShort, putPtrVariant, putPtrvoid, putSCODE, putShort, putShortArray, putSHORTArray, putString, putStruct, putStruct, putStructArray, putUINTArray, putUnsignedByte, putUnsignedByteArray, putUnsignedInt, putUnsignedIntArray, putUnsignedLongLong, putUnsignedShort, putUnsignedShortArray, putUSHORTArray, putVariant, putVARIANTArray, stringFromC, stringFromC, zero
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BITMAP

public BITMAP()

BITMAP

public BITMAP(ByteBuffer bb)
Method Detail

sizeof

public static int sizeof()

set_bmType

public void set_bmType(int v)

get_bmType

public int get_bmType()

set_bmWidth

public void set_bmWidth(int v)

get_bmWidth

public int get_bmWidth()

set_bmHeight

public void set_bmHeight(int v)

get_bmHeight

public int get_bmHeight()

set_bmWidthBytes

public void set_bmWidthBytes(int v)

get_bmWidthBytes

public int get_bmWidthBytes()

set_bmPlanes

public void set_bmPlanes(short v)

get_bmPlanes

public short get_bmPlanes()

set_bmBitsPixel

public void set_bmBitsPixel(short v)

get_bmBitsPixel

public short get_bmBitsPixel()

set_bmBits

public void set_bmBits(ByteBuffer v)

get_bmBits

public ByteBuffer get_bmBits()

equals

public boolean equals(Object o)
Description copied from class: NativeStructure
Tells whether or not this structure is equal to another structure. The classes of the structures must be the same and their byte buffers must also be equal.

Overrides:
equals in class NativeStructure
Returns:
true if two have structures are the same.

hashCode

public int hashCode()
Description copied from class: NativeStructure
Computes the hash of the bytes of this native structure. The underlying byte buffer may be direct or indirect.

Overrides:
hashCode in class NativeStructure
Returns:
the computed hash of the bytes of the native structure.


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.