|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionBindingBuilder
Describes a binding builder that holds an Action that can be bound to buttons and text fields.
Examples:
binder.bind(editAction) .to(editButton); binder.bind(searchAction) .to(searchField); binder.bindAction("Delete").to(deleteButton);
Method Summary | |
---|---|
void |
to(AbstractButton button)
Sets this builder's Action in the given button. |
void |
to(JTextField textField)
Sets this builder's Action in the given text field. |
Method Detail |
---|
void to(AbstractButton button)
Example:
binder.bind(editAction).to(editButton);
button
- the button where the Action is set
NullPointerException
- if button
is null
void to(JTextField textField)
Example:
binder.bind(searchAction).to(searchField);
textField
- the field where the Action is set
NullPointerException
- if textField
is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |