public class SimpleInputDialog
extends java.lang.Object
implements javax.swing.event.DocumentListener, java.beans.VetoableChangeListener
SimpleInputDialog class.| Constructor and Description |
|---|
SimpleInputDialog() |
SimpleInputDialog(java.awt.Component parent) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public SimpleInputDialog()
public SimpleInputDialog(java.awt.Component parent)
public java.lang.String getInputValue()
public void setInputValue(java.lang.String value)
public int getButtonMask()
public void setButtonMask(int buttonMask)
protected boolean enableStatus()
protected void setStatus(java.lang.String value)
protected javax.swing.text.JTextComponent createInputComponent()
public boolean show(java.lang.String title,
java.lang.String label,
java.lang.String helpID)
title in the title
bar. Describe the input field using the specified label,
and use the given helpID for obtaining help on this
dialog.public void changedUpdate(javax.swing.event.DocumentEvent e)
changedUpdate in interface javax.swing.event.DocumentListenerpublic void insertUpdate(javax.swing.event.DocumentEvent e)
insertUpdate in interface javax.swing.event.DocumentListenerpublic void removeUpdate(javax.swing.event.DocumentEvent e)
removeUpdate in interface javax.swing.event.DocumentListenerpublic void vetoableChange(java.beans.PropertyChangeEvent evt)
throws java.beans.PropertyVetoException
vetoableChange in interface java.beans.VetoableChangeListenerjava.beans.PropertyVetoExceptionprotected oracle.bali.ewt.dialog.JEWTDialog getDialog()
protected boolean canOk()
true to enable the OK button.protected boolean validate(java.lang.String input)