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

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

public final class LineStyle
extends java.lang.Object

This class is used to specify a border's line style.


Field Summary
static int _blank
           The line style is blank.
static int _dashed
           A dashed line.
static int _dotted
           A dotted line.
static int _double
           A double line.
static int _invalid
           The line style is not valid.
static int _noLine
           No line (default).
static int _single
           A single line.
static LineStyle blank
           A LineStyle object that specifies the line style is blank.
static LineStyle dashedLine
           A LineStyle object that specifies a dashed line.
static LineStyle dottedLine
           A LineStyle object that specifies a dotted line.
static LineStyle doubleLine
           A LineStyle object that specifies a double line.
static int DOUBLELINE_BREADTH
           The breadth of a double line in twips.
static LineStyle invalid
           A LineStyle object that specifies that the line style is not valid.
static LineStyle noLine
           A LineStyle object that specifies no line.
static LineStyle singleLine
           A LineStyle object that specifies a single line.
static int SINGLINE_BREADTH
           The breadth of a single, dashed or dotted line in twips.
 
Method Summary
static LineStyle from_int(int i)
           Returns the LineStyle object corresponding to the specified value.
static LineStyle from_string(java.lang.String sVal)
           Returns the LineStyle object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this LineStyle object.
 int value()
           Returns the int value of this LineStyle object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SINGLINE_BREADTH

public static final int SINGLINE_BREADTH

The breadth of a single, dashed or dotted line in twips.

See Also:
Constant Field Values

DOUBLELINE_BREADTH

public static final int DOUBLELINE_BREADTH

The breadth of a double line in twips.

See Also:
Constant Field Values

_noLine

public static final int _noLine

No line (default).

See Also:
Constant Field Values

_single

public static final int _single

A single line.

See Also:
Constant Field Values

_double

public static final int _double

A double line.

See Also:
Constant Field Values

_dashed

public static final int _dashed

A dashed line.

See Also:
Constant Field Values

_dotted

public static final int _dotted

A dotted line.

See Also:
Constant Field Values

_invalid

public static final int _invalid

The line style is not valid.

See Also:
Constant Field Values

_blank

public static final int _blank

The line style is blank.

See Also:
Constant Field Values

noLine

public static final LineStyle noLine

A LineStyle object that specifies no line. This is the default.


singleLine

public static final LineStyle singleLine

A LineStyle object that specifies a single line.


doubleLine

public static final LineStyle doubleLine

A LineStyle object that specifies a double line.


dashedLine

public static final LineStyle dashedLine

A LineStyle object that specifies a dashed line.


dottedLine

public static final LineStyle dottedLine

A LineStyle object that specifies a dotted line.


invalid

public static final LineStyle invalid

A LineStyle object that specifies that the line style is not valid.


blank

public static final LineStyle blank

A LineStyle object that specifies the line style is blank.

Method Detail

from_int

public static final LineStyle from_int(int i)

Returns the LineStyle object corresponding to the specified value.

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

from_string

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

Returns the LineStyle object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this LineStyle object.

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

value

public int value()

Returns the int value of this LineStyle object.

Returns:
The int value of this LineStyle object.