com.isti.util.propertyeditor
Class ShowDialogPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by com.isti.util.propertyeditor.AbstractPropertyEditor
          extended by com.isti.util.propertyeditor.ShowDialogPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
LoginPropertyEditor

public abstract class ShowDialogPropertyEditor
extends AbstractPropertyEditor

Class ShowDialogPropertyEditor defines a property editor that supports 'showEditorDialog()' methods.


Constructor Summary
ShowDialogPropertyEditor()
           
 
Method Summary
abstract  java.lang.String getLoginDialogMsgStr()
          Returns the message string to be shown in the login dialog.
abstract  void setLoginDialogMsgStr(java.lang.String str)
          Sets a message string to be shown in the login dialog.
abstract  boolean showEditorDialog()
          Displays the property-editor dialog.
abstract  boolean showEditorDialog(java.lang.String panelPromptStr)
          Displays the property-editor dialog.
 
Methods inherited from class com.isti.util.propertyeditor.AbstractPropertyEditor
addActionListener, removeActionListener
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowDialogPropertyEditor

public ShowDialogPropertyEditor()
Method Detail

showEditorDialog

public abstract boolean showEditorDialog()
Displays the property-editor dialog.

Returns:
true if the user closed the dialog by selected the "OK" button; false if not.

showEditorDialog

public abstract boolean showEditorDialog(java.lang.String panelPromptStr)
Displays the property-editor dialog.

Parameters:
panelPromptStr - the "prompt" text to be shown on the panel, or null for none.
Returns:
true if the user closed the dialog by selected the "OK" button; false if not.

setLoginDialogMsgStr

public abstract void setLoginDialogMsgStr(java.lang.String str)
Sets a message string to be shown in the login dialog. If a prompt string is given via the 'showEditorDialog()' method then this message string will be appended to the prompt string.

Parameters:
str - the message string to show, or null for none.

getLoginDialogMsgStr

public abstract java.lang.String getLoginDialogMsgStr()
Returns the message string to be shown in the login dialog.

Returns:
The message string to be shown in the login dialog, or null if none was given.