@Deprecated public interface ActionBindingBuilder
Examples:
binder.bind(editAction) .to(editButton); binder.bind(searchAction) .to(searchField); binder.bindAction("Delete").to(deleteButton);
Modifier and Type | Method and Description |
---|---|
void |
to(AbstractButton button)
Deprecated.
Sets this builder's Action in the given button.
|
void |
to(JComboBox comboBox)
Deprecated.
Sets this builder's Action in the given combo box.
|
void |
to(JTextField textField)
Deprecated.
Sets this builder's Action in the given text field.
|
void to(AbstractButton button)
Example:
binder.bind(editAction).to(editButton);
button
- the button where the Action is setNullPointerException
- if button
is null
void to(JComboBox comboBox)
Example:
binder.bind(anAction).to(aComboBox);
comboBox
- the combo box where the Action is setNullPointerException
- if comboBox
is null
void to(JTextField textField)
Example:
binder.bind(searchAction).to(searchField);
textField
- the field where the Action is setNullPointerException
- if textField
is null
Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.