public class FwkConfirmDialog
extends java.lang.Object
| Property Keyword | Datatype | Default | Description |
|---|---|---|---|
| FwkConfirmDialog.Text.Yes | String | FwkConfirmDialog.Text.Yes | The text for the YES button. |
| FwkConfirmDialog.Text.No | String | FwkConfirmDialog.Text.No | The text for the NO button. |
| FwkConfirmDialog.Icon | Icon | com/hgihqsoft/fwk/images/FwkHelpBroker_bg.gif | The icon of the dialog. This icon will be used for parentless dialogs only. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
version |
| Modifier | Constructor and Description |
|---|---|
protected |
FwkConfirmDialog()
The constructor.
|
|
FwkConfirmDialog(java.lang.String title,
java.lang.String[] message)
The constructor.
|
|
FwkConfirmDialog(java.lang.String title,
java.lang.String[] message,
boolean confirmed)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty(java.lang.String key)
Get a property string.
|
java.lang.String |
getVersion() |
static void |
main(java.lang.String[] args)
The Main body to test the class.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Set the text property.
|
boolean |
showDialog()
Create the error dialog.
|
boolean |
showDialog(java.awt.Container parent)
Create the error dialog.
|
public static final java.lang.String version
protected FwkConfirmDialog()
public FwkConfirmDialog(java.lang.String title,
java.lang.String[] message)
public FwkConfirmDialog(java.lang.String title,
java.lang.String[] message,
boolean confirmed)
public java.lang.String getVersion()
public boolean showDialog()
public boolean showDialog(java.awt.Container parent)
public void setProperty(java.lang.String key,
java.lang.String value)
key - the keyword of the property.value - the string value.public java.lang.String getProperty(java.lang.String key)
key - the keyword of the property.public static void main(java.lang.String[] args)