com.jniwrapper.win32.gdi
Class BitmapFileHeader

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Structure
          extended bycom.jniwrapper.win32.gdi.BitmapFileHeader
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class BitmapFileHeader
extends com.jniwrapper.Structure

This class represents BITMAPFILEHEADER structure.


Field Summary
static int BITMAP_TYPE
           
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
BitmapFileHeader()
           
BitmapFileHeader(BitmapFileHeader that)
           
 
Method Summary
 java.lang.Object clone()
           
 long getOffBits()
          Sets offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits.
 long getReserved1()
           
 long getReserved2()
           
 long getSize()
          Returns bitmap file size.
 long getType()
          Returns bitmap type value.
 void setOffBits(long offBits)
          Returns offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits.
 void setReserved1(long reserved1)
           
 void setReserved2(long reserved2)
           
 void setSize(long size)
          Sets bitmap file size.
 void setType(long type)
          Sets bitmap type.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BITMAP_TYPE

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

BitmapFileHeader

public BitmapFileHeader()

BitmapFileHeader

public BitmapFileHeader(BitmapFileHeader that)
Method Detail

getType

public long getType()
Returns bitmap type value.

Returns:
bitmap type

setType

public void setType(long type)
Sets bitmap type.

Parameters:
type -

getSize

public long getSize()
Returns bitmap file size.

Returns:
size of bitmap file

setSize

public void setSize(long size)
Sets bitmap file size.

Parameters:
size - of bitmap file

getReserved1

public long getReserved1()

setReserved1

public void setReserved1(long reserved1)

getReserved2

public long getReserved2()

setReserved2

public void setReserved2(long reserved2)

getOffBits

public long getOffBits()
Sets offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits.

Returns:
offset

setOffBits

public void setOffBits(long offBits)
Returns offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits.

Parameters:
offBits -

clone

public java.lang.Object clone()