
Classes | |
| class | IvjEventHandler |
Public Member Functions | |
| BaseChartCustomizer () | |
| BaseChartCustomizer (BaseChart ch) | |
| BaseChart | getChart () |
| void | oKButton_ActionPerformed (java.awt.event.ActionEvent actionEvent) |
| void | setChart (BaseChart newChart) |
| void | updateCustomizer () |
Static Public Member Functions | |
| static void | main (java.lang.String[] args) |
Package Attributes | |
| IvjEventHandler | ivjEventHandler = new IvjEventHandler() |
Private Member Functions | |
| void | connEtoM1 (java.awt.event.ActionEvent arg1) |
| void | connEtoM2 (java.awt.event.ActionEvent arg1) |
| void | connEtoM3 (java.awt.event.ActionEvent arg1) |
| void | connEtoM4 (java.awt.event.ActionEvent arg1) |
| void | connEtoM5 (java.awt.event.ActionEvent arg1) |
| void | connEtoM6 (java.awt.event.ActionEvent arg1) |
| void | connEtoM7 (java.awt.event.WindowEvent arg1) |
| String | format (String form, double d) |
| javax.swing.JButton | getCancelButton () |
| javax.swing.JPanel | getJFrameContentPane () |
| javax.swing.JLabel | getJLabel1 () |
| javax.swing.JLabel | getJLabel2 () |
| javax.swing.JLabel | getJLabel3 () |
| javax.swing.JLabel | getJLabel4 () |
| javax.swing.JLabel | getMaxValueLabel () |
| javax.swing.JTextField | getMaxXText () |
| javax.swing.JTextField | getMaxYText () |
| javax.swing.JLabel | getMinValueLabel () |
| javax.swing.JTextField | getMinXText () |
| javax.swing.JTextField | getMinYText () |
| javax.swing.JButton | getOKButton () |
| javax.swing.JCheckBox | getPreferedXCheckBox () |
| javax.swing.JCheckBox | getPreferedYCheckBox () |
| void | handleException (java.lang.Throwable exception) |
| void | initConnections () throws java.lang.Exception |
| void | initialize () |
Private Attributes | |
| javax.swing.JButton | ivjCancelButton = null |
| javax.swing.JPanel | ivjJFrameContentPane = null |
| javax.swing.JLabel | ivjJLabel1 = null |
| javax.swing.JLabel | ivjJLabel2 = null |
| javax.swing.JLabel | ivjJLabel3 = null |
| javax.swing.JLabel | ivjJLabel4 = null |
| javax.swing.JLabel | ivjMaxValueLabel = null |
| javax.swing.JTextField | ivjMaxXText = null |
| javax.swing.JTextField | ivjMaxYText = null |
| javax.swing.JLabel | ivjMinValueLabel = null |
| javax.swing.JTextField | ivjMinXText = null |
| javax.swing.JTextField | ivjMinYText = null |
| javax.swing.JButton | ivjOKButton = null |
| BaseChart | chart = null |
| javax.swing.JCheckBox | ivjPreferedXCheckBox = null |
| javax.swing.JCheckBox | ivjPreferedYCheckBox = null |
| java.text.DecimalFormat | format = new java.text.DecimalFormat() |
This type is GUI for costumizing chart.
| com::cosylab::gui::components::r2::chart::BaseChartCustomizer::BaseChartCustomizer | ( | ) | [inline] |
BaseChartCustomizer constructor, which takes no argument and constructs BaseChartCustomizer with default values.
References initialize().
Referenced by main().
| com::cosylab::gui::components::r2::chart::BaseChartCustomizer::BaseChartCustomizer | ( | BaseChart | ch | ) | [inline] |
BaseChartCustomizer constructor, which takes BaseChart as argument and constructs BaseChartCustomizer with default values, except BaseChart is specified as parameter.
References chart.
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::connEtoM1 | ( | java.awt.event.ActionEvent | arg1 | ) | [inline, private] |
connEtoM1: (MinXText.action.actionPerformed(java.awt.event.ActionEvent) --> PreferedXCheckBox.selected)
| arg1 | java.awt.event.ActionEvent |
References getPreferedXCheckBox(), and handleException().
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::IvjEventHandler::actionPerformed().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::connEtoM2 | ( | java.awt.event.ActionEvent | arg1 | ) | [inline, private] |
connEtoM2: (MaxXText.action.actionPerformed(java.awt.event.ActionEvent) --> PreferedXCheckBox.selected)
| arg1 | java.awt.event.ActionEvent |
References getPreferedXCheckBox(), and handleException().
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::IvjEventHandler::actionPerformed().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::connEtoM3 | ( | java.awt.event.ActionEvent | arg1 | ) | [inline, private] |
connEtoM3: (MinYText.action.actionPerformed(java.awt.event.ActionEvent) --> PreferedYCheckBox.selected)
| arg1 | java.awt.event.ActionEvent |
References getPreferedYCheckBox(), and handleException().
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::IvjEventHandler::actionPerformed().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::connEtoM4 | ( | java.awt.event.ActionEvent | arg1 | ) | [inline, private] |
connEtoM4: (MaxYText.action.actionPerformed(java.awt.event.ActionEvent) --> PreferedYCheckBox.selected)
| arg1 | java.awt.event.ActionEvent |
References getPreferedYCheckBox(), and handleException().
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::IvjEventHandler::actionPerformed().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::connEtoM5 | ( | java.awt.event.ActionEvent | arg1 | ) | [inline, private] |
connEtoM5: (OKButton.action.actionPerformed(java.awt.event.ActionEvent) --> BaseChartCustomizer.oKButton_ActionPerformed(Ljava.awt.event.ActionEvent;)V)
| arg1 | java.awt.event.ActionEvent |
References handleException(), and oKButton_ActionPerformed().
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::IvjEventHandler::actionPerformed().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::connEtoM6 | ( | java.awt.event.ActionEvent | arg1 | ) | [inline, private] |
connEtoM6: (CancelButton.action.actionPerformed(java.awt.event.ActionEvent) --> BaseChartCustomizer.dispose()V)
| arg1 | java.awt.event.ActionEvent |
References handleException().
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::IvjEventHandler::actionPerformed().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::connEtoM7 | ( | java.awt.event.WindowEvent | arg1 | ) | [inline, private] |
connEtoM7: (BaseChartCustomizer.window.windowOpened(java.awt.event.WindowEvent) --> BaseChartCustomizer.updateCustomizer()V)
| arg1 | java.awt.event.WindowEvent |
References handleException(), and updateCustomizer().
Referenced by com::cosylab::gui::components::r2::chart::BaseChartCustomizer::IvjEventHandler::windowOpened().
| String com::cosylab::gui::components::r2::chart::BaseChartCustomizer::format | ( | String | form, | |
| double | d | |||
| ) | [inline, private] |
References format.
| javax.swing.JButton com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getCancelButton | ( | ) | [inline, private] |
Return the CancelButton property value.
References handleException(), and ivjCancelButton.
Referenced by getJFrameContentPane(), and initConnections().
| BaseChart com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getChart | ( | ) | [inline] |
Insert the method's description here. Creation date: (11/24/00 22:46:41)
References chart.
| javax.swing.JPanel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getJFrameContentPane | ( | ) | [inline, private] |
Return the JFrameContentPane property value.
References getCancelButton(), getJLabel1(), getJLabel2(), getJLabel3(), getJLabel4(), getMaxValueLabel(), getMaxXText(), getMaxYText(), getMinValueLabel(), getMinXText(), getMinYText(), getOKButton(), getPreferedXCheckBox(), getPreferedYCheckBox(), handleException(), and ivjJFrameContentPane.
Referenced by initialize().
| javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getJLabel1 | ( | ) | [inline, private] |
Return the JLabel1 property value.
References handleException(), and ivjJLabel1.
Referenced by getJFrameContentPane().
| javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getJLabel2 | ( | ) | [inline, private] |
Return the JLabel2 property value.
References handleException(), and ivjJLabel2.
Referenced by getJFrameContentPane().
| javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getJLabel3 | ( | ) | [inline, private] |
Return the JLabel3 property value.
References handleException(), and ivjJLabel3.
Referenced by getJFrameContentPane().
| javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getJLabel4 | ( | ) | [inline, private] |
Return the JLabel4 property value.
References handleException(), and ivjJLabel4.
Referenced by getJFrameContentPane().
| javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getMaxValueLabel | ( | ) | [inline, private] |
Return the MaxValueLabel property value.
References handleException(), and ivjMaxValueLabel.
Referenced by getJFrameContentPane(), and updateCustomizer().
| javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getMaxXText | ( | ) | [inline, private] |
Return the MaxXText property value.
References handleException(), and ivjMaxXText.
Referenced by getJFrameContentPane(), initConnections(), oKButton_ActionPerformed(), and updateCustomizer().
| javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getMaxYText | ( | ) | [inline, private] |
Return the MaxYText property value.
References handleException(), and ivjMaxYText.
Referenced by getJFrameContentPane(), initConnections(), oKButton_ActionPerformed(), and updateCustomizer().
| javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getMinValueLabel | ( | ) | [inline, private] |
Return the MinValueLabel property value.
References handleException(), and ivjMinValueLabel.
Referenced by getJFrameContentPane(), and updateCustomizer().
| javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getMinXText | ( | ) | [inline, private] |
Return the MinXText property value.
References handleException(), and ivjMinXText.
Referenced by getJFrameContentPane(), initConnections(), oKButton_ActionPerformed(), and updateCustomizer().
| javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getMinYText | ( | ) | [inline, private] |
Return the MinYText property value.
References handleException(), and ivjMinYText.
Referenced by getJFrameContentPane(), initConnections(), oKButton_ActionPerformed(), and updateCustomizer().
| javax.swing.JButton com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getOKButton | ( | ) | [inline, private] |
Return the OKButton property value.
References handleException(), and ivjOKButton.
Referenced by getJFrameContentPane(), and initConnections().
| javax.swing.JCheckBox com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getPreferedXCheckBox | ( | ) | [inline, private] |
Return the PreferedXCheckBox property value.
References handleException(), and ivjPreferedXCheckBox.
Referenced by connEtoM1(), connEtoM2(), getJFrameContentPane(), oKButton_ActionPerformed(), and updateCustomizer().
| javax.swing.JCheckBox com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getPreferedYCheckBox | ( | ) | [inline, private] |
Return the PreferedYCheckBox property value.
References handleException(), and ivjPreferedYCheckBox.
Referenced by connEtoM3(), connEtoM4(), getJFrameContentPane(), oKButton_ActionPerformed(), and updateCustomizer().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::handleException | ( | java.lang.Throwable | exception | ) | [inline, private] |
Called whenever the part throws an exception.
| exception | java.lang.Throwable |
Referenced by connEtoM1(), connEtoM2(), connEtoM3(), connEtoM4(), connEtoM5(), connEtoM6(), connEtoM7(), getCancelButton(), getJFrameContentPane(), getJLabel1(), getJLabel2(), getJLabel3(), getJLabel4(), getMaxValueLabel(), getMaxXText(), getMaxYText(), getMinValueLabel(), getMinXText(), getMinYText(), getOKButton(), getPreferedXCheckBox(), getPreferedYCheckBox(), and initialize().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::initConnections | ( | ) | throws java.lang.Exception [inline, private] |
Initializes connections
| java.lang.Exception | The exception description. |
References getCancelButton(), getMaxXText(), getMaxYText(), getMinXText(), getMinYText(), getOKButton(), and ivjEventHandler.
Referenced by initialize().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::initialize | ( | ) | [inline, private] |
Initialize the class.
References getJFrameContentPane(), handleException(), and initConnections().
Referenced by BaseChartCustomizer().
| static void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::main | ( | java.lang.String[] | args | ) | [inline, static] |
main entrypoint - starts the part when it is run as an application
| args | java.lang.String[] |
References BaseChartCustomizer().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::oKButton_ActionPerformed | ( | java.awt.event.ActionEvent | actionEvent | ) | [inline] |
This method sets new scale in x and y directions, if not selected Prefered CheckBox.
References chart, getMaxXText(), getMaxYText(), getMinXText(), getMinYText(), getPreferedXCheckBox(), getPreferedYCheckBox(), com::cosylab::gui::components::r2::chart::BaseChart::getViewManager(), com::cosylab::gui::components::r2::chart::ChartViewManager::setUserXScaleUsed(), com::cosylab::gui::components::r2::chart::ChartViewManager::setUserYScaleUsed(), com::cosylab::gui::components::r2::chart::ChartViewManager::setXScale(), com::cosylab::gui::components::r2::chart::ChartViewManager::setYScale(), and com::cosylab::gui::components::r2::chart::BaseChart::updateChart().
Referenced by connEtoM5().
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::setChart | ( | BaseChart | newChart | ) | [inline] |
This method sets BaseChart to this BaseChartCustomizer.
References chart.
| void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::updateCustomizer | ( | ) | [inline] |
This method update this BaseChartCustomizer with settings from own BaseChart.
References chart, format, com::cosylab::gui::components::r2::chart::BaseChart::getChartArea(), com::cosylab::gui::components::r2::chart::ChartArea::getMaxValue(), getMaxValueLabel(), getMaxXText(), getMaxYText(), com::cosylab::gui::components::r2::chart::ChartArea::getMinValue(), getMinValueLabel(), getMinXText(), getMinYText(), getPreferedXCheckBox(), getPreferedYCheckBox(), com::cosylab::gui::components::r2::chart::BaseChart::getViewManager(), com::cosylab::gui::components::r2::chart::ChartViewManager::getXScale(), com::cosylab::gui::components::r2::chart::ChartViewManager::getYScale(), com::cosylab::gui::components::r2::chart::ChartViewManager::isUserXScaleUsed(), com::cosylab::gui::components::r2::chart::ChartViewManager::isUserYScaleUsed(), com::cosylab::gui::components::r2::chart::Interval::max, com::cosylab::gui::components::r2::chart::Interval::min, com::cosylab::gui::components::r2::chart::Point::x, and com::cosylab::gui::components::r2::chart::Point::y.
Referenced by com::cosylab::gui::components::r2::chart::BaseChart::_mouseClicked(), and connEtoM7().
Referenced by BaseChartCustomizer(), getChart(), oKButton_ActionPerformed(), setChart(), and updateCustomizer().
java.text.DecimalFormat com::cosylab::gui::components::r2::chart::BaseChartCustomizer::format = new java.text.DecimalFormat() [private] |
Referenced by format(), and updateCustomizer().
javax.swing.JButton com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjCancelButton = null [private] |
Referenced by getCancelButton().
IvjEventHandler com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjEventHandler = new IvjEventHandler() [package] |
Referenced by initConnections().
javax.swing.JPanel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjJFrameContentPane = null [private] |
Referenced by getJFrameContentPane().
javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjJLabel1 = null [private] |
Referenced by getJLabel1().
javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjJLabel2 = null [private] |
Referenced by getJLabel2().
javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjJLabel3 = null [private] |
Referenced by getJLabel3().
javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjJLabel4 = null [private] |
Referenced by getJLabel4().
javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjMaxValueLabel = null [private] |
Referenced by getMaxValueLabel().
javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjMaxXText = null [private] |
Referenced by getMaxXText().
javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjMaxYText = null [private] |
Referenced by getMaxYText().
javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjMinValueLabel = null [private] |
Referenced by getMinValueLabel().
javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjMinXText = null [private] |
Referenced by getMinXText().
javax.swing.JTextField com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjMinYText = null [private] |
Referenced by getMinYText().
javax.swing.JButton com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjOKButton = null [private] |
Referenced by getOKButton().
javax.swing.JCheckBox com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjPreferedXCheckBox = null [private] |
Referenced by getPreferedXCheckBox().
javax.swing.JCheckBox com::cosylab::gui::components::r2::chart::BaseChartCustomizer::ivjPreferedYCheckBox = null [private] |
Referenced by getPreferedYCheckBox().
1.6.2