com::cosylab::gui::components::r2::chart::BaseChartCustomizer Class Reference

Collaboration diagram for com::cosylab::gui::components::r2::chart::BaseChartCustomizer:
Collaboration graph
[legend]

List of all members.

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()

Detailed Description

This type is GUI for costumizing chart.


Constructor & Destructor Documentation

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.


Member Function Documentation

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)

Parameters:
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)

Parameters:
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)

Parameters:
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)

Parameters:
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)

Parameters:
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)

Parameters:
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)

Parameters:
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.

Returns:
javax.swing.JButton

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)

Returns:
si.ijs.anka.databush.utilities.BaseChart

References chart.

javax.swing.JPanel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getJFrameContentPane (  )  [inline, private]
javax.swing.JLabel com::cosylab::gui::components::r2::chart::BaseChartCustomizer::getJLabel1 (  )  [inline, private]

Return the JLabel1 property value.

Returns:
javax.swing.JLabel

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.

Returns:
javax.swing.JLabel

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.

Returns:
javax.swing.JLabel

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.

Returns:
javax.swing.JLabel

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.

Returns:
javax.swing.JLabel

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.

Returns:
javax.swing.JTextField

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.

Returns:
javax.swing.JTextField

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.

Returns:
javax.swing.JLabel

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.

Returns:
javax.swing.JTextField

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.

Returns:
javax.swing.JTextField

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.

Returns:
javax.swing.JButton

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.

Returns:
javax.swing.JCheckBox

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.

Returns:
javax.swing.JCheckBox

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]
void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::initConnections (  )  throws java.lang.Exception [inline, private]

Initializes connections

Exceptions:
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

Parameters:
args java.lang.String[]

References BaseChartCustomizer().

void com::cosylab::gui::components::r2::chart::BaseChartCustomizer::oKButton_ActionPerformed ( java.awt.event.ActionEvent  actionEvent  )  [inline]
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]

Member Data Documentation

java.text.DecimalFormat com::cosylab::gui::components::r2::chart::BaseChartCustomizer::format = new java.text.DecimalFormat() [private]

Referenced by format(), and updateCustomizer().

Referenced by getCancelButton().

Referenced by initConnections().

Referenced by getJFrameContentPane().

Referenced by getJLabel1().

Referenced by getJLabel2().

Referenced by getJLabel3().

Referenced by getJLabel4().

Referenced by getMaxValueLabel().

Referenced by getMaxXText().

Referenced by getMaxYText().

Referenced by getMinValueLabel().

Referenced by getMinXText().

Referenced by getMinYText().

Referenced by getOKButton().

Referenced by getPreferedXCheckBox().

Referenced by getPreferedYCheckBox().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2