Class AlarmTreeTableDataModel
java.lang.Object
edu.jiangxin.apktoolbox.swing.treetable.MyAbstractTreeTableModel
edu.jiangxin.apktoolbox.android.dumpsys.alarm.AlarmTreeTableDataModel
- All Implemented Interfaces:
MyTreeTableModel
,TreeModel
-
Field Summary
Fields inherited from class edu.jiangxin.apktoolbox.swing.treetable.MyAbstractTreeTableModel
listenerList, root
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getChildCount
(Object parent) Class<?>
getColumnClass
(int column) Returns the type (class) of a column.int
Returns the number of available columns.getColumnName
(int column) Returns the column name.getValueAt
(Object node, int column) Returns the value of a node in a column.boolean
isCellEditable
(Object node, int column) Check if a cell of a node in one column is editable.void
setValueAt
(Object aValue, Object node, int column) Sets a value for a node in one column.Methods inherited from class edu.jiangxin.apktoolbox.swing.treetable.MyAbstractTreeTableModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged
-
Field Details
-
columnNames
-
columnTypes
-
-
Constructor Details
-
AlarmTreeTableDataModel
-
-
Method Details
-
getChild
-
getChildCount
-
getColumnCount
public int getColumnCount()Description copied from interface:MyTreeTableModel
Returns the number of available columns.- Returns:
- Number of Columns
-
getColumnName
Description copied from interface:MyTreeTableModel
Returns the column name.- Parameters:
column
- Column number- Returns:
- Column name
-
getColumnClass
Description copied from interface:MyTreeTableModel
Returns the type (class) of a column.- Parameters:
column
- Column number- Returns:
- Class
-
getValueAt
Description copied from interface:MyTreeTableModel
Returns the value of a node in a column.- Parameters:
node
- Nodecolumn
- Column number- Returns:
- Value of the node in the column
-
isCellEditable
Description copied from interface:MyTreeTableModel
Check if a cell of a node in one column is editable.- Parameters:
node
- Nodecolumn
- Column number- Returns:
- true/false
-
setValueAt
Description copied from interface:MyTreeTableModel
Sets a value for a node in one column.- Parameters:
aValue
- New valuenode
- Nodecolumn
- Column number
-