com.jniwrapper.win32.gdi
Class LogPalette

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

public class LogPalette
extends com.jniwrapper.Structure

The LogPalette class represents the LOGPALETTE structure. LOGPALETTE in MSDN Library


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
LogPalette()
          Creates new logical palette.
LogPalette(LogPalette that)
          Creates new instance of the LogPalette and initializes it by the specified one.
 
Method Summary
 java.lang.Object clone()
          Creates copy of this instance.
 com.jniwrapper.UInt16 getPalNumEntries()
          Returns the value that specifies the number of entries in the logical palette.
 com.jniwrapper.Pointer getPalPalEntry()
          Returns an array of PaletteEntry instances that define the color and usage of each entry in the logical palette.
 com.jniwrapper.UInt16 getPalVersion()
          Returns value that specifies the version number of the system.
 
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
 

Constructor Detail

LogPalette

public LogPalette()
Creates new logical palette.


LogPalette

public LogPalette(LogPalette that)
Creates new instance of the LogPalette and initializes it by the specified one.

Parameters:
that - Instance of the LogPalette that will be used to initialize created instance.
Method Detail

getPalVersion

public com.jniwrapper.UInt16 getPalVersion()
Returns value that specifies the version number of the system.

Returns:
The version number of the system.

getPalNumEntries

public com.jniwrapper.UInt16 getPalNumEntries()
Returns the value that specifies the number of entries in the logical palette.

Returns:
The number of entries in the logical palette.

getPalPalEntry

public com.jniwrapper.Pointer getPalPalEntry()
Returns an array of PaletteEntry instances that define the color and usage of each entry in the logical palette.

Returns:
An array of PaletteEntry instances that define the color and usage of each entry in the logical palette.

clone

public java.lang.Object clone()
Creates copy of this instance.

Overrides:
clone in class com.jniwrapper.Structure
Returns:
The copy of this instance.