jgnash.ui.components
Class FilteredAccountListComboBox.FilteredModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by jgnash.ui.components.AccountListComboBox.AbstractModel
          extended by jgnash.ui.components.FilteredAccountListComboBox.FilteredModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel
Enclosing class:
FilteredAccountListComboBox

private static final class FilteredAccountListComboBox.FilteredModel
extends AccountListComboBox.AbstractModel


Field Summary
private  boolean hideLocked
           
private  boolean hidePlaceholder
           
private static long serialVersionUID
           
 
Fields inherited from class jgnash.ui.components.AccountListComboBox.AbstractModel
accounts, baseAccount, selectedItem, types
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
FilteredAccountListComboBox.FilteredModel(Account exclude, boolean hideLocked, boolean hidePlaceholder)
           
 
Method Summary
protected  void loadChildren(Account acc, java.util.List<Account> array)
           
 
Methods inherited from class jgnash.ui.components.AccountListComboBox.AbstractModel
getElementAt, getSelectedItem, getSize, loadAccounts, messagePosted, setSelectedItem
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

hideLocked

private boolean hideLocked

hidePlaceholder

private boolean hidePlaceholder
Constructor Detail

FilteredAccountListComboBox.FilteredModel

public FilteredAccountListComboBox.FilteredModel(Account exclude,
                                                 boolean hideLocked,
                                                 boolean hidePlaceholder)
Method Detail

loadChildren

protected void loadChildren(Account acc,
                            java.util.List<Account> array)
Specified by:
loadChildren in class AccountListComboBox.AbstractModel