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

## org.crosswire.bibledesktop.book
Class ParallelBookPicker.SelectedItemListener

    java.lang.Object
      org.crosswire.bibledesktop.book.ParallelBookPicker.SelectedItemListener

All Implemented Interfaces:
  ItemListener, EventListener, BookProvider

Enclosing class:
  ParallelBookPicker

    final class ParallelBookPicker.SelectedItemListener

extends Object
implements ItemListener, BookProvider

An ItemListener for a particular combo box that tracks it's selected item.

Field Summary
`private ParallelBookPicker` | `picker`

Constructor Summary
`ParallelBookPicker.SelectedItemListener(ParallelBookPicker picker)`

Method Summary
`Book[]` | `getBooks()` Provide books.
`Book` | `getFirstBook()` Provide the first book.
`void` | `itemStateChanged(ItemEvent ev)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### picker

    private ParallelBookPicker picker

Constructor Detail

### ParallelBookPicker.SelectedItemListener

    ParallelBookPicker.SelectedItemListener(ParallelBookPicker picker)

Method Detail

### itemStateChanged

    public void itemStateChanged(ItemEvent ev)

  Specified by:
    `itemStateChanged` in interface `ItemListener`

### getBooks

    public Book[] getBooks()

  Description copied from interface: `BookProvider`
  Provide books.

  Specified by:
    `getBooks` in interface `BookProvider`
  Returns:
    the books

### getFirstBook

    public Book getFirstBook()

  Description copied from interface: `BookProvider`
  Provide the first book.

  Specified by:
    `getFirstBook` in interface `BookProvider`
  Returns:
    the first book

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