Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.dialogs
Class SimpleInputDialog

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

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

SimpleInputDialog class.


Constructor Summary
SimpleInputDialog()
           
SimpleInputDialog(java.awt.Component parent)
           
 
Method Summary
protected  boolean canOk()
          Return true to enable the OK button.
 void changedUpdate(javax.swing.event.DocumentEvent e)
           
protected  javax.swing.text.JTextComponent createInputComponent()
          Creates the input component for the dialog.
protected  boolean enableStatus()
           
 int getButtonMask()
          Returns the dialog's button mask.
protected  oracle.bali.ewt.dialog.JEWTDialog getDialog()
           
 java.lang.String getInputValue()
          Returns the input value string, the string entered by user.
 void insertUpdate(javax.swing.event.DocumentEvent e)
           
 void removeUpdate(javax.swing.event.DocumentEvent e)
           
 void setButtonMask(int buttonMask)
          Sets the dialog's button mask.
 void setInputValue(java.lang.String value)
          Sets the input value string.
protected  void setStatus(java.lang.String value)
           
 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()

SimpleInputDialog

public SimpleInputDialog(java.awt.Component parent)
Method Detail

getInputValue

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


setInputValue

public void setInputValue(java.lang.String value)
Sets the input value string.


getButtonMask

public int getButtonMask()
Returns the dialog's button mask.


setButtonMask

public void setButtonMask(int buttonMask)
Sets the dialog's button mask.


enableStatus

protected boolean enableStatus()

setStatus

protected void setStatus(java.lang.String value)

createInputComponent

protected javax.swing.text.JTextComponent createInputComponent()
Creates the input component for the dialog. Override this method to initialize the component with a different preferred size, or to create a special-purpose type of text component (E.g. a password field).


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
Throws:
java.beans.PropertyVetoException

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


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.