Class JVMHealthTreeTableModel

All Implemented Interfaces:
Serializable, TreeModel, TreeTableModel

public class JVMHealthTreeTableModel extends AbstractJPPFTreeTableModel
Tree table model for the tree table.
See Also:
  • Field Details

    • URL

      public static final int URL
      Column number for the driver or node's url.
      See Also:
  • Constructor Details

    • JVMHealthTreeTableModel

      public JVMHealthTreeTableModel(TreeNode node, Locale locale)
      Initialize this model with the specified tree and locale.
      Parameters:
      node - the root of the tree.
      locale - the locale to use for translation.
  • Method Details

    • getColumnCount

      public int getColumnCount()
      Description copied from interface: TreeTableModel
      Returns the number ofs available columns.
      Returns:
      the number of columns.
    • getValueAt

      public Object getValueAt(Object node, int column)
      Description copied from interface: TreeTableModel
      Returns the value to be displayed for node node, at column number column.
      Parameters:
      node - the node for which to get the value.
      column - the column where the value is.
      Returns:
      the value for the specified node and column.
    • getBaseColumnName

      public String getBaseColumnName(int column)
      Description copied from class: AbstractJPPFTreeTableModel
      Get the non-localized name of the specified column.
      Specified by:
      getBaseColumnName in class AbstractJPPFTreeTableModel
      Parameters:
      column - the index of the column for which to get a name.
      Returns:
      the column name as a string.
    • getProperties

      public List<org.jppf.utils.configuration.JPPFProperty<?>> getProperties()
      Returns:
      the properties representing the columns definitions.
    • getColumnName

      public String getColumnName(int column)
      Description copied from interface: TreeTableModel
      Returns the name for column number column.
      Specified by:
      getColumnName in interface TreeTableModel
      Overrides:
      getColumnName in class AbstractJPPFTreeTableModel
      Parameters:
      column - the column number.
      Returns:
      the name of the column as a string.
    • getColumnTooltip

      public String getColumnTooltip(int column)
      Description copied from interface: TreeTableModel
      Returns the tooltip for column number column.
      Specified by:
      getColumnTooltip in interface TreeTableModel
      Overrides:
      getColumnTooltip in class AbstractJPPFTreeTableModel
      Parameters:
      column - the column number.
      Returns:
      the name of the column as a string.