com.businessobjects.rebean.wi
Interface Legend

All Superinterfaces:
Decoration

public interface Legend
extends Decoration

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

Legend interface represents a graph legend.


Method Summary
 LegendPosition getPosition()
          Returns the legend position.
 boolean isVisible()
          Checks if the legend is visible.
 void setPosition(LegendPosition position)
          Changes the legend position.
 void setVisible(boolean b)
          Shows or hides the legend.
 
Methods inherited from interface com.businessobjects.rebean.wi.Decoration
getAlignment, getAttributes, getBackgroundAlignment, getFont, setAlignment, setAttributes, setBackgroundAlignment, setFont
 

Method Detail

isVisible

boolean isVisible()
Checks if the legend is visible.

Returns:
true if the legend is visible

setVisible

void setVisible(boolean b)
Shows or hides the legend.

Parameters:
b - when true, the legend will be shown

getPosition

LegendPosition getPosition()
Returns the legend position.

Returns:
the position of the legend in the graph

setPosition

void setPosition(LegendPosition position)
Changes the legend position.

Parameters:
position - the new position