Class CombinedAccountFilter
- java.lang.Object
-
- com.infinitekind.moneydance.model.CombinedAccountFilter
-
- All Implemented Interfaces:
AcctFilter
public class CombinedAccountFilter extends java.lang.Object implements AcctFilter
Created by sreilly - 2014.05.05 12:14
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CombinedAccountFilter.CombinationType
-
Field Summary
-
Fields inherited from interface com.infinitekind.moneydance.model.AcctFilter
ACTIVE_ACCOUNTS_FILTER, ACTIVE_CATEGORY_CHOICE_FILTER, ALL_ACCOUNTS_FILTER, CATEGORY_CHOICE_FILTER, CATEGORY_FILTER, EDITABLE_ACCOUNTS_FILTER, INACTIVE_ACCOUNTS_FILTER, NON_CATEGORY_FILTER, VIEWABLE_ACCOUNTS_FILTER
-
-
Constructor Summary
Constructors Constructor Description CombinedAccountFilter(CombinedAccountFilter.CombinationType combinationType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CombinedAccountFilter
addFilter(AcctFilter filter)
java.lang.String
format(Account acct)
Returns the String representation of the given account in the context of this search.boolean
matches(Account acct)
Returns true iff the given account matches the current search criteria
-
-
-
Constructor Detail
-
CombinedAccountFilter
public CombinedAccountFilter(CombinedAccountFilter.CombinationType combinationType)
-
-
Method Detail
-
addFilter
public CombinedAccountFilter addFilter(AcctFilter filter)
-
matches
public boolean matches(Account acct)
Description copied from interface:AcctFilter
Returns true iff the given account matches the current search criteria- Specified by:
matches
in interfaceAcctFilter
-
format
public java.lang.String format(Account acct)
Description copied from interface:AcctFilter
Returns the String representation of the given account in the context of this search.- Specified by:
format
in interfaceAcctFilter
-
-