Venice 0.7beta

org.mov.ui
Class ExpressionDialog

java.lang.Object
  extended by org.mov.ui.ExpressionDialog
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ExpressionDialog
extends java.lang.Object
implements java.awt.event.ActionListener

A dialog for querying the user for an expression string.

Author:
Andrew Leppard
See Also:
ExpressionComboBox

Constructor Summary
ExpressionDialog(javax.swing.JComponent parent, java.lang.String message, java.lang.String title)
          Create new expression dialog.
ExpressionDialog(javax.swing.JComponent parent, java.lang.String message, java.lang.String title, java.lang.String defaultExpression)
          Create new expression dialog.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          ActionListener interface used for internal buttons.
 java.lang.String showDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionDialog

public ExpressionDialog(javax.swing.JComponent parent,
                        java.lang.String message,
                        java.lang.String title)
Create new expression dialog.

Parameters:
parent - The parent component to tie the dialog to
message - The question to ask the user
title - The title to place on the dialog

ExpressionDialog

public ExpressionDialog(javax.swing.JComponent parent,
                        java.lang.String message,
                        java.lang.String title,
                        java.lang.String defaultExpression)
Create new expression dialog.

Parameters:
parent - The parent component to tie the dialog to
message - The question to ask the user
title - The title to place on the dialog
defaultExpression - The default expression to display in the expression ComboBox
Method Detail

showDialog

public java.lang.String showDialog()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
ActionListener interface used for internal buttons.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

Venice 0.7beta