EASE.Agents.Specification
Class AgentSpecification
java.lang.Object
|
+--EASE.Agents.Specification.AgentSpecification
- public class AgentSpecification
- extends java.lang.Object
- implements java.awt.event.ActionListener, Constants
Main class for Single Agent Specification GUI
Constructor Summary |
AgentSpecification(javax.swing.JFrame frame)
|
AgentSpecification(javax.swing.JFrame frame,
Agent previous)
Constructor for an existing agent (e.g Edit)
basically sets all components correctly. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
previous
private Agent previous
actChoose
private ActivationChooser actChoose
dialog
ShowContract dialog
config
private Configuration config
buttonP
private javax.swing.JPanel buttonP
smPanelHolder
private javax.swing.JPanel smPanelHolder
mainPanel
private javax.swing.JPanel mainPanel
- Overload the getPreferredSize code in this Panel to update preferred sizes.
basicPanel
private BasicPanel basicPanel
smPanel
private SMPanel smPanel
frame
private javax.swing.JFrame frame
okB
public javax.swing.JButton okB
cancelB
public javax.swing.JButton cancelB
deleteB
public javax.swing.JButton deleteB
gbc
java.awt.GridBagConstraints gbc
AgentSpecification
public AgentSpecification(javax.swing.JFrame frame)
AgentSpecification
public AgentSpecification(javax.swing.JFrame frame,
Agent previous)
- Constructor for an existing agent (e.g Edit)
basically sets all components correctly.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
- actionPerformed in interface java.awt.event.ActionListener
getAgent
public Agent getAgent()
- Get the agent created in this specification.
getPrevious
public Agent getPrevious()
- return the agent that was here before editing.
getPanel
public javax.swing.JPanel getPanel()
void ()
- Overrides:
- in class java.lang.Object
activationChanged
public void activationChanged()