com.agentfactory.platform.core
Class PlatformGUI

java.lang.Object
  extended by com.agentfactory.platform.core.PlatformGUI

public abstract class PlatformGUI
extends java.lang.Object

Provide a skeleton implementation of an Agent Factory Platform Viewer. Subclasses of PlatformGUI should provide a public constructor that takes an AgentPlatform as its only parameter.


Constructor Summary
PlatformGUI()
          Creates a new PlatformGUI object.
 
Method Summary
protected  java.lang.String getParameter(int index)
          Get the parameter in position index (starts at 0)
 java.util.ArrayList getParameters()
          Get the parameters that were passed to this PlatformGUI
protected  int numParameters()
          Get the number of parameters passed to this PlatformGUI
 void setParameters(java.util.ArrayList parameters)
          Set the parameters passed to this PlatformGUI
abstract  void start()
          Startup code for any platform gui should be placed in implementations of this abstract method...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformGUI

public PlatformGUI()
Creates a new PlatformGUI object.

Method Detail

start

public abstract void start()
Startup code for any platform gui should be placed in implementations of this abstract method...


getParameters

public java.util.ArrayList getParameters()
Get the parameters that were passed to this PlatformGUI

Returns:
The parameters

setParameters

public void setParameters(java.util.ArrayList parameters)
Set the parameters passed to this PlatformGUI

Parameters:
parameters - The parameters

getParameter

protected java.lang.String getParameter(int index)
Get the parameter in position index (starts at 0)

Parameters:
index - The position of the parameter to be returned
Returns:
The parameter in position index

numParameters

protected int numParameters()
Get the number of parameters passed to this PlatformGUI

Returns:
The number of parameters!