jgnash.ui.components
Class AutoCompleteFactory.PayeeAccountModel

java.lang.Object
  extended by jgnash.ui.components.autocomplete.DefaultAutoCompleteModel
      extended by jgnash.ui.components.AutoCompleteFactory.TransactionModel
          extended by jgnash.ui.components.AutoCompleteFactory.PayeeModel
              extended by jgnash.ui.components.AutoCompleteFactory.PayeeAccountModel
All Implemented Interfaces:
MessageListener, AutoCompleteModel
Enclosing class:
AutoCompleteFactory

private static class AutoCompleteFactory.PayeeAccountModel
extends AutoCompleteFactory.PayeeModel

This model stores the transaction with the payee field value. A new instance is created for each account and is account specific


Field Summary
private  Account account
           
 
Fields inherited from class jgnash.ui.components.AutoCompleteFactory.PayeeModel
transactions
 
Fields inherited from class jgnash.ui.components.AutoCompleteFactory.TransactionModel
load
 
Constructor Summary
AutoCompleteFactory.PayeeAccountModel(Account account)
           
 
Method Summary
(package private)  void load()
           
 void messagePosted(Message event)
           
 
Methods inherited from class jgnash.ui.components.AutoCompleteFactory.PayeeModel
getExtraInfo, load, removeExtraInfo
 
Methods inherited from class jgnash.ui.components.autocomplete.DefaultAutoCompleteModel
addString, doLookAhead, purge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

account

private Account account
Constructor Detail

AutoCompleteFactory.PayeeAccountModel

public AutoCompleteFactory.PayeeAccountModel(Account account)
Method Detail

load

void load()
Overrides:
load in class AutoCompleteFactory.TransactionModel

messagePosted

public void messagePosted(Message event)
Specified by:
messagePosted in interface MessageListener
Overrides:
messagePosted in class AutoCompleteFactory.PayeeModel