Class AlarmTreeTableDataModel

java.lang.Object
edu.jiangxin.apktoolbox.swing.treetable.MyAbstractTreeTableModel
edu.jiangxin.apktoolbox.android.dumpsys.alarm.AlarmTreeTableDataModel
All Implemented Interfaces:
MyTreeTableModel, TreeModel

public class AlarmTreeTableDataModel extends MyAbstractTreeTableModel
  • Field Details

    • columnNames

      protected static String[] columnNames
    • columnTypes

      protected static Class<?>[] columnTypes
  • Constructor Details

  • Method Details

    • getChild

      public Object getChild(Object parent, int index)
    • getChildCount

      public int getChildCount(Object parent)
    • getColumnCount

      public int getColumnCount()
      Description copied from interface: MyTreeTableModel
      Returns the number of available columns.
      Returns:
      Number of Columns
    • getColumnName

      public String getColumnName(int column)
      Description copied from interface: MyTreeTableModel
      Returns the column name.
      Parameters:
      column - Column number
      Returns:
      Column name
    • getColumnClass

      public Class<?> getColumnClass(int column)
      Description copied from interface: MyTreeTableModel
      Returns the type (class) of a column.
      Parameters:
      column - Column number
      Returns:
      Class
    • getValueAt

      public Object getValueAt(Object node, int column)
      Description copied from interface: MyTreeTableModel
      Returns the value of a node in a column.
      Parameters:
      node - Node
      column - Column number
      Returns:
      Value of the node in the column
    • isCellEditable

      public boolean isCellEditable(Object node, int column)
      Description copied from interface: MyTreeTableModel
      Check if a cell of a node in one column is editable.
      Parameters:
      node - Node
      column - Column number
      Returns:
      true/false
    • setValueAt

      public void setValueAt(Object aValue, Object node, int column)
      Description copied from interface: MyTreeTableModel
      Sets a value for a node in one column.
      Parameters:
      aValue - New value
      node - Node
      column - Column number