com.businessobjects.rebean.wi
Class BorderSize

java.lang.Object
  extended by com.businessobjects.rebean.wi.BorderSize
All Implemented Interfaces:
java.io.Serializable

public final class BorderSize
extends java.lang.Object
implements java.io.Serializable

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

Represents all possible border sizes.

See Also:
SimpleBorder.getSize(), SimpleBorder.setSize(BorderSize), Serialized Form

Field Summary
static int _MEDIUM
          int value of MEDIUM.value()
static int _NONE
          int value of NONE.value()
static int _THICK
          int value of THICK.value()
static int _THIN
          int value of THIN.value()
static BorderSize MEDIUM
          Represents a medium thick border.
static BorderSize NONE
          Represents no border.
static BorderSize THICK
          Represents a thick border.
static BorderSize THIN
          Represents a thin border.
 
Method Summary
static BorderSize fromInt(int value)
           
 java.lang.String toString()
           
 int value()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_NONE

public static final int _NONE
int value of NONE.value()

See Also:
Constant Field Values

_THIN

public static final int _THIN
int value of THIN.value()

See Also:
Constant Field Values

_MEDIUM

public static final int _MEDIUM
int value of MEDIUM.value()

See Also:
Constant Field Values

_THICK

public static final int _THICK
int value of THICK.value()

See Also:
Constant Field Values

NONE

public static final BorderSize NONE
Represents no border.


THIN

public static final BorderSize THIN
Represents a thin border.


MEDIUM

public static final BorderSize MEDIUM
Represents a medium thick border.


THICK

public static final BorderSize THICK
Represents a thick border.

Method Detail

value

public int value()
Returns:
the int value of this border size

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a String representation of this border size (for debug purposes)

fromInt

public static BorderSize fromInt(int value)
Returns:
an BorderSize instance corresponding to value, or null when value does not correspond to any BorderSize