Extension SDK

oracle.ide.dialogs
Class SimpleInputDialog

java.lang.Object
  |
  +--oracle.ide.dialogs.SimpleInputDialog
All Implemented Interfaces:
javax.swing.event.DocumentListener, java.util.EventListener, java.beans.VetoableChangeListener

public class SimpleInputDialog
extends java.lang.Object
implements javax.swing.event.DocumentListener, java.beans.VetoableChangeListener

SimpleInputDialog class.


Constructor Summary
SimpleInputDialog()
           
 
Method Summary
protected  boolean canOk()
          Return true to enable the OK button.
 void changedUpdate(javax.swing.event.DocumentEvent e)
           
protected  oracle.bali.ewt.dialog.JEWTDialog getDialog()
           
 java.lang.String getInputValue()
          Returns the string entered by user.
 void insertUpdate(javax.swing.event.DocumentEvent e)
           
 void removeUpdate(javax.swing.event.DocumentEvent e)
           
 boolean show(java.lang.String title, java.lang.String label, java.lang.String helpID)
          Show the dialog.
protected  boolean validate(java.lang.String input)
          Return true if the input is valid
 void vetoableChange(java.beans.PropertyChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleInputDialog

public SimpleInputDialog()
Method Detail

getInputValue

public java.lang.String getInputValue()
Returns the string entered by user.

show

public boolean show(java.lang.String title,
                    java.lang.String label,
                    java.lang.String helpID)
Show the dialog. Diplay the specified title in the title bar. Describe the input field using the specified label, and use the given helpID for obtaining help on this dialog.

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent e)
Specified by:
changedUpdate in interface javax.swing.event.DocumentListener

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent e)
Specified by:
insertUpdate in interface javax.swing.event.DocumentListener

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent e)
Specified by:
removeUpdate in interface javax.swing.event.DocumentListener

vetoableChange

public void vetoableChange(java.beans.PropertyChangeEvent evt)
                    throws java.beans.PropertyVetoException
Specified by:
vetoableChange in interface java.beans.VetoableChangeListener

getDialog

protected oracle.bali.ewt.dialog.JEWTDialog getDialog()

canOk

protected boolean canOk()
Return true to enable the OK button.

validate

protected boolean validate(java.lang.String input)
Return true if the input is valid

Extension SDK