|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.design.view.ValueDialog
public class ValueDialog
Create dialogs for forms.
Constructor Summary | |
---|---|
ValueDialog(Component form)
Default OK action set the chosen flag. |
|
ValueDialog(Component form,
Callable<Boolean> okAction)
Provide an action for when OK selected. |
Method Summary | |
---|---|
boolean |
isChosen()
|
void |
showDialog(Component parent)
Show the dialogue. |
void |
showDialog(Component parent,
boolean hideCancel)
This is used by designer sub dialogues because there is no way to cancel a change. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueDialog(Component form)
form
- public ValueDialog(Component form, Callable<Boolean> okAction)
form
- okAction
- Method Detail |
---|
public boolean isChosen()
public void showDialog(Component parent)
parent
- The parent component/frame.public void showDialog(Component parent, boolean hideCancel)
parent
- The parent component/frame.hideCancel
- Hide the cancel button.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |