public interface IApplicable extends IControlee
IApplicable
is an interface which tells the ButtonBar
that the widget implementing this interface needs an apply and a cancel
button in addition to the ok button demanded by the IControleeButtonBar
,
IControlee
Modifier and Type | Method and Description |
---|---|
void |
apply()
apply is called when the user presses the apply
button. |
void |
cancel()
cancel is called when the user presses the cancel
button. |
ok
void apply()
apply
is called when the user presses the apply
button. Expected behaviour is to set all values on the
model of the widgetvoid cancel()
cancel
is called when the user presses the cancel
button. Expected behaviour is to close the window, eg
getRootPane().getParent().setVisible(false);