Package repast.simphony.ui.table
Class AgentTableFactory
java.lang.Object
repast.simphony.ui.table.AgentTableFactory
Factory for creating tables of agents and their properties
- Author:
- Eric Tatara
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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.
-
Constructor Details
-
AgentTableFactory
public AgentTableFactory()
-
-
Method Details
-
createAgentTablePanel
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
Configures sorting on table rows- Parameters:
model
-tablePanel
-
-