com.crystaldecisions.sdk.occa.report.definition
Class PictureType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.PictureType

public final class PictureType
extends java.lang.Object

This class is used to specify the file format of a picture.


Field Summary
static int _bitmap
           A bitmap.
static int _dib
          For internal use only
static int _emf
          For internal use only
static int _gif
          For internal use only
static int _jpg
          For internal use only
static int _png
          For internal use only
static int _unknown
           Unknown file type.
static int _wmf
          For internal use only
static PictureType bitmap
           A PictureType object that specifies a bitmap.
static PictureType dib
          For internal use only
static PictureType emf
          For internal use only
static PictureType gif
          For internal use only
static PictureType jpg
          For internal use only
static PictureType png
          For internal use only
static PictureType unknown
           A PictureType object that specifies an unknown file type.
static PictureType wmf
          For internal use only
 
Constructor Summary
PictureType()
           
 
Method Summary
static PictureType from_int(int i)
           Returns the PictureType object corresponding to the specified value.
static PictureType from_string(java.lang.String sVal)
           Returns the PictureType object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this PictureType object.
 int value()
           Returns the int value of this PictureType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_unknown

public static final int _unknown

Unknown file type.

See Also:
Constant Field Values

_bitmap

public static final int _bitmap

A bitmap.

See Also:
Constant Field Values

_dib

public static final int _dib
For internal use only

See Also:
Constant Field Values

_emf

public static final int _emf
For internal use only

See Also:
Constant Field Values

_wmf

public static final int _wmf
For internal use only

See Also:
Constant Field Values

_jpg

public static final int _jpg
For internal use only

See Also:
Constant Field Values

_gif

public static final int _gif
For internal use only

See Also:
Constant Field Values

_png

public static final int _png
For internal use only

See Also:
Constant Field Values

unknown

public static final PictureType unknown

A PictureType object that specifies an unknown file type.


bitmap

public static final PictureType bitmap

A PictureType object that specifies a bitmap.


dib

public static final PictureType dib
For internal use only


emf

public static final PictureType emf
For internal use only


wmf

public static final PictureType wmf
For internal use only


jpg

public static final PictureType jpg
For internal use only


gif

public static final PictureType gif
For internal use only


png

public static final PictureType png
For internal use only

Constructor Detail

PictureType

public PictureType()
Method Detail

from_int

public static final PictureType from_int(int i)

Returns the PictureType object corresponding to the specified value.

Parameters:
i - The int value of the desired PictureType object.
Returns:
The PictureType object corresponding to the specified value.

from_string

public static final PictureType from_string(java.lang.String sVal)

Returns the PictureType object corresponding to the specified type.

Parameters:
sVal - The String value of the desired PictureType object.
Returns:
The PictureType object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this PictureType object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this PictureType object.

value

public int value()

Returns the int value of this PictureType object.

Returns:
The int value of this PictureType object.