| org.jfree.chart.ChartPanel org.jfree.chart.PolarChartPanel
PolarChartPanel | public class PolarChartPanel extends ChartPanel (Code) | | PolarChartPanel is the top level object for using the
PolarPlot . Since this class has a JPanel in the
inheritance hierarchy, one uses this class to integrate the Polar plot into
their application.
The main modification to ChartPanel is the popup menu. It
removes ChartPanel 's versions of:
Zoom In
Zoom Out
Auto Range
and replaces them with versions more appropriate for
PolarPlot .
|
Method Summary | |
public void | actionPerformed(ActionEvent event) Handles action events generated by the popup menu. | protected JPopupMenu | createPopupMenu(boolean properties, boolean save, boolean print, boolean zoom) Creates a popup menu for the panel.
Parameters: properties - include a menu item for the chart property editor. Parameters: save - include a menu item for saving the chart. Parameters: print - include a menu item for printing the chart. Parameters: zoom - include menu items for zooming. | public void | setChart(JFreeChart chart) Sets the chart that is displayed in the panel. |
PolarChartPanel | public PolarChartPanel(JFreeChart chart)(Code) | | Constructs a JFreeChart panel.
Parameters: chart - the chart. |
PolarChartPanel | public PolarChartPanel(JFreeChart chart, boolean useBuffer)(Code) | | Creates a new panel.
Parameters: chart - the chart. Parameters: useBuffer - buffered? |
actionPerformed | public void actionPerformed(ActionEvent event)(Code) | | Handles action events generated by the popup menu.
Parameters: event - the event. |
createPopupMenu | protected JPopupMenu createPopupMenu(boolean properties, boolean save, boolean print, boolean zoom)(Code) | | Creates a popup menu for the panel.
Parameters: properties - include a menu item for the chart property editor. Parameters: save - include a menu item for saving the chart. Parameters: print - include a menu item for printing the chart. Parameters: zoom - include menu items for zooming. The popup menu. |
setChart | public void setChart(JFreeChart chart)(Code) | | Sets the chart that is displayed in the panel.
Parameters: chart - The chart. |
Methods inherited from org.jfree.chart.ChartPanel | public void actionPerformed(ActionEvent event)(Code)(Java Doc) public void addChartMouseListener(ChartMouseListener listener)(Code)(Java Doc) public void chartChanged(ChartChangeEvent event)(Code)(Java Doc) public void chartProgress(ChartProgressEvent event)(Code)(Java Doc) public void createChartPrintJob()(Code)(Java Doc) protected JPopupMenu createPopupMenu(boolean properties, boolean save, boolean print, boolean zoom)(Code)(Java Doc) protected void displayPopupMenu(int x, int y)(Code)(Java Doc) public void doEditChartProperties()(Code)(Java Doc) public void doSaveAs() throws IOException(Code)(Java Doc) public Point2D getAnchor()(Code)(Java Doc) public JFreeChart getChart()(Code)(Java Doc) public ChartRenderingInfo getChartRenderingInfo()(Code)(Java Doc) public int getDismissDelay()(Code)(Java Doc) public ChartEntity getEntityForPoint(int viewX, int viewY)(Code)(Java Doc) public boolean getFillZoomRectangle()(Code)(Java Doc) public boolean getHorizontalAxisTrace()(Code)(Java Doc) protected Line2D getHorizontalTraceLine()(Code)(Java Doc) public int getInitialDelay()(Code)(Java Doc) public EventListener[] getListeners(Class listenerType)(Code)(Java Doc) public int getMaximumDrawHeight()(Code)(Java Doc) public int getMaximumDrawWidth()(Code)(Java Doc) public int getMinimumDrawHeight()(Code)(Java Doc) public int getMinimumDrawWidth()(Code)(Java Doc) public JPopupMenu getPopupMenu()(Code)(Java Doc) public boolean getRefreshBuffer()(Code)(Java Doc) public int getReshowDelay()(Code)(Java Doc) public double getScaleX()(Code)(Java Doc) public double getScaleY()(Code)(Java Doc) public Rectangle2D getScreenDataArea()(Code)(Java Doc) public Rectangle2D getScreenDataArea(int x, int y)(Code)(Java Doc) public String getToolTipText(MouseEvent e)(Code)(Java Doc) public boolean getVerticalAxisTrace()(Code)(Java Doc) protected Line2D getVerticalTraceLine()(Code)(Java Doc) public double getZoomInFactor()(Code)(Java Doc) public double getZoomOutFactor()(Code)(Java Doc) public int getZoomTriggerDistance()(Code)(Java Doc) public boolean isDomainZoomable()(Code)(Java Doc) public boolean isEnforceFileExtensions()(Code)(Java Doc) public boolean isRangeZoomable()(Code)(Java Doc) public void mouseClicked(MouseEvent event)(Code)(Java Doc) public void mouseDragged(MouseEvent e)(Code)(Java Doc) public void mouseEntered(MouseEvent e)(Code)(Java Doc) public void mouseExited(MouseEvent e)(Code)(Java Doc) public void mouseMoved(MouseEvent e)(Code)(Java Doc) public void mousePressed(MouseEvent e)(Code)(Java Doc) public void mouseReleased(MouseEvent e)(Code)(Java Doc) public void paintComponent(Graphics g)(Code)(Java Doc) public int print(Graphics g, PageFormat pf, int pageIndex)(Code)(Java Doc) public void removeChartMouseListener(ChartMouseListener listener)(Code)(Java Doc) public void restoreAutoBounds()(Code)(Java Doc) public void restoreAutoDomainBounds()(Code)(Java Doc) public void restoreAutoRangeBounds()(Code)(Java Doc) public Rectangle2D scale(Rectangle2D rect)(Code)(Java Doc) protected void setAnchor(Point2D anchor)(Code)(Java Doc) public void setChart(JFreeChart chart)(Code)(Java Doc) public void setDismissDelay(int delay)(Code)(Java Doc) public void setDisplayToolTips(boolean flag)(Code)(Java Doc) public void setDomainZoomable(boolean flag)(Code)(Java Doc) public void setEnforceFileExtensions(boolean enforce)(Code)(Java Doc) public void setFillZoomRectangle(boolean flag)(Code)(Java Doc) public void setHorizontalAxisTrace(boolean flag)(Code)(Java Doc) protected void setHorizontalTraceLine(Line2D line)(Code)(Java Doc) public void setInitialDelay(int delay)(Code)(Java Doc) public void setMaximumDrawHeight(int height)(Code)(Java Doc) public void setMaximumDrawWidth(int width)(Code)(Java Doc) public void setMinimumDrawHeight(int height)(Code)(Java Doc) public void setMinimumDrawWidth(int width)(Code)(Java Doc) public void setMouseZoomable(boolean flag)(Code)(Java Doc) public void setMouseZoomable(boolean flag, boolean fillRectangle)(Code)(Java Doc) public void setPopupMenu(JPopupMenu popup)(Code)(Java Doc) public void setRangeZoomable(boolean flag)(Code)(Java Doc) public void setRefreshBuffer(boolean flag)(Code)(Java Doc) public void setReshowDelay(int delay)(Code)(Java Doc) public void setVerticalAxisTrace(boolean flag)(Code)(Java Doc) protected void setVerticalTraceLine(Line2D line)(Code)(Java Doc) public void setZoomInFactor(double factor)(Code)(Java Doc) public void setZoomOutFactor(double factor)(Code)(Java Doc) public void setZoomTriggerDistance(int distance)(Code)(Java Doc) public Point translateJava2DToScreen(Point2D java2DPoint)(Code)(Java Doc) public Point2D translateScreenToJava2D(Point screenPoint)(Code)(Java Doc) public void updateUI()(Code)(Java Doc) public void zoom(Rectangle2D selection)(Code)(Java Doc) public void zoomInBoth(double x, double y)(Code)(Java Doc) public void zoomInDomain(double x, double y)(Code)(Java Doc) public void zoomInRange(double x, double y)(Code)(Java Doc) public void zoomOutBoth(double x, double y)(Code)(Java Doc) public void zoomOutDomain(double x, double y)(Code)(Java Doc) public void zoomOutRange(double x, double y)(Code)(Java Doc)
|
|
|