com::cosylab::gui::components::r2::chart::demo::ChartFrame Class Reference

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

List of all members.

Classes

class  IvjEventHandler

Public Member Functions

 ChartFrame ()
 ChartFrame (String title)
synchronized void chartFrame_WindowActivated ()
void chartFrame_WindowClosed ()
com.cosylab.gui.components.r2.chart.BaseChart getBaseChart ()
synchronized void run ()
synchronized void updaterSlider_StateChanged ()

Static Public Member Functions

static void main (java.lang.String[] args)

Package Attributes

IvjEventHandler ivjEventHandler = new IvjEventHandler()

Private Member Functions

void connEtoC1 (java.awt.event.WindowEvent arg1)
void connEtoC2 (java.awt.event.WindowEvent arg1)
void connEtoC3 (javax.swing.event.ChangeEvent arg1)
void connEtoM1 (javax.swing.event.ChangeEvent arg1)
javax.swing.JPanel getJFrameContentPane ()
javax.swing.JLabel getJLabel1 ()
javax.swing.JLabel getJLabel2 ()
javax.swing.JPanel getJPanel1 ()
javax.swing.JSlider getUpdaterSlider ()
void handleException (java.lang.Throwable exception)
void initConnections () throws java.lang.Exception
void initialize ()

Private Attributes

javax.swing.JPanel ivjJFrameContentPane = null
BaseChart ivjBaseChart = null
javax.swing.JLabel ivjJLabel1 = null
javax.swing.JLabel ivjJLabel2 = null
javax.swing.JPanel ivjJPanel1 = null
javax.swing.JSlider ivjUpdaterSlider = null
boolean alive = true
int timer = 1000

Detailed Description

Insert the type's description here. Creation date: (7.8.2002 20:37:02)

Author:
:

Constructor & Destructor Documentation

com::cosylab::gui::components::r2::chart::demo::ChartFrame::ChartFrame (  )  [inline]

ChartFrame constructor comment.

References initialize().

Referenced by main().

com::cosylab::gui::components::r2::chart::demo::ChartFrame::ChartFrame ( String  title  )  [inline]

ChartFrame constructor comment.

Parameters:
title java.lang.String

References initialize().


Member Function Documentation

synchronized void com::cosylab::gui::components::r2::chart::demo::ChartFrame::chartFrame_WindowActivated (  )  [inline]

Comment

Referenced by connEtoC1().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::chartFrame_WindowClosed (  )  [inline]

Comment

References alive.

Referenced by connEtoC2().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::connEtoC1 ( java.awt.event.WindowEvent  arg1  )  [inline, private]

connEtoC1: (ChartFrame.window.windowActivated(java.awt.event.WindowEvent) --> ChartFrame.chartFrame_WindowActivated()V)

Parameters:
arg1 java.awt.event.WindowEvent

References chartFrame_WindowActivated(), and handleException().

Referenced by com::cosylab::gui::components::r2::chart::demo::ChartFrame::IvjEventHandler::windowActivated().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::connEtoC2 ( java.awt.event.WindowEvent  arg1  )  [inline, private]

connEtoC2: (ChartFrame.window.windowClosed(java.awt.event.WindowEvent) --> ChartFrame.chartFrame_WindowClosed()V)

Parameters:
arg1 java.awt.event.WindowEvent

References chartFrame_WindowClosed(), and handleException().

Referenced by com::cosylab::gui::components::r2::chart::demo::ChartFrame::IvjEventHandler::windowClosed().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::connEtoC3 ( javax.swing.event.ChangeEvent  arg1  )  [inline, private]

connEtoC3: (UpdaterSlider.change.stateChanged(javax.swing.event.ChangeEvent) --> ChartFrame.updaterSlider_StateChanged()V)

Parameters:
arg1 javax.swing.event.ChangeEvent

References handleException(), and updaterSlider_StateChanged().

Referenced by com::cosylab::gui::components::r2::chart::demo::ChartFrame::IvjEventHandler::stateChanged().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::connEtoM1 ( javax.swing.event.ChangeEvent  arg1  )  [inline, private]

connEtoM1: (UpdaterSlider.change.stateChanged(javax.swing.event.ChangeEvent) --> JLabel2.text)

Parameters:
arg1 javax.swing.event.ChangeEvent

References getJLabel2(), getUpdaterSlider(), and handleException().

Referenced by com::cosylab::gui::components::r2::chart::demo::ChartFrame::IvjEventHandler::stateChanged().

com.cosylab.gui.components.r2.chart.BaseChart com::cosylab::gui::components::r2::chart::demo::ChartFrame::getBaseChart (  )  [inline]
javax.swing.JPanel com::cosylab::gui::components::r2::chart::demo::ChartFrame::getJFrameContentPane (  )  [inline, private]

Return the JFrameContentPane property value.

Returns:
javax.swing.JPanel

References getBaseChart(), getJPanel1(), handleException(), and ivjJFrameContentPane.

Referenced by initialize().

javax.swing.JLabel com::cosylab::gui::components::r2::chart::demo::ChartFrame::getJLabel1 (  )  [inline, private]

Return the JLabel1 property value.

Returns:
javax.swing.JLabel

References handleException(), and ivjJLabel1.

Referenced by getJPanel1().

javax.swing.JLabel com::cosylab::gui::components::r2::chart::demo::ChartFrame::getJLabel2 (  )  [inline, private]

Return the JLabel2 property value.

Returns:
javax.swing.JLabel

References handleException(), and ivjJLabel2.

Referenced by connEtoM1(), and getJPanel1().

javax.swing.JPanel com::cosylab::gui::components::r2::chart::demo::ChartFrame::getJPanel1 (  )  [inline, private]

Return the JPanel1 property value.

Returns:
javax.swing.JPanel

References getJLabel1(), getJLabel2(), getUpdaterSlider(), handleException(), and ivjJPanel1.

Referenced by getJFrameContentPane().

javax.swing.JSlider com::cosylab::gui::components::r2::chart::demo::ChartFrame::getUpdaterSlider (  )  [inline, private]

Return the UpdaterSlider property value.

Returns:
javax.swing.JSlider

References handleException(), and ivjUpdaterSlider.

Referenced by connEtoM1(), getJPanel1(), initConnections(), and updaterSlider_StateChanged().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::handleException ( java.lang.Throwable  exception  )  [inline, private]

Called whenever the part throws an exception.

Parameters:
exception java.lang.Throwable

Referenced by connEtoC1(), connEtoC2(), connEtoC3(), connEtoM1(), getBaseChart(), getJFrameContentPane(), getJLabel1(), getJLabel2(), getJPanel1(), getUpdaterSlider(), and initialize().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::initConnections (  )  throws java.lang.Exception [inline, private]

Initializes connections

Exceptions:
java.lang.Exception The exception description.

References getUpdaterSlider(), and ivjEventHandler.

Referenced by initialize().

void com::cosylab::gui::components::r2::chart::demo::ChartFrame::initialize (  )  [inline, private]

Initialize the class.

References getJFrameContentPane(), handleException(), and initConnections().

Referenced by ChartFrame().

static void com::cosylab::gui::components::r2::chart::demo::ChartFrame::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 ChartFrame().

synchronized void com::cosylab::gui::components::r2::chart::demo::ChartFrame::run (  )  [inline]

Insert the method's description here. Creation date: (8.8.2002 1:13:03)

References alive, getBaseChart(), timer, and com::cosylab::gui::components::r2::chart::BaseChart::updateChart().

synchronized void com::cosylab::gui::components::r2::chart::demo::ChartFrame::updaterSlider_StateChanged (  )  [inline]

Comment

References getUpdaterSlider(), and timer.

Referenced by connEtoC3().


Member Data Documentation

Referenced by chartFrame_WindowClosed(), and run().

Referenced by getBaseChart().

Referenced by initConnections().

Referenced by getJFrameContentPane().

Referenced by getJLabel1().

Referenced by getJLabel2().

Referenced by getJPanel1().

Referenced by getUpdaterSlider().

Referenced by run(), and updaterSlider_StateChanged().


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

Generated by  doxygen 1.6.2