com::cosylab::logging::settings::FilterParameterDialog Class Reference

Inheritance diagram for com::cosylab::logging::settings::FilterParameterDialog:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::logging::settings::FilterParameterDialog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FilterParameterDialog (Dialog owner)
Filter getFilter ()
void setFilter (Filter f)
void setVisible (boolean visible)
boolean okPressed ()
void actionPerformed (ActionEvent e)

Private Member Functions

void connPtoP4SetTarget ()
javax.swing.JButton getCancelButton ()
FilterDatePanel getDateEditor ()
javax.swing.JLabel getErrorLabel ()
FieldClassChooser getFieldIndexChooser ()
FilterIntegerPanel getIntegerEditor ()
FilterTypePanel getTypeEditor ()
javax.swing.JLabel getJLabel2 ()
javax.swing.JPanel getJModalDialogContentPane ()
javax.swing.JPanel getJPanel1 ()
javax.swing.JPanel getJPanel2 ()
javax.swing.JButton getOKButton ()
FilterStringPanel getStringEditor ()
void handleException (java.lang.Throwable exception)
void initConnections () throws java.lang.Exception
void initialize ()
boolean checkFilter ()

Private Attributes

FilterDatePanel ivjDateEditor = null
FieldClassChooser fieldIndexChooser = null
FilterIntegerPanel ivjIntegerEditor = null
FilterTypePanel typeEditor = null
JLabel ivjJLabel2 = null
JPanel ivjJModalDialogContentPane = null
JPanel ivjJPanel1 = null
JPanel ivjJPanel2 = null
FilterStringPanel ivjStringEditor = null
JButton ivjCancelButton = null
JLabel ivjErrorLabel = null
JButton ivjOKButton = null
boolean okPressed
final Dialog ownerDialog

Detailed Description

Serves the purpose of filtering according to the parameter. Used by LogEntryTable. Creation date: (2/7/02 12:36:55 PM)

Author:
:

Constructor & Destructor Documentation

com::cosylab::logging::settings::FilterParameterDialog::FilterParameterDialog ( Dialog  owner  )  [inline]

FilterParameterDialog constructor comment.

Parameters:
comp The component used to show this panel over

References initialize(), and ownerDialog.


Member Function Documentation

void com::cosylab::logging::settings::FilterParameterDialog::actionPerformed ( ActionEvent  e  )  [inline]
boolean com::cosylab::logging::settings::FilterParameterDialog::checkFilter (  )  [inline, private]

Check if the filter is valid.

Returns:
true if the form is well formed

References getErrorLabel(), getFieldIndexChooser(), and com::cosylab::logging::settings::FieldClassChooser::getFilter().

Referenced by actionPerformed().

void com::cosylab::logging::settings::FilterParameterDialog::connPtoP4SetTarget (  )  [inline, private]

connPtoP4SetTarget: (JPanel2.this <--> FieldIndexChooser.mainPanel)

References getFieldIndexChooser(), getJPanel2(), handleException(), and com::cosylab::logging::settings::FieldClassChooser::setMainPanel().

Referenced by initConnections().

javax.swing.JButton com::cosylab::logging::settings::FilterParameterDialog::getCancelButton (  )  [inline, private]

Return the JButton2 property value.

Returns:
javax.swing.JButton

References handleException(), and ivjCancelButton.

Referenced by getJPanel1(), and initConnections().

FilterDatePanel com::cosylab::logging::settings::FilterParameterDialog::getDateEditor (  )  [inline, private]
javax.swing.JLabel com::cosylab::logging::settings::FilterParameterDialog::getErrorLabel (  )  [inline, private]

Return the FieldErrorLabel property value.

Returns:
javax.swing.JLabel

References handleException(), and ivjErrorLabel.

Referenced by checkFilter(), and getJModalDialogContentPane().

FieldClassChooser com::cosylab::logging::settings::FilterParameterDialog::getFieldIndexChooser (  )  [inline, private]
Filter com::cosylab::logging::settings::FilterParameterDialog::getFilter (  )  [inline]
FilterIntegerPanel com::cosylab::logging::settings::FilterParameterDialog::getIntegerEditor (  )  [inline, private]
javax.swing.JLabel com::cosylab::logging::settings::FilterParameterDialog::getJLabel2 (  )  [inline, private]

Return the JLabel2 property value.

Returns:
javax.swing.JLabel

References handleException(), and ivjJLabel2.

Referenced by getJModalDialogContentPane().

javax.swing.JPanel com::cosylab::logging::settings::FilterParameterDialog::getJModalDialogContentPane (  )  [inline, private]

Return the JModalDialogContentPane property value.

Returns:
javax.swing.JPanel

References getErrorLabel(), getFieldIndexChooser(), getJLabel2(), getJPanel1(), getJPanel2(), handleException(), and ivjJModalDialogContentPane.

Referenced by initialize().

javax.swing.JPanel com::cosylab::logging::settings::FilterParameterDialog::getJPanel1 (  )  [inline, private]

Return the JPanel1 property value.

Returns:
javax.swing.JPanel

References getCancelButton(), getOKButton(), handleException(), and ivjJPanel1.

Referenced by getJModalDialogContentPane().

javax.swing.JPanel com::cosylab::logging::settings::FilterParameterDialog::getJPanel2 (  )  [inline, private]

Return the JPanel2 property value.

Returns:
javax.swing.JPanel

References handleException(), and ivjJPanel2.

Referenced by connPtoP4SetTarget(), and getJModalDialogContentPane().

javax.swing.JButton com::cosylab::logging::settings::FilterParameterDialog::getOKButton (  )  [inline, private]

Return the JButton1 property value.

Returns:
javax.swing.JButton

References handleException(), and ivjOKButton.

Referenced by getJPanel1(), and initConnections().

FilterStringPanel com::cosylab::logging::settings::FilterParameterDialog::getStringEditor (  )  [inline, private]

Return the StringEditor property value.

Returns:
com.cosylab.logging.settings.FilterStringPanel

References handleException(), and ivjStringEditor.

Referenced by initConnections().

FilterTypePanel com::cosylab::logging::settings::FilterParameterDialog::getTypeEditor (  )  [inline, private]

References handleException(), and typeEditor.

Referenced by initConnections().

void com::cosylab::logging::settings::FilterParameterDialog::handleException ( java.lang.Throwable  exception  )  [inline, private]
void com::cosylab::logging::settings::FilterParameterDialog::initConnections (  )  throws java.lang.Exception [inline, private]
void com::cosylab::logging::settings::FilterParameterDialog::initialize (  )  [inline, private]

Initialize the class.

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

Referenced by FilterParameterDialog().

Returns:
true if the user pressed Ok.

Referenced by actionPerformed().

void com::cosylab::logging::settings::FilterParameterDialog::setFilter ( Filter  f  )  [inline]
void com::cosylab::logging::settings::FilterParameterDialog::setVisible ( boolean  visible  )  [inline]

Override JDialog.setVisible to show this dialog over the LogsingClient component.

References ownerDialog.

Referenced by actionPerformed(), and com::cosylab::logging::settings::FilterChooserDialog::ButtonListener::editFilter().


Member Data Documentation

Referenced by getFieldIndexChooser().

Referenced by getCancelButton().

Referenced by getDateEditor().

Referenced by getErrorLabel().

Referenced by getIntegerEditor().

Referenced by getJLabel2().

Referenced by getJPanel1().

Referenced by getJPanel2().

Referenced by getOKButton().

Referenced by getStringEditor().

Used to signal the caller if the user pressed OK

Referenced by com::cosylab::logging::settings::FilterChooserDialog::ButtonListener::editFilter().

The Dialog to display this dialog over

Referenced by FilterParameterDialog(), and setVisible().

Referenced by getTypeEditor().


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

Generated by  doxygen 1.6.2