org.jfree.chart
Class PolarChartPanel
- ActionListener, ChartChangeListener, EventListener, ChartProgressListener, MouseListener, MouseMotionListener, Printable, Serializable
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
.
- Daniel Bridenbecker, Solution Engineering, Inc.
DEFAULT_BUFFER_USED , DEFAULT_HEIGHT , DEFAULT_MAXIMUM_DRAW_HEIGHT , DEFAULT_MAXIMUM_DRAW_WIDTH , DEFAULT_MINIMUM_DRAW_HEIGHT , DEFAULT_MINIMUM_DRAW_WIDTH , DEFAULT_WIDTH , DEFAULT_ZOOM_TRIGGER_DISTANCE , PRINT_COMMAND , PROPERTIES_COMMAND , SAVE_COMMAND , ZOOM_IN_BOTH_COMMAND , ZOOM_IN_DOMAIN_COMMAND , ZOOM_IN_RANGE_COMMAND , ZOOM_OUT_BOTH_COMMAND , ZOOM_OUT_DOMAIN_COMMAND , ZOOM_OUT_RANGE_COMMAND , ZOOM_RESET_BOTH_COMMAND , ZOOM_RESET_DOMAIN_COMMAND , ZOOM_RESET_RANGE_COMMAND , localizationResources |
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.
|
void | setChart(JFreeChart chart) - Sets the chart that is displayed in the panel.
|
actionPerformed , addChartMouseListener , chartChanged , chartProgress , createChartPrintJob , createPopupMenu , displayPopupMenu , doSaveAs , getAnchor , getChart , getChartRenderingInfo , getDismissDelay , getEntityForPoint , getFillZoomRectangle , getHorizontalAxisTrace , getHorizontalTraceLine , getInitialDelay , getListeners , getMaximumDrawHeight , getMaximumDrawWidth , getMinimumDrawHeight , getMinimumDrawWidth , getPopupMenu , getRefreshBuffer , getReshowDelay , getScaleX , getScaleY , getScreenDataArea , getScreenDataArea , getToolTipText , getVerticalAxisTrace , getVerticalTraceLine , getZoomInFactor , getZoomOutFactor , getZoomTriggerDistance , isDomainZoomable , isEnforceFileExtensions , isRangeZoomable , mouseClicked , mouseDragged , mouseEntered , mouseExited , mouseMoved , mousePressed , mouseReleased , paintComponent , print , removeChartMouseListener , restoreAutoBounds , restoreAutoDomainBounds , restoreAutoRangeBounds , scale , setAnchor , setChart , setDismissDelay , setDisplayToolTips , setDomainZoomable , setEnforceFileExtensions , setFillZoomRectangle , setHorizontalAxisTrace , setHorizontalTraceLine , setInitialDelay , setMaximumDrawHeight , setMaximumDrawWidth , setMinimumDrawHeight , setMinimumDrawWidth , setMouseZoomable , setMouseZoomable , setPopupMenu , setRangeZoomable , setRefreshBuffer , setReshowDelay , setVerticalAxisTrace , setVerticalTraceLine , setZoomInFactor , setZoomOutFactor , setZoomTriggerDistance , translateJava2DToScreen , translateScreenToJava2D , zoom , zoomInBoth , zoomInDomain , zoomInRange , zoomOutBoth , zoomOutDomain , zoomOutRange |
PolarChartPanel
public PolarChartPanel(JFreeChart chart,
boolean useBuffer)
Creates a new panel.
chart
- the chart.useBuffer
- buffered?
createPopupMenu
protected JPopupMenu createPopupMenu(boolean properties,
boolean save,
boolean print,
boolean zoom)
Creates a popup menu for the panel.
- createPopupMenu in interface ChartPanel
properties
- include a menu item for the chart property editor.save
- include a menu item for saving the chart.print
- include a menu item for printing the chart.zoom
- include menu items for zooming.