|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.qfs.lib.gui.ModalDialog.ButtonData
A structure that encapsulates the values for a button.
This class is public only to work around a javac BUG.
Field Summary | |
javax.swing.JButton |
button
The button itself. |
boolean |
close
Whether the button should close the dialog. |
boolean |
deflt
Whether the button is a default button. |
boolean |
hasRetval
Whether the return value is explicitely defined. |
java.lang.String |
name
The resource name of the button. |
int |
retval
The buttons return value. |
Constructor Summary | |
ModalDialog.ButtonData()
Create a new ButtonData. |
|
ModalDialog.ButtonData(java.lang.String name,
MapResourceBundle rb)
Create a new ButtonData, reading its value from the resources. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String name
public javax.swing.JButton button
public int retval
public boolean hasRetval
public boolean close
public boolean deflt
Constructor Detail |
public ModalDialog.ButtonData()
public ModalDialog.ButtonData(java.lang.String name, MapResourceBundle rb)
name
- The resource name of the button.rb
- The resources to use.
|
qflib 0.98.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |