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 _unknown
           Unknown file type.
static PictureType bitmap
           A PictureType object that specifies a bitmap.
static PictureType unknown
           A PictureType object that specifies an unknown file type.
 
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

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.

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.