public interface IstiDialogInterface
extends javax.swing.WindowConstants
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the popup dialog window.
|
void |
close(java.lang.Object obj)
Closes the popup dialog window.
|
void |
closeWithWait(int maxWaitTimeMs)
Waits (if necessary) for the popup dialog window to be visible and
then closes it.
|
void |
closeWithWait(java.lang.Object obj,
int maxWaitTimeMs)
Waits (if necessary) for the popup dialog window to be visible and
then closes it.
|
void |
dispose()
Disposes the popup dialog window.
|
java.lang.Object |
getInputValue()
Returns the value the user has input.
|
java.lang.Object |
getMessageObj()
Returns the message object displayed by this dialog.
|
java.lang.String |
getMessageStr()
Returns the message string displayed by this dialog.
|
java.lang.String |
getTitleStr()
Returns the title displayed by this dialog.
|
java.lang.String |
getUserMessageString()
Returns the user-defined message string set via the
'setMessageString()' method.
|
java.lang.Object |
getValue()
Returns the value the user has selected.
|
void |
hide()
Hides the popup dialog window.
|
void |
invalidate()
Invalidates the popup dialog window.
|
boolean |
isModal()
Returns the modal status of the dialog.
|
boolean |
isShowing()
Returns true if the popup dialog window is showing.
|
boolean |
isVisible()
Determines whether the popup dialog should be visible when its
parent is visible.
|
void |
pack()
Causes this dialog to be sized to fit the preferred size and layouts
of its subcomponents.
|
void |
repaint()
Repaints the popup dialog window.
|
void |
requestFocus()
Requests that the dialog get the input focus, and that the
dialog's top-level ancestor become the focused Window.
|
void |
setDefaultCloseOperation(int selVal)
Sets the operation which will happen by default when the user
initiates a "close" on this dialog.
|
void |
setInitialFocus()
Requests that the current "initial" component have focus.
|
void |
setLocation(int x,
int y)
Moves the dialog to a new location.
|
void |
setMessageObj(java.lang.Object obj)
Sets the message object displayed by this dialog.
|
void |
setMessageStr(java.lang.String str)
Sets the message object displayed by this dialog to the given string.
|
void |
setModal(boolean modalFlag)
Specifies whether this dialog should be modal.
|
void |
setResizable(boolean resizableFlag)
Sets whether the dialog is resizable by the user.
|
void |
setSize(int width,
int height)
Sets the size of the dialog.
|
void |
setTitleStr(java.lang.String str)
Sets the title displayed by this dialog.
|
void |
setUserMessageString(java.lang.String str)
Sets a user-defined message string that may be fetched via the
'getMessageString()' method.
|
void |
setVisible(boolean flgVal)
Sets the visibility of the dialog window.
|
void |
setVisibleViaInvokeLater(boolean flgVal)
Sets the visibility of the dialog window, using the event-dispatch
thread via a call to 'SwingUtilities.invokeLater()'.
|
java.lang.Object |
show()
Displays the popup dialog window.
|
java.lang.Object |
showAndWait()
Displays the popup dialog window.
|
void |
validate()
Validates the popup dialog window.
|
boolean |
waitForDialogVisible(int maxWaitTimeMs)
Waits for the popup dialog window to be visible, up to the given
maximum time value.
|
java.lang.Object show()
java.lang.Object showAndWait()
void setVisible(boolean flgVal)
flgVal
- true for visible, false for hidden.void setVisibleViaInvokeLater(boolean flgVal)
flgVal
- true for visible, false for hidden.boolean isVisible()
true
if the popup dialog is visible;
false
otherwise.boolean isShowing()
boolean waitForDialogVisible(int maxWaitTimeMs)
maxWaitTimeMs
- the maximum time to wait, in milliseconds.void close(java.lang.Object obj)
obj
- the value to be returned via the 'show()' or 'showAndWait()'
method.void close()
void closeWithWait(java.lang.Object obj, int maxWaitTimeMs)
obj
- the value to be returned via the 'show()' or 'showAndWait()'
method.maxWaitTimeMs
- the maximum time to wait for the popup dialog
window to be visible, in milliseconds.void closeWithWait(int maxWaitTimeMs)
maxWaitTimeMs
- the maximum time to wait for the popup dialog
window to be visible, in milliseconds.void hide()
void dispose()
void repaint()
void validate()
void invalidate()
void pack()
void setSize(int width, int height)
width
- the width to use.height
- the height to use.void setResizable(boolean resizableFlag)
resizableFlag
- true if the user can resize this dialog; false
otherwise.void setLocation(int x, int y)
x
and y
parameters in the coordinate space of this component's parent.x
- The x-coordinate of the new location's
top-left corner in the parent's coordinate space.y
- The y-coordinate of the new location's
top-left corner in the parent's coordinate space.void requestFocus()
void setModal(boolean modalFlag)
modalFlag
- true for modal, false for modeless (allows other
windows to run).boolean isModal()
void setDefaultCloseOperation(int selVal)
selVal
- one of the following constants: DISPOSE_ON_CLOSE,
DO_NOTHING_ON_CLOSE, or HIDE_ON_CLOSE.void setMessageObj(java.lang.Object obj)
obj
- the message obj.java.lang.Object getMessageObj()
void setMessageStr(java.lang.String str)
str
- the message string.java.lang.String getMessageStr()
void setTitleStr(java.lang.String str)
str
- the title string to display.java.lang.String getTitleStr()
java.lang.Object getInputValue()
java.lang.Object getValue()
void setUserMessageString(java.lang.String str)
str
- the message text.java.lang.String getUserMessageString()
void setInitialFocus()