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
           
static int _emf
           
static int _gif
           
static int _jpg
           
static int _png
           
static int _unknown
           Unknown file type.
static int _wmf
           
static PictureType bitmap
           A PictureType object that specifies a bitmap.
static PictureType dib
           
static PictureType emf
           
static PictureType gif
           
static PictureType jpg
           
static PictureType png
           
static PictureType unknown
           A PictureType object that specifies an unknown file type.
static PictureType wmf
           
 
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
See Also:
Constant Field Values

_emf

public static final int _emf
See Also:
Constant Field Values

_wmf

public static final int _wmf
See Also:
Constant Field Values

_jpg

public static final int _jpg
See Also:
Constant Field Values

_gif

public static final int _gif
See Also:
Constant Field Values

_png

public static final int _png
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

emf

public static final PictureType emf

wmf

public static final PictureType wmf

jpg

public static final PictureType jpg

gif

public static final PictureType gif

png

public static final PictureType png
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.