
Public Member Functions | |
| TrendDemo () | |
| TrendDemo (String title) | |
Static Public Member Functions | |
| static void | main (java.lang.String[] args) |
Private Member Functions | |
| BaseChart | getChart () |
| javax.swing.JPanel | getJFrameContentPane () |
| void | handleException (java.lang.Throwable exception) |
| void | initialize () |
Private Attributes | |
| BaseChart | ivjChart = null |
| javax.swing.JPanel | ivjJFrameContentPane = null |
| TrendChartArea | trend |
This is chart demo that present sine function.
| com::cosylab::gui::components::r2::chart::TrendDemo::TrendDemo | ( | ) | [inline] |
| com::cosylab::gui::components::r2::chart::TrendDemo::TrendDemo | ( | String | title | ) | [inline] |
TrendDemo constructor that takes title as an argument.
| title | java.lang.String |
| BaseChart com::cosylab::gui::components::r2::chart::TrendDemo::getChart | ( | ) | [inline, private] |
Return the Chart property value.
References com::cosylab::gui::components::r2::chart::BaseChart::BaseChart(), handleException(), and ivjChart.
Referenced by getJFrameContentPane(), and initialize().
| javax.swing.JPanel com::cosylab::gui::components::r2::chart::TrendDemo::getJFrameContentPane | ( | ) | [inline, private] |
Return the JFrameContentPane property value.
References getChart(), handleException(), and ivjJFrameContentPane.
Referenced by initialize().
| void com::cosylab::gui::components::r2::chart::TrendDemo::handleException | ( | java.lang.Throwable | exception | ) | [inline, private] |
Called whenever the part throws an exception.
| exception | java.lang.Throwable |
Referenced by getChart(), getJFrameContentPane(), and initialize().
| void com::cosylab::gui::components::r2::chart::TrendDemo::initialize | ( | ) | [inline, private] |
Initialize the class.
References com::cosylab::gui::components::r2::chart::TrendChartArea::addDataModel(), getChart(), getJFrameContentPane(), com::cosylab::gui::components::r2::chart::BaseChart::getViewManager(), handleException(), com::cosylab::gui::components::r2::chart::BaseChart::setChartArea(), com::cosylab::gui::components::r2::chart::ChartViewManager::setXScale(), com::cosylab::gui::components::r2::chart::ChartViewManager::setYScale(), com::cosylab::gui::components::r2::chart::SinusTrendModel::startAutomaticUpdate(), and trend.
Referenced by TrendDemo().
| static void com::cosylab::gui::components::r2::chart::TrendDemo::main | ( | java.lang.String[] | args | ) | [inline, static] |
main entrypoint - starts the part when it is run as an application
| args | java.lang.String[] |
References TrendDemo().
BaseChart com::cosylab::gui::components::r2::chart::TrendDemo::ivjChart = null [private] |
Referenced by getChart().
javax.swing.JPanel com::cosylab::gui::components::r2::chart::TrendDemo::ivjJFrameContentPane = null [private] |
Referenced by getJFrameContentPane().
Referenced by initialize().
1.6.2