Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jgoodies.binding.binder
Interface ActionBindingBuilder

All Known Implementing Classes:
  ActionBindingBuilderImpl

    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);

Since:
  2.3
Version:
  $Revision: 1.2 $
Author:
  Karsten Lentzsch

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

### to

    void to(AbstractButton button)

  Sets this builder's Action in the given button.

  Example:
  `binder.bind(editAction).to(editButton);`

  Parameters:
    `button` - the button where the Action is set
  Throws:
    `NullPointerException` - if `button` is `null`

### to

    void to(JTextField textField)

  Sets this builder's Action in the given text field.

  Example:
  `binder.bind(searchAction).to(searchField);`

  Parameters:
    `textField` - the field where the Action is set
  Throws:
    `NullPointerException` - if `textField` is `null`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2011 JGoodies Karsten Lentzsch. All Rights Reserved.