All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.JCChart

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jclass.bwt.JCContainer
                                   |
                                   +----jclass.chart.JCChart

public class JCChart
extends JCContainer
implements Changeable, JCSerializable, MouseListener, MouseMotionListener
JCChart is the core charting class. It acts as a template for the other JClass charting classes. It allows the retrieval of related objects such as JCChartArea, JCTitle (header and footer), and JCLegend. Each chart type is represented by a charting class derived from JCChart. The derived classes are responsible for constructing the appropriate JCChartArea, JCTitle and JCLegend objects.

Properties

Name Method
IsBatched The IsBatched property controls whether chart updates are accumulated. Default value is false.
DoubleBuffer The DoubleBuffer property controls whether the chart rendering uses an off-screen image or renders directly to the screen. Default value is true.
AllowUserChanges The AllowUserChanges property determines whether the user viewing the graph can modify graph values. Default value is false.
DataView The DataView property is an indexed property that contains all the data to be displayed in Chart. See ChartDataView for details on data format. By default, one ChartDataView is created.
Trigger The Trigger property is an indexed property that contains all the information necessary to map user events into Chart actions. The Trigger property is made up of a number of EventTrigger objects. Default value is empty.
ResetKey The ResetKey property specifies the key used to perform a reset operation.
CancelKey The CancelKey property specifies the key used to perform a cancel operation.
TopMargin The TopMargin property controls the top margin on the chart. Default value is 1.
LeftMargin The LeftMargin property controls the left margin on the chart. Default value is 1.
RightMargin The RightMargin property controls the right margin on the chart. Default value is 1.
BottomMargin The BottomMargin property controls the bottom margin on the chart. Default value is 1.
Offset The Offset property controls the amount of space between chart components. Default value is 5.
About The About property displays contact information for KL group in the bean box.


Variable Index

 o AREA
 o BAR
 o browser
 o BROWSER_APPLETVIEWER
 o BROWSER_EXPLORER
 o BROWSER_INTERPRETER
 o BROWSER_NETSCAPE
 o BROWSER_OTHER
 o BROWSER_UNIX
 o BROWSER_UNKNOWN
 o CANDLE
 o FILLED_RADAR
 o HILO
 o HILO_OPEN_CLOSE
 o NONE
 o os
 o PIE
 o PLOT
 o POLAR
 o RADAR
 o SCATTER_PLOT
 o STACKING_BAR
 o version

Constructor Index

 o JCChart()
Default constructor, required by Java Beans
 o JCChart(Applet, String)
Constructor so that we can get property values from the HTML file
 o JCChart(int)
Constructor that creates a JCChart of a particular type.

Method Index

 o addChartLabel(JCChartLabel)
 o addChartListener(JCChartListener)
 o addDataView(int)
DEPRECATED Method for adding a data view Deprecated.
 o addPickListener(JCPickListener)
 o addTrigger()
Adds a new event trigger to the Triggers property.
 o cancel()
Performs a cancel on the chart.
 o exportAsGIF(OutputStream)
 o findDataView(String)
Method used to find a data view given its name
 o getAbout()
Gets the value of the About property The About property displays contact information for KL group in the bean box.
 o getAllowUserChanges()
Gets the value of the AllowUserChanges property, which determines whether the user viewing the graph can modify graph values.
 o getBottomMargin()
Gets the BottomMargin property.
 o getCancelKey()
Gets the value of the CancelKey property.
 o getChanged()
Gets the value of the Changed property, which determines whether the chart requires a recalculation.
 o getChartArea()
Gets the value of the ChartArea property.
 o getDataView()
Gets the value of the DataView property.
 o getDataView(int)
Gets the value of the Data property.
 o getDoubleBuffer()
Gets the value of the DoubleBuffer property
 o getFooter()
Sets the Footer property.
 o getHeader()
Gets the Header property.
 o getIsBatched()
Gets the value of the IsBatched property.
 o getLeftMargin()
Gets the LeftMargin property.
 o getLegend()
Gets the Legend property The Legend property controls the object that controls the display of the legend.
 o getNumData()
Gets the value of the NumData property.
 o getNumTriggers()
Gets the NumTriggers property, which indicates how many event triggers have been specified.
 o getOffset()
Gets the value of the Offset property.
 o getParameters()
To read the property/parameter values from the HTML file
 o getResetKey()
Gets the value of the ResetKey property.
 o getRightMargin()
Gets the RightMargin property.
 o getTopMargin()
Gets the TopMargin property.
 o getTrigger(int)
Gets a single trigger from the Triggers property of JCChart.
 o insets()
Returns the chart margins.
 o isChanged()
Gets the value of the Changed property, which determines whether the chart requires a recalculation.
 o layout()
JCChart layout method.
 o layoutLegend(Point, Dimension, Point, Dimension)
Lays out the chart legend by modifying the provided Point and Dimension parameters.
 o locate(int, int)
 o minimumSize()
Calculates and returns the minimum size of the chart component.
 o mouseClicked(MouseEvent)
 o mouseDown(Event, int, int)
If currently over an URL anchor, returns.
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMove(Event, int, int)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o mouseUp(Event, int, int)
If currently over an URL anchor, display it.
 o paint(Graphics)
The top-level paint routine in JCChart.
 o pick(Point, ChartDataView)
Given a screen position in pixels, returns a JCDataIndex object which represents the closest point in a data series in the specified ChartDataView instance.
 o preferredSize()
Calculates and returns the preferred size of the chart component.
 o print(Graphics)
 o printAll(Graphics)
 o processMouseEvent(MouseEvent)
 o recalc()
If necessary, forces recalculation of the entire chart by calling the recalc() method for its components.
 o removeChartLabel(JCChartLabel)
 o removeChartListener(JCChartListener)
 o removeDataView(int)
Removes a ChartDataView from the index specified.
 o removePickListener(JCPickListener)
 o removeTrigger(int)
Removes the event trigger at the specified index.
 o reset()
Performs a reset on the chart.
 o rotate()
A call to rotate a graph to the specified locations.
 o rotateEnd()
A call to signify the end of a rotate event.
 o rotateStart()
A call to signify the beginning of a rotate event.
 o scale(double, JCAxis, boolean)
Performs a scale operation.
 o setAbout(String)
Sets the value of the About property The About property displays contact information for KL group in the bean box.
 o setAllowUserChanges(boolean)
Sets the value of the AllowUserChanges property, which determines whether the user viewing the graph can modify graph values.
 o setBottomMargin(int)
Sets the BottomMargin property.
 o setCancelKey(int)
Sets the value of the CancelKey property.
 o setChanged(boolean)
Sets the value of the Changed property, which determines whether the chart requires to be recalculated.
 o setChanged(boolean, boolean)
Sets the value of the Changed property, which determines whether the chart requires to be recalculated.
 o setChartArea(JCChartArea)
Sets the value of the ChartArea property.
 o setDataView(ChartDataView[])
Sets the value of the DataView property.
 o setDataView(int, ChartDataView)
Creates a new ChartDataView and adds it at the index specified.
 o setDoubleBuffer(boolean)
Sets the DoubleBuffereproperty, which controls whether the chart rendering uses an off-screen image or renders directly to the screen.
 o setFooter(JCTitle)
Sets the Footer property.
 o setHeader(JCTitle)
Sets the Header property.
 o setIsBatched(boolean)
Sets the value of the IsBatched property, which controls whether chart updates are accumulated.
 o setLeftMargin(int)
Sets the LeftMargin property.
 o setLegend(JCLegend)
Sets the Legend property The Legend property controls the object that controls the display of the legend.
 o setOffset(int)
Sets the value of the Offset property.
 o setResetKey(int)
Sets the value of the ResetKey property.
 o setRightMargin(int)
Sets the RightMargin property.
 o setTopMargin(int)
Sets the TopMargin property.
 o setTrigger(int, EventTrigger)
Sets the value of the Trigger property at a specified index.
 o snapshot()
 o translate(double, JCAxis, boolean)
A call to perform a translation of a specified amount along the specified axis.
 o translateStart(JCAxis)
A call to signify the start of a translate event.
 o unpick(ChartDataView, int, int)
Returns the position in screen pixels of a particular point in a particular data series.
 o unpick(int, ChartDataViewSeries)
Returns the position in screen pixels of a particular point in a particular data series.
 o update()
Forces the chart to re-layout and recalculate.
 o zoom(double, double, JCAxis, boolean)
Performs a zoom operation along the specified axis

Variables

 o NONE
  public final static int NONE
 o PLOT
  public final static int PLOT
 o SCATTER_PLOT
  public final static int SCATTER_PLOT
 o POLAR
  public final static int POLAR
 o RADAR
  public final static int RADAR
 o FILLED_RADAR
  public final static int FILLED_RADAR
 o HILO
  public final static int HILO
 o HILO_OPEN_CLOSE
  public final static int HILO_OPEN_CLOSE
 o CANDLE
  public final static int CANDLE
 o AREA
  public final static int AREA
 o BAR
  public final static int BAR
 o STACKING_BAR
  public final static int STACKING_BAR
 o PIE
  public final static int PIE
 o version
  public final static String version
 o BROWSER_UNKNOWN
  public final static int BROWSER_UNKNOWN
 o BROWSER_OTHER
  public final static int BROWSER_OTHER
 o BROWSER_INTERPRETER
  public final static int BROWSER_INTERPRETER
 o BROWSER_APPLETVIEWER
  public final static int BROWSER_APPLETVIEWER
 o BROWSER_NETSCAPE
  public final static int BROWSER_NETSCAPE
 o BROWSER_EXPLORER
  public final static int BROWSER_EXPLORER
 o BROWSER_UNIX
  public final static int BROWSER_UNIX
 o os
  public static int os
 o browser
  public static int browser

Constructors

 o JCChart
  public JCChart(int tp)
Constructor that creates a JCChart of a particular type. Note that the ChartType is actually a property of ChartDataView. This constructor is provided as a convenience.

Parameters:
tp - the chart type
See Also:
ChartDataView
 o JCChart
  public JCChart()
Default constructor, required by Java Beans

 o JCChart
  public JCChart(Applet applet,
                 String name)
Constructor so that we can get property values from the HTML file

Parameters:
applet - the applet that this chart is contained in
name - a name for this chart

Methods

 o processMouseEvent
  public void processMouseEvent(MouseEvent e)
Overrides:
processMouseEvent in class JCContainer
 o mousePressed
  public void mousePressed(MouseEvent event)
 o mouseClicked
  public void mouseClicked(MouseEvent event)
 o mouseReleased
  public void mouseReleased(MouseEvent event)
 o mouseEntered
  public void mouseEntered(MouseEvent event)
 o mouseExited
  public void mouseExited(MouseEvent event)
 o mouseDragged
  public void mouseDragged(MouseEvent event)
 o mouseMoved
  public void mouseMoved(MouseEvent event)
 o getParameters
  protected void getParameters()
To read the property/parameter values from the HTML file

Overrides:
getParameters in class JCContainer
 o isChanged
  public final boolean isChanged()
Gets the value of the Changed property, which determines whether the chart requires a recalculation.

 o getChanged
  public boolean getChanged()
Gets the value of the Changed property, which determines whether the chart requires a recalculation.

 o recalc
  public void recalc()
If necessary, forces recalculation of the entire chart by calling the recalc() method for its components.

 o setChanged
  public void setChanged(boolean n)
Sets the value of the Changed property, which determines whether the chart requires to be recalculated. This value is propagated to all child components.

Parameters:
n - boolean value of the Changed property
 o setChanged
  public void setChanged(boolean n,
                         boolean updateParent)
Sets the value of the Changed property, which determines whether the chart requires to be recalculated. This value is propagated to all the child components. Note: This method is mandated by the Changeable interface, but has no use in JCChart. It is usually used for cases in which the Changed property must be changed without forcing a recalculation.

Parameters:
n - boolean value of the Changed property
 o paint
  public void paint(Graphics gc)
The top-level paint routine in JCChart.

Overrides:
paint in class JCContainer
 o printAll
  public void printAll(Graphics g)
Overrides:
printAll in class JCContainer
 o print
  public void print(Graphics pg)
Overrides:
print in class Container
 o layout
  public void layout()
JCChart layout method. It lays out the header, footer, legend and chart area.

Overrides:
layout in class Container
 o preferredSize
  public Dimension preferredSize()
Calculates and returns the preferred size of the chart component.

Returns:
the preferred size of the chart component
Overrides:
preferredSize in class JCContainer
 o minimumSize
  public Dimension minimumSize()
Calculates and returns the minimum size of the chart component.

Returns:
the minimum size of the chart component
Overrides:
minimumSize in class JCContainer
 o setIsBatched
  public synchronized void setIsBatched(boolean bt)
Sets the value of the IsBatched property, which controls whether chart updates are accumulated.

Parameters:
bt - if true, it will accumulate chart updates. If false, it forces the accumulated updates to be processed.
 o getIsBatched
  public boolean getIsBatched()
Gets the value of the IsBatched property.

Returns:
true if updates are being accumulated, if false, updates are not accumulated
 o update
  public void update()
Forces the chart to re-layout and recalculate.

 o setDoubleBuffer
  public synchronized void setDoubleBuffer(boolean db)
Sets the DoubleBuffereproperty, which controls whether the chart rendering uses an off-screen image or renders directly to the screen.

Parameters:
db - if true, an off-screen image is used for chart rendering. If false, rendering occurs directly on the screen.
 o getDoubleBuffer
  public boolean getDoubleBuffer()
Gets the value of the DoubleBuffer property

Returns:
true if double buffering is active, false otherwise
 o setAllowUserChanges
  public synchronized void setAllowUserChanges(boolean change)
Sets the value of the AllowUserChanges property, which determines whether the user viewing the graph can modify graph values.

Parameters:
change - true means the user is allowed to modify graph values. If false, the user is not allowed to modify graph values.
 o getAllowUserChanges
  public boolean getAllowUserChanges()
Gets the value of the AllowUserChanges property, which determines whether the user viewing the graph can modify graph values.

Returns:
true if the user is allowed to modify the graph values, false otherwise
 o getHeader
  public JCTitle getHeader()
Gets the Header property. The Header property controls the object that controls the display of the header.

Returns:
head the JCTitle object associated with the header
 o setHeader
  public void setHeader(JCTitle head)
Sets the Header property. The Header property controls the object that controls the display of the header.

Parameters:
head - the JCTitle object associated with the header
 o getFooter
  public JCTitle getFooter()
Sets the Footer property. The Footer property controls the object that controls the display of the footer.

Returns:
the JCTitle object associated with the footer
 o setFooter
  public void setFooter(JCTitle foot)
Sets the Footer property. The Footer property controls the object that controls the display of the footer.

Parameters:
foot - the JCTitle object associated with the footer
 o getLegend
  public JCLegend getLegend()
Gets the Legend property The Legend property controls the object that controls the display of the legend.

Returns:
the JCLegend object associated with the legend
 o setLegend
  public void setLegend(JCLegend jl)
Sets the Legend property The Legend property controls the object that controls the display of the legend.

Parameters:
jl - the JCLegend object associated with the legend
 o getChartArea
  public JCChartArea getChartArea()
Gets the value of the ChartArea property. The ChartArea property controls the object that controls the display of the graph.

Returns:
the JCChartArea object associated with this JCChart.
 o setChartArea
  public void setChartArea(JCChartArea ca)
Sets the value of the ChartArea property. The ChartArea property controls the object that controls the display of the graph.

Returns:
the JCChartArea object associated with this JCChart.
 o getDataView
  public ChartDataView getDataView(int index)
Gets the value of the Data property. The Data property is an indexed property of JCChart that contains one or more ChartDataView objects. Each ChartDataView object controls the display of data using a particular chart type.

Parameters:
index - index of the data object to return
Returns:
ChartDataView object
 o addDataView
  public ChartDataView addDataView(int index)
Note: addDataView() is deprecated. use something else (?)

DEPRECATED Method for adding a data view

 o setDataView
  public synchronized void setDataView(int index,
                                       ChartDataView ndv)
Creates a new ChartDataView and adds it at the index specified. The act of adding a new ChartDataView to the JCChart will cause all existing ChartDataView objects to re-order themselves.

Parameters:
index - position at which to add the new object
ndv - New data view object
Returns:
new ChartDataView object
Throws: IllegalArgumentException
If the index does not address a valid ChartDataView.
 o setDataView
  public synchronized void setDataView(ChartDataView views[])
Sets the value of the DataView property. The DataView property is an indexed property that contains all the data to be displayed in Chart.

Parameters:
views - array of data views to be included in the DataView property.
 o findDataView
  public ChartDataView findDataView(String name)
Method used to find a data view given its name

 o getDataView
  public ChartDataView[] getDataView()
Gets the value of the DataView property. The DataView property is an indexed property that contains all the data to be displayed in Chart.

Returns:
array of data views that are included in the DataView property
 o removeDataView
  public void removeDataView(int index)
Removes a ChartDataView from the index specified. The act of removing a ChartDataView to the JCChart will cause all existing ChartDataView objects to re-order themselves.

Parameters:
index - position from which to remove the object
 o getNumData
  public int getNumData()
Gets the value of the NumData property. The NumData property indicates how many ChartDataView objects are stored in JCChart. It is a read-only property.

Returns:
number of ChartDataView objects inside this JCChart instance
 o getTrigger
  public EventTrigger getTrigger(int index)
Gets a single trigger from the Triggers property of JCChart. The Triggers property is an indexed property that contains a series of mappings from AWT events to JCChart actions.

Parameters:
index - index of trigger
Returns:
EventTrigger instance
 o getNumTriggers
  public int getNumTriggers()
Gets the NumTriggers property, which indicates how many event triggers have been specified.

Returns:
number of EventTrigger instances in the Triggers property
 o addTrigger
  public EventTrigger addTrigger()
Adds a new event trigger to the Triggers property.

Returns:
EventTrigger instance, to be manipulated by the developer
 o setTrigger
  public synchronized void setTrigger(int index,
                                      EventTrigger trig)
Sets the value of the Trigger property at a specified index. The Trigger property is an indexed property, and int contains all the information necessary to map user events into Chart actions. The Trigger property is made up of a number of EventTrigger objects.

Parameters:
index - index within the Trigger property
trig - EventTrigger object to be placed at the specified index
Throws: IllegalArgumentException
If the index does not address a valid event trigger.
 o removeTrigger
  public void removeTrigger(int index)
Removes the event trigger at the specified index.

Parameters:
index - index of the EventTrigger instance to be removed
 o setResetKey
  public synchronized void setResetKey(int k)
Sets the value of the ResetKey property. The ResetKey property specifies the key used to perform a reset operation.

Parameters:
k - Key that will trigger a reset
 o getResetKey
  public int getResetKey()
Gets the value of the ResetKey property. The ResetKey property specifies the key used to perform a reset operation.

Returns:
Key that will trigger a reset
 o setCancelKey
  public synchronized void setCancelKey(int k)
Sets the value of the CancelKey property. The CancelKey property specifies the key used to perform a cancel operation.

Parameters:
k - Key that will trigger a cancel
 o getCancelKey
  public int getCancelKey()
Gets the value of the CancelKey property. The CancelKey property specifies the key used to perform a cancel operation.

Returns:
Key that will trigger a cancel
 o rotateStart
  public void rotateStart()
A call to signify the beginning of a rotate event.

 o rotate
  public void rotate()
A call to rotate a graph to the specified locations.

Parameters:
rotation - rotation around the y axis
inclination - rotation above the x axis
 o rotateEnd
  public void rotateEnd()
A call to signify the end of a rotate event.

 o zoom
  public void zoom(double start,
                   double end,
                   JCAxis axis,
                   boolean update)
Performs a zoom operation along the specified axis

Parameters:
start - new axis minimum value
end - new axis maximum value
axis - axis along which to perform zoom
update - if true, a redisplay is forced. If false, the redisplay does not occur. If translating along two axes, the first translate() call should have update=false, and the second should have update=true.
 o scale
  public void scale(double sc,
                    JCAxis axis,
                    boolean update)
Performs a scale operation. A scale factor of 0.5 is 50% and makes everything smaller (zoom out), a scale factor of 2 is 200% and makes everything bigger (zoom in)

Parameters:
sc - scale percentage relative to the default appearance of the graph
 o translateStart
  public void translateStart(JCAxis axis)
A call to signify the start of a translate event.

Parameters:
axis - axis along which to begin translating. Note that it is possible to translate along multiple axes simultaneously.
 o translate
  public void translate(double delta,
                        JCAxis axis,
                        boolean update)
A call to perform a translation of a specified amount along the specified axis.

Parameters:
delta - amount to translate along the axis
axis - axis along which to perform the translation
update - if true, a redisplay is forced. If false, the redisplay does not occur. If translating along two axes, the first translate() call should have update=false, and the second should have update=true.
 o reset
  public void reset()
Performs a reset on the chart. Returns the chart back to the default min and max.

 o cancel
  public void cancel()
Performs a cancel on the chart. Cancel will stop any current action.

 o layoutLegend
  protected void layoutLegend(Point legendOrigin,
                              Dimension legendSize,
                              Point chartOrigin,
                              Dimension chartSize)
Lays out the chart legend by modifying the provided Point and Dimension parameters.

Parameters:
legendOrigin - coordinates of the upper left-hand corner of the legend
legendSize - size of the legend
chartOrigin - coordinates of the upper left-hand corner of the chart area
chartSize - size of the chart area
 o insets
  public Insets insets()
Returns the chart margins.

Returns:
insets object representing the margins for the chart
Overrides:
insets in class JCContainer
 o setTopMargin
  public synchronized void setTopMargin(int val)
Sets the TopMargin property. The TopMargin property controls the top margin on the chart.

Parameters:
val - top margin value
 o getTopMargin
  public int getTopMargin()
Gets the TopMargin property. The TopMargin property controls the top margin on the chart.

Returns:
top margin value
 o setLeftMargin
  public synchronized void setLeftMargin(int val)
Sets the LeftMargin property. The LeftMargin property controls the left margin on the chart.

Parameters:
val - left margin value
 o getLeftMargin
  public int getLeftMargin()
Gets the LeftMargin property. The LeftMargin property controls the left margin on the chart.

Returns:
left margin value
 o setRightMargin
  public synchronized void setRightMargin(int val)
Sets the RightMargin property. The RightMargin property controls the right margin on the chart.

Parameters:
val - right margin value
 o getRightMargin
  public int getRightMargin()
Gets the RightMargin property. The RightMargin property controls the right margin on the chart.

Returns:
right margin value
 o setBottomMargin
  public synchronized void setBottomMargin(int val)
Sets the BottomMargin property. The BottomMargin property controls the bottom margin on the chart.

Parameters:
val - bottom margin value
 o getBottomMargin
  public int getBottomMargin()
Gets the BottomMargin property. The BottomMargin property controls the bottom margin on the chart.

Returns:
bottom margin value
 o getOffset
  public int getOffset()
Gets the value of the Offset property. The Offset property controls the amount of space between chart components.

Returns:
Offset value
 o setOffset
  public synchronized void setOffset(int no)
Sets the value of the Offset property. The Offset property controls the amount of space between chart components.

Parameters:
no - Offset value
 o getAbout
  public String getAbout()
Gets the value of the About property The About property displays contact information for KL group in the bean box.

 o setAbout
  public synchronized void setAbout(String s)
Sets the value of the About property The About property displays contact information for KL group in the bean box.

 o pick
  public JCDataIndex pick(Point p,
                          ChartDataView data)
Given a screen position in pixels, returns a JCDataIndex object which represents the closest point in a data series in the specified ChartDataView instance. If no data view is supplied, all data views are considered when finding the closest point.

Parameters:
p - pick point in pixels relative to the JCChart object.
data - data view on which to perform pick. If null, all data views are used.
Returns:
JCDataIndex object representing the picked point.
 o unpick
  public Point unpick(ChartDataView dv,
                      int pt,
                      int series)
Returns the position in screen pixels of a particular point in a particular data series.

Parameters:
dv - the data view containing the specified series
pt - point index
series - data series index or JCPieChartFormat.OTHER_SLICE if specifying the other slice of a pie chart.
Returns:
AWT Point object representing position in screen pixels relative to the JCChart object or null if series or point does not exist or is not showing.
 o unpick
  public Point unpick(int pt,
                      ChartDataViewSeries series)
Returns the position in screen pixels of a particular point in a particular data series.

Parameters:
pt - point index
series - data series
Returns:
AWT Point object representing position in screen pixels relative to the JCChart object or null if series or point does not exist or is not showing.
 o addChartListener
  public void addChartListener(JCChartListener l)
 o removeChartListener
  public void removeChartListener(JCChartListener l)
 o addPickListener
  public void addPickListener(JCPickListener l)
 o removePickListener
  public void removePickListener(JCPickListener l)
 o mouseUp
  public boolean mouseUp(Event event,
                         int x,
                         int y)
If currently over an URL anchor, display it.

Overrides:
mouseUp in class Component
 o mouseDown
  public boolean mouseDown(Event event,
                           int x,
                           int y)
If currently over an URL anchor, returns.

Overrides:
mouseDown in class Component
 o locate
  public Component locate(int x,
                          int y)
Overrides:
locate in class Container
 o mouseMove
  public boolean mouseMove(Event event,
                           int x,
                           int y)
Overrides:
mouseMove in class Component
 o snapshot
  public Image snapshot()
 o exportAsGIF
  public void exportAsGIF(OutputStream os) throws IOException
 o addChartLabel
  public void addChartLabel(JCChartLabel label)
 o removeChartLabel
  public void removeChartLabel(JCChartLabel label)

All Packages  Class Hierarchy  This Package  Previous  Next  Index