Logo Search packages:      
Sourcecode: wims version File versions  Download package

SharpTools::FindDialog Class Reference

Inheritance diagram for SharpTools::FindDialog:


List of all members.

Detailed Description

This class provides a find dialog. User is prompted to choose find options.

Andrei Scudder

Hua Zhong (use SharpDialog)


Definition at line 23 of file FindDialog.java.

Public Member Functions

 FindDialog (JFrame aFrame, String findValue, boolean mCase, boolean mCell)
int getChoice ()
String getString ()
boolean isCancelled ()
boolean isCaseSensitive ()
boolean isCellMatching ()

Static Public Attributes

static final int CANCEL_OPTION = JOptionPane.CANCEL_OPTION
static final int CLOSED_OPTION = JOptionPane.CLOSED_OPTION
static final int NO_OPTION = JOptionPane.NO_OPTION
static final int OK_OPTION = JOptionPane.OK_OPTION
static final int YES_OPTION = JOptionPane.YES_OPTION

Protected Member Functions

JRootPane createRootPane ()
boolean onCancel ()
boolean onClose ()
boolean onNo ()
boolean onOK ()
void onOpen ()
boolean onYes ()
void setOptionPane (Object message, int messageType, int optionType, Icon icon, int defaultIndex)
void setOptionPane (Object message, int messageType, int optionType, Icon icon)

Package Attributes

final ImageIcon cancelIcon = new ImageIcon(getClass().getResource("/images/cancel.gif"))
final ImageIcon findIcon = new ImageIcon(getClass().getResource("/images/find32.gif"))
final ImageIcon noIcon = new ImageIcon(getClass().getResource("/images/no.gif"))
final ImageIcon okIcon = new ImageIcon(getClass().getResource("/images/ok.gif"))

Private Attributes

boolean caseSensitive = false
JCheckBox caseSensitiveBox
JFrame frame
JLabel label
boolean matchCell = false
JCheckBox matchCellBox
final JTextField textField = new JTextField(10)
String typedText = null

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

Generated by  Doxygen 1.6.0   Back to index