com.jniwrapper.win32.dde
Class DdeItem

java.lang.Object
  extended bycom.jniwrapper.win32.dde.DdeItem

public class DdeItem
extends java.lang.Object

This class is provided for description of item data.


Field Summary
static long CF_BITMAP
          Specifies a handle to bitmap.
static long CF_DIB
          Specifies memory object containing a BITMAPINFO structure.
static long CF_DIBV5
          Specifies memory object containing a BITMAPV5HEADER structure.
static long CF_DIF
          Specifies Software Arts' Data Interchange Format.
static long CF_DSPBITMAP
          Specifies bitmap display format.
static long CF_DSPENHMETAFILE
          Specifies enhanced metafile display format.
static long CF_DSPMETAFILEPICT
          Specifies metafile-picture display format.
static long CF_DSPTEXT
          Specifies text display format.
static long CF_ENHMETAFILE
          Specifies handle to an enhanced metafile.
static long CF_GDIOBJFIRST
          Specifies first value in application-defined Microsoft Windows Graphics Device Interface (GDI) object clipboard formats
static long CF_GDIOBJLAST
          Specifies last value in application-defined Microsoft Windows Graphics Device Interface (GDI) object clipboard formats
static long CF_HDROP
          Specifies handle to type HDROP that identifies a list of files.
static long CF_LOCALE
          Specifies which character set is used.
static long CF_METAFILEPICT
          Specifies a handle to a metafile picture format.
static long CF_OEMTEXT
          Specifies text format containing characters in the OEM character set.
static long CF_OWNERDISPLAY
          Specifies owner-display format.
static long CF_PALETTE
          Specifies handle to a color palette.
static long CF_PENDATA
          Specifies data for the pen extensions.
static long CF_PRIVATEFIRST
          Specifies first value in private clipboard formats.
static long CF_PRIVATELAST
          Specifies last value in private clipboard formats.
static long CF_RIFF
          Specifies audio data more complex than CF_WAVE.
static long CF_SYLK
          Specifies Microsoft Symbolic Link (SYLK) format.
static long CF_TEXT
          Specifies ANSI text format.
static long CF_TIFF
          Specifies Tagged-image file format.
static long CF_UNICODETEXT
          Specifies Unicode text format.
static long CF_WAVE
          Specifies audio data in one of the standard wave formats.
 
Constructor Summary
DdeItem(java.lang.String name)
          Creates an instance of the class with specified name and sets the data format to CF_TEXT.
DdeItem(java.lang.String name, long format)
          Creates an instance of the class with a specified item name and data format.
 
Method Summary
 long getFormat()
          Returns the item data format.
 java.lang.String getName()
          Returns the name of the item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CF_TEXT

public static final long CF_TEXT
Specifies ANSI text format.

See Also:
Constant Field Values

CF_BITMAP

public static final long CF_BITMAP
Specifies a handle to bitmap.

See Also:
Constant Field Values

CF_METAFILEPICT

public static final long CF_METAFILEPICT
Specifies a handle to a metafile picture format.

See Also:
Constant Field Values

CF_SYLK

public static final long CF_SYLK
Specifies Microsoft Symbolic Link (SYLK) format.

See Also:
Constant Field Values

CF_DIF

public static final long CF_DIF
Specifies Software Arts' Data Interchange Format.

See Also:
Constant Field Values

CF_TIFF

public static final long CF_TIFF
Specifies Tagged-image file format.

See Also:
Constant Field Values

CF_OEMTEXT

public static final long CF_OEMTEXT
Specifies text format containing characters in the OEM character set.

See Also:
Constant Field Values

CF_DIB

public static final long CF_DIB
Specifies memory object containing a BITMAPINFO structure.

See Also:
Constant Field Values

CF_PALETTE

public static final long CF_PALETTE
Specifies handle to a color palette.

See Also:
Constant Field Values

CF_PENDATA

public static final long CF_PENDATA
Specifies data for the pen extensions.

See Also:
Constant Field Values

CF_RIFF

public static final long CF_RIFF
Specifies audio data more complex than CF_WAVE.

See Also:
Constant Field Values

CF_WAVE

public static final long CF_WAVE
Specifies audio data in one of the standard wave formats.

See Also:
Constant Field Values

CF_UNICODETEXT

public static final long CF_UNICODETEXT
Specifies Unicode text format.

See Also:
Constant Field Values

CF_ENHMETAFILE

public static final long CF_ENHMETAFILE
Specifies handle to an enhanced metafile.

See Also:
Constant Field Values

CF_HDROP

public static final long CF_HDROP
Specifies handle to type HDROP that identifies a list of files.

See Also:
Constant Field Values

CF_LOCALE

public static final long CF_LOCALE
Specifies which character set is used.

See Also:
Constant Field Values

CF_DIBV5

public static final long CF_DIBV5
Specifies memory object containing a BITMAPV5HEADER structure.

See Also:
Constant Field Values

CF_OWNERDISPLAY

public static final long CF_OWNERDISPLAY
Specifies owner-display format.

See Also:
Constant Field Values

CF_DSPTEXT

public static final long CF_DSPTEXT
Specifies text display format.

See Also:
Constant Field Values

CF_DSPBITMAP

public static final long CF_DSPBITMAP
Specifies bitmap display format.

See Also:
Constant Field Values

CF_DSPMETAFILEPICT

public static final long CF_DSPMETAFILEPICT
Specifies metafile-picture display format.

See Also:
Constant Field Values

CF_DSPENHMETAFILE

public static final long CF_DSPENHMETAFILE
Specifies enhanced metafile display format.

See Also:
Constant Field Values

CF_PRIVATEFIRST

public static final long CF_PRIVATEFIRST
Specifies first value in private clipboard formats.

See Also:
Constant Field Values

CF_PRIVATELAST

public static final long CF_PRIVATELAST
Specifies last value in private clipboard formats.

See Also:
Constant Field Values

CF_GDIOBJFIRST

public static final long CF_GDIOBJFIRST
Specifies first value in application-defined Microsoft Windows Graphics Device Interface (GDI) object clipboard formats

See Also:
Constant Field Values

CF_GDIOBJLAST

public static final long CF_GDIOBJLAST
Specifies last value in application-defined Microsoft Windows Graphics Device Interface (GDI) object clipboard formats

See Also:
Constant Field Values
Constructor Detail

DdeItem

public DdeItem(java.lang.String name,
               long format)
Creates an instance of the class with a specified item name and data format.

Parameters:
name - is a name of the item.
format - is a data format.

DdeItem

public DdeItem(java.lang.String name)
Creates an instance of the class with specified name and sets the data format to CF_TEXT.

Parameters:
name -
Method Detail

getName

public java.lang.String getName()
Returns the name of the item.

Returns:
the name of the item.

getFormat

public long getFormat()
Returns the item data format.

Returns:
the item data format.