OSDN Git Service

initial commit
[xdf/git-repos.git] / xdf-swingx / src / main / java / jp / ac / aiit / xdf / component / swingx / datasource / TreetableDataSource.java
1 package jp.ac.aiit.xdf.component.swingx.datasource;
2
3
4 public interface TreetableDataSource {
5         public ColumnInfo getColumnInfo(int column);
6         public int getColumnCount();
7         public int getHierarchicalColumn();
8         
9         public Object getValueAt(Object node, int column);
10         public boolean isCellEditable(Object node, int column);
11         public void setValueAt(Object value, Object node, int column);
12         
13         public Object getChild(Object parent, int index) ;
14         public int getChildCount(Object parent);
15         public int getIndexOfChild(Object parent, Object child);
16         public Object getRoot();
17         public boolean isLeaf(Object node);
18 }