JNative v1.3 project : see http://jnative.sf.net


org.xvolks.jnative.misc
Class ChooseColor

java.lang.Object
  extended by org.xvolks.jnative.misc.basicStructures.AbstractBasicData<ChooseColor>
      extended by org.xvolks.jnative.misc.ChooseColor
All Implemented Interfaces:
BasicData<ChooseColor>

public class ChooseColor
extends AbstractBasicData<ChooseColor>

$Id: ChooseColor.java,v 1.2 2006/06/09 20:44:05 mdenty Exp $ This software is released under the LGPL.


Field Summary
 LONG rgbResult
           
 
Fields inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData
mValue, offset, pointer
 
Constructor Summary
ChooseColor()
           
 
Method Summary
 void addCallback(Callback lCallback)
           
 Pointer createPointer()
          Method createPointer reserves a native MemoryBlock and copy its value in it
 int getSizeOf()
          Method getSizeOf
 ChooseColor getValueFromPointer()
          Method getValueFromPointer gets the value of this data from the native memory block
 void removeCallback()
           
 void setCustData(LPARAM custData)
           
 void setFlags(LONG flags)
           
 void setInstance(HWND instance)
           
 void setOwner(HWND owner)
           
 void setTemplateName(java.lang.String templateName)
           
 
Methods inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData
getNextByte, getNextInt, getNextLong, getNextShort, getPointer, getValue, getValueAsString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rgbResult

public LONG rgbResult
Constructor Detail

ChooseColor

public ChooseColor()
            throws NativeException
Throws:
NativeException
Method Detail

removeCallback

public void removeCallback()
                    throws NativeException
Throws:
NativeException

addCallback

public void addCallback(Callback lCallback)
                 throws NativeException
Throws:
NativeException

getValueFromPointer

public ChooseColor getValueFromPointer()
                                throws NativeException
Description copied from interface: BasicData
Method getValueFromPointer gets the value of this data from the native memory block

Returns:
a T
Throws:
NativeException

getSizeOf

public int getSizeOf()
Description copied from interface: BasicData
Method getSizeOf

Returns:
the size of this data

createPointer

public Pointer createPointer()
                      throws NativeException
Description copied from interface: BasicData
Method createPointer reserves a native MemoryBlock and copy its value in it

Returns:
a Pointer on the reserved memory
Throws:
NativeException

setOwner

public void setOwner(HWND owner)
              throws NativeException
Throws:
NativeException

setInstance

public void setInstance(HWND instance)
                 throws NativeException
Throws:
NativeException

setFlags

public void setFlags(LONG flags)
              throws NativeException
Throws:
NativeException

setCustData

public void setCustData(LPARAM custData)
                 throws NativeException
Throws:
NativeException

setTemplateName

public void setTemplateName(java.lang.String templateName)
                     throws NativeException
Throws:
NativeException

JNative v1.3 project : see http://jnative.sf.net