Venice 0.7beta

org.mov.ui
Class SymbolListDialog

java.lang.Object
  extended by org.mov.ui.SymbolListDialog

public class SymbolListDialog
extends java.lang.Object

A set of dialogs used for querying the user for commodities either by name or symbol.


Method Summary
static Symbol getSymbol(javax.swing.JDesktopPane parent, java.lang.String title)
          Open a new SymbolListDialog dialog.
static java.util.SortedSet getSymbols(javax.swing.JDesktopPane parent, java.lang.String title)
          Open a new SymbolListDialog dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSymbol

public static Symbol getSymbol(javax.swing.JDesktopPane parent,
                               java.lang.String title)
Open a new SymbolListDialog dialog. Ask the user to enter a single symbol. It will test to make sure it is a valid symbol.

Parameters:
parent - the parent desktop
title - the title of the dialog
Returns:
a symbol or null if the user cancelled the dialog.

getSymbols

public static java.util.SortedSet getSymbols(javax.swing.JDesktopPane parent,
                                             java.lang.String title)
Open a new SymbolListDialog dialog. Ask the user to enter a list of symbol symbols. It will test to make each is a valid symbol.

Parameters:
parent - the parent desktop
title - the title of the dialog
Returns:
a sorted set containing at least one symbol symbol string or null if the user cancelled the dialog

Venice 0.7beta