|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<BalanceType>
com.moneydance.apps.md.model.BalanceType
public enum BalanceType
Defines the various balance types that can be displayed.
| Enum Constant Summary | |
|---|---|
BALANCE
Balance at the end of the register. |
|
CLEARED_BALANCE
Balance as cleared through the financial institution. |
|
CONFIRMED_BALANCE
Balance excluding unconfirmed downloaded transactions |
|
CURRENT_BALANCE
Balance as of today's date. |
|
UNCONFIRMED_TOTAL
Total of all unconfirmed transactions |
|
| Field Summary | |
|---|---|
static BalanceType |
DEFAULT
The default balance type to use if none is specified. |
| Method Summary | |
|---|---|
static BalanceType |
fromInt(int value)
Given an integer value, return the balance type. |
java.lang.String |
getConfigKey()
|
java.lang.String |
getResourceKey()
Return a resource key for a localized string describing this object. |
static BalanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BalanceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BalanceType CURRENT_BALANCE
public static final BalanceType BALANCE
public static final BalanceType CLEARED_BALANCE
public static final BalanceType CONFIRMED_BALANCE
public static final BalanceType UNCONFIRMED_TOTAL
| Field Detail |
|---|
public static final BalanceType DEFAULT
| Method Detail |
|---|
public static BalanceType[] values()
for (BalanceType c : BalanceType.values()) System.out.println(c);
public static BalanceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getResourceKey()
DisplayableObject
getResourceKey in interface DisplayableObjectpublic java.lang.String getConfigKey()
public static BalanceType fromInt(int value)
CURRENT_BALANCE is
returned.
value - The integer value to convert.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||