jgnash.ui.account
Class ExpandingAccountTableNode
java.lang.Object
jgnash.ui.account.ExpandingAccountTableNode
- All Implemented Interfaces:
- java.lang.Comparable<ExpandingAccountTableNode>
public class ExpandingAccountTableNode
- extends java.lang.Object
- implements java.lang.Comparable<ExpandingAccountTableNode>
A serializable object used to manage and persist an account's display state
- Version:
- $Id$
- Author:
- Craig Cavanaugh
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
accountUuid
private java.lang.String accountUuid
account
private Account account
expanded
private boolean expanded
ExpandingAccountTableNode
ExpandingAccountTableNode(Account account)
getAccount
public Account getAccount()
getAccountUuid
public java.lang.String getAccountUuid()
setExpanded
public void setExpanded(boolean expanded)
isExpanded
public boolean isExpanded()
getDepth
public int getDepth()
compareTo
public int compareTo(ExpandingAccountTableNode node)
- Specified by:
compareTo in interface java.lang.Comparable<ExpandingAccountTableNode>
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals in class java.lang.Object