com.jgoodies.binding.adapter
Interface ListModelBindable

All Known Implementing Classes:
AbstractTableAdapter

public interface ListModelBindable

Describes object access to a ListModel. Primarily used to describe TableModel implementations that have an underlying ListModel for the data rows.

Since:
2.2
Version:
$Revision: 1.1 $
Author:
Karsten Lentzsch
See Also:
Bindings.bind(JTable, SelectionInList), Bindings.bind(JTable, ListModel, ListSelectionModel)

Method Summary
 ListModel getListModel()
           
 void setListModel(ListModel newListModel)
          Sets the given ListModel as new underlying ListModel.
 

Method Detail

getListModel

ListModel getListModel()
Returns:
the underlying ListModel

setListModel

void setListModel(ListModel newListModel)
Sets the given ListModel as new underlying ListModel. Implementations will typically need to remove ListDataListeners from the previously set ListModel and add them to the given ListModel.

Parameters:
newListModel - the ListModel to be set


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