Class AgentTableFactory


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

      • AgentTableFactory

        public AgentTableFactory()
    • Method Detail

      • 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 -