EspressReport 6.6

quadbase.util
Interface ITrendLineSet


public interface ITrendLineSet

This interface contains methods to add/remove trend lines from the chart. Properties of the trend lines can be changed by methods declared in ITrendLine.

A handle to an object that implements this interface can be obtained by calling the gethTrendLines method defined in QbChart.

See Also:
ITrendLine

Method Summary
 void add(ITrendLine l)
          Adds a new trend line to the chart.
 java.util.Enumeration elements()
          Returns the list of trend lines defined in the chart.
 ITrendLine newInstance()
          Create a new trend line to add to the chart.
 void remove(ITrendLine l)
          Delete the specified trend line from the chart.
 void removeAll()
          Removes all the trend lines currently defined in the chart.
 void set(java.util.Enumeration elements)
          Sets a list of trend lines in the chart.
 

Method Detail

newInstance

ITrendLine newInstance()
Create a new trend line to add to the chart. Properties of this trend line can be modified by calling methods declared in ITrendLine.

Returns:
A handle to ITrendLine
See Also:
ITrendLine

add

void add(ITrendLine l)
Adds a new trend line to the chart.

Associated QbChart property: TRENDLINE

Parameters:
l - The trend line to add to the chart.
See Also:
ITrendLine

remove

void remove(ITrendLine l)
Delete the specified trend line from the chart.

Associated QbChart property: DEL_TRENDLINE

Parameters:
l - The trend line to remove from the chart.

removeAll

void removeAll()
Removes all the trend lines currently defined in the chart.


elements

java.util.Enumeration elements()
Returns the list of trend lines defined in the chart.

Associated QbChart property: TRENDLINELIST

Returns:
The list of trend lines. All items in the list are of type quadbase.util.ITrendLine.

set

void set(java.util.Enumeration elements)
Sets a list of trend lines in the chart.

Parameters:
elements - The list of new trend lines to add to the chart. Each element of the list should be of type quadbase.util.ITrendLine.
See Also:
ITrendLine

EspressReport 6.6