org.ascape.view.custom
Class AgentCustomizerPanel

java.lang.Object
  extended by org.ascape.view.custom.AgentCustomizerPanel

public class AgentCustomizerPanel
extends java.lang.Object

The Class AgentCustomizerPanel.


Constructor Summary
AgentCustomizerPanel()
           
 
Method Summary
 void build()
          Build.
 Agent getAgent()
          Gets the agent.
 java.awt.Color getColor()
          Gets the color.
 javax.swing.JPanel getDetailPanel()
          Gets the detail panel.
 javax.swing.JLabel getLabel()
          Gets the label.
 Agent getLastAgent()
          Gets the last agent.
 javax.swing.JPanel getMainPanel()
          Gets the main panel.
 java.awt.Dimension getPreferredSize()
          Gets the preferred size.
 org.ascape.view.custom.AgentCustomizerPanel.PropertiesModel getProperties()
          Gets the properties.
 javax.swing.JPanel getPropertiesPanel()
          Gets the properties panel.
 javax.swing.JScrollPane getPropertiesScrollPane()
          Gets the properties scroll pane.
 javax.swing.JTable getPropertiesTable()
          Gets the properties table.
 AgentView getView()
          Gets the view.
 void onAgentChange()
          On agent change.
 void setAgent(Agent agent)
          Sets the agent.
 void setColor(java.awt.Color color)
          Sets the color.
 void setDetailPanel(javax.swing.JPanel detailPanel)
          Sets the detail panel.
 void setLabel(javax.swing.JLabel label)
          Sets the label.
 void setLastAgent(Agent lastAgent)
          Sets the last agent.
 void setMainPanel(javax.swing.JPanel mainPanel)
          Sets the main panel.
 void setProperties(org.ascape.view.custom.AgentCustomizerPanel.PropertiesModel properties)
          Sets the properties.
 void setPropertiesPanel(javax.swing.JPanel propertiesPanel)
          Sets the properties panel.
 void setPropertiesScrollPane(javax.swing.JScrollPane propertiesScrollPane)
          Sets the properties scroll pane.
 void setPropertiesTable(javax.swing.JTable propertiesTable)
          Sets the properties table.
 void setView(AgentView view)
          Sets the view.
 void updateColor()
          Update color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentCustomizerPanel

public AgentCustomizerPanel()
Method Detail

build

public void build()
Build.


onAgentChange

public void onAgentChange()
On agent change.


getPreferredSize

public java.awt.Dimension getPreferredSize()
Gets the preferred size.

Returns:
the preferred size

updateColor

public void updateColor()
Update color.


getMainPanel

public javax.swing.JPanel getMainPanel()
Gets the main panel.

Returns:
the main panel

setMainPanel

public void setMainPanel(javax.swing.JPanel mainPanel)
Sets the main panel.

Parameters:
mainPanel - the new main panel

getDetailPanel

public javax.swing.JPanel getDetailPanel()
Gets the detail panel.

Returns:
the detail panel

setDetailPanel

public void setDetailPanel(javax.swing.JPanel detailPanel)
Sets the detail panel.

Parameters:
detailPanel - the new detail panel

getProperties

public org.ascape.view.custom.AgentCustomizerPanel.PropertiesModel getProperties()
Gets the properties.

Returns:
the properties

setProperties

public void setProperties(org.ascape.view.custom.AgentCustomizerPanel.PropertiesModel properties)
Sets the properties.

Parameters:
properties - the new properties

getPropertiesTable

public javax.swing.JTable getPropertiesTable()
Gets the properties table.

Returns:
the properties table

setPropertiesTable

public void setPropertiesTable(javax.swing.JTable propertiesTable)
Sets the properties table.

Parameters:
propertiesTable - the new properties table

getPropertiesPanel

public javax.swing.JPanel getPropertiesPanel()
Gets the properties panel.

Returns:
the properties panel

setPropertiesPanel

public void setPropertiesPanel(javax.swing.JPanel propertiesPanel)
Sets the properties panel.

Parameters:
propertiesPanel - the new properties panel

getPropertiesScrollPane

public javax.swing.JScrollPane getPropertiesScrollPane()
Gets the properties scroll pane.

Returns:
the properties scroll pane

setPropertiesScrollPane

public void setPropertiesScrollPane(javax.swing.JScrollPane propertiesScrollPane)
Sets the properties scroll pane.

Parameters:
propertiesScrollPane - the new properties scroll pane

getLabel

public javax.swing.JLabel getLabel()
Gets the label.

Returns:
the label

setLabel

public void setLabel(javax.swing.JLabel label)
Sets the label.

Parameters:
label - the new label

getColor

public java.awt.Color getColor()
Gets the color.

Returns:
the color

setColor

public void setColor(java.awt.Color color)
Sets the color.

Parameters:
color - the new color

getAgent

public Agent getAgent()
Gets the agent.

Returns:
the agent

setAgent

public void setAgent(Agent agent)
Sets the agent.

Parameters:
agent - the new agent

getLastAgent

public Agent getLastAgent()
Gets the last agent.

Returns:
the last agent

setLastAgent

public void setLastAgent(Agent lastAgent)
Sets the last agent.

Parameters:
lastAgent - the new last agent

getView

public AgentView getView()
Gets the view.

Returns:
the view

setView

public void setView(AgentView view)
Sets the view.

Parameters:
view - the new view


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.