Class AgentTableFactory

java.lang.Object
repast.simphony.ui.table.AgentTableFactory

public class AgentTableFactory extends Object
Factory for creating tables of agents and their properties
Author:
Eric Tatara
  • Constructor Details

    • AgentTableFactory

      public AgentTableFactory()
  • Method Details

    • createAgentTablePanel

      public static JPanel createAgentTablePanel(Iterable agents, String tableName)
      Create an TablePanel with agent properties such that each agent is a row in the table, and each column is an agent property.
      Parameters:
      agents - the Iterable of agents to add to the table
      tableName -
      Returns:
      the table panel
    • configureSort

      protected static void configureSort(ProbePropertyTableModel model, TablePanel tablePanel)
      Configures sorting on table rows
      Parameters:
      model -
      tablePanel -