Package repast.simphony.ui.table
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 Summary
Constructors Constructor Description AgentTableFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
configureSort(ProbePropertyTableModel model, TablePanel tablePanel)
Configures sorting on table rowsstatic 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.
-
-
-
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 tabletableName
-- Returns:
- the table panel
-
configureSort
protected static void configureSort(ProbePropertyTableModel model, TablePanel tablePanel)
Configures sorting on table rows- Parameters:
model
-tablePanel
-
-
-