com.businessobjects.rebean.wi
Class LegendPosition

java.lang.Object
  extended by com.businessobjects.rebean.wi.LegendPosition

public final class LegendPosition
extends java.lang.Object

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

LegendPosition class contains all possible legend positions for a graph.

See Also:
Legend

Field Summary
static int _BOTTOM
          int value of BOTTOM.value()
static int _LEFT
          int value of LEFT.value()
static int _RIGHT
          int value of RIGHT.value()
static LegendPosition BOTTOM
          Defines legend at the bottom of the chart.
static LegendPosition LEFT
          Defines legend at the left of the chart.
static LegendPosition RIGHT
          Defines legend at the right of the chart.
 
Method Summary
static LegendPosition fromInt(int value)
          Return a LegendPosition instance corresponding to value, or null when value does not correspond to any LegendPosition
 java.lang.String toString()
          Return a String representation of this legend position (for debug purposes)
 int value()
          Return the int value of this legend position
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_LEFT

public static final int _LEFT
int value of LEFT.value()

See Also:
Constant Field Values

_RIGHT

public static final int _RIGHT
int value of RIGHT.value()

See Also:
Constant Field Values

_BOTTOM

public static final int _BOTTOM
int value of BOTTOM.value()

See Also:
Constant Field Values

LEFT

public static final LegendPosition LEFT
Defines legend at the left of the chart.


RIGHT

public static final LegendPosition RIGHT
Defines legend at the right of the chart.


BOTTOM

public static final LegendPosition BOTTOM
Defines legend at the bottom of the chart.

Method Detail

value

public int value()
Return the int value of this legend position

Returns:
the int value of this legend position

toString

public java.lang.String toString()
Return a String representation of this legend position (for debug purposes)

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

fromInt

public static LegendPosition fromInt(int value)
Return a LegendPosition instance corresponding to value, or null when value does not correspond to any LegendPosition

Returns:
a LegendPosition instance corresponding to value, or null when value does not correspond to any LegendPosition