|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.treetable.AbstractTreeTableModel
org.chorem.lima.ui.account.AccountTreeTableModel
public class AccountTreeTableModel
Tree table model for account edition.
| Field Summary | |
|---|---|
protected AccountServiceMonitorable |
accountService
Account service. |
| Fields inherited from class org.jdesktop.swingx.treetable.AbstractTreeTableModel |
|---|
modelSupport, root |
| Constructor Summary | |
|---|---|
AccountTreeTableModel()
Model constructor. |
|
| Method Summary | |
|---|---|
void |
addAccount(TreePath path,
Account account)
Add account (path can be null). |
void |
addSubLedger(TreePath path,
Account account)
Add account (path can be null). |
Object |
getChild(Object parent,
int index)
|
int |
getChildCount(Object node)
|
int |
getColumnCount()
|
String |
getColumnName(int column)
|
int |
getIndexOfChild(Object parent,
Object child)
|
Object |
getValueAt(Object node,
int column)
|
boolean |
isCellEditable(Object node,
int column)
|
boolean |
isLeaf(Object node)
|
void |
refreshTree()
Refresh accountschart. |
void |
removeAccount(TreePath path,
Account account)
Remove account. |
void |
updateAccount(TreePath path,
Account account)
Update account. |
| Methods inherited from class org.jdesktop.swingx.treetable.AbstractTreeTableModel |
|---|
addTreeModelListener, getColumnClass, getHierarchicalColumn, getRoot, getTreeModelListeners, removeTreeModelListener, setValueAt, valueForPathChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final AccountServiceMonitorable accountService
| Constructor Detail |
|---|
public AccountTreeTableModel()
| Method Detail |
|---|
public int getColumnCount()
public String getColumnName(int column)
getColumnName in interface org.jdesktop.swingx.treetable.TreeTableModelgetColumnName in class org.jdesktop.swingx.treetable.AbstractTreeTableModelpublic int getChildCount(Object node)
public Object getChild(Object parent,
int index)
public int getIndexOfChild(Object parent,
Object child)
public Object getValueAt(Object node,
int column)
public boolean isCellEditable(Object node,
int column)
isCellEditable in interface org.jdesktop.swingx.treetable.TreeTableModelisCellEditable in class org.jdesktop.swingx.treetable.AbstractTreeTableModelpublic boolean isLeaf(Object node)
isLeaf in interface TreeModelisLeaf in class org.jdesktop.swingx.treetable.AbstractTreeTableModel
public void addAccount(TreePath path,
Account account)
throws LimaException
path - account -
LimaException
public void addSubLedger(TreePath path,
Account account)
throws LimaException
path - account -
LimaException
public void updateAccount(TreePath path,
Account account)
throws LimaException
path - account -
LimaException
public void refreshTree()
throws LimaException
LimaException
public void removeAccount(TreePath path,
Account account)
throws LimaException
path - account -
LimaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||