Class OrsonChartsDemoComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TreeSelectionListener

public class OrsonChartsDemoComponent extends JPanel implements TreeSelectionListener
A component that fits inside a tab and contains a JTree to select individual demos, a chart panel to display the chart, and a chart description panel to display the description. This component is intended to be self-contained so it can be instantiated and embedded wherever (such as in the JFreeChart demo application).
See Also:
  • Constructor Details

    • OrsonChartsDemoComponent

      public OrsonChartsDemoComponent()
      Creates a new instance.
  • Method Details

    • getChartStyle

      public org.jfree.chart3d.style.ChartStyle getChartStyle()
    • setChartStyle

      public void setChartStyle(org.jfree.chart3d.style.ChartStyle style)
    • getChartContainer

      public JPanel getChartContainer()
      Returns a reference to the panel that contains the chart viewer.
      Returns:
      A reference to the panel that contains the chart viewer.
    • getChartDescriptionPane

      public JTextPane getChartDescriptionPane()
      Returns a reference to the chart description pane.
      Returns:
      A reference to the chart description pane.
    • valueChanged

      public void valueChanged(TreeSelectionEvent e)
      Specified by:
      valueChanged in interface TreeSelectionListener