ks.client.monitorgui
Class MonitorGUI

java.lang.Object
  |
  +--ks.client.monitorgui.MonitorGUI

public class MonitorGUI
extends java.lang.Object

Used to pop up dialog box to test Monitor code.

Since V1.6.4 this class implements IInterpretMessage to be able to use this with Core clients.

Creation date: (10/21/01 8:17:30 PM)


Field Summary
protected  IClientInterface helper
          Entity to whom we communicate our commands.
protected  java.util.Properties props
          Props used during configuration.
protected  java.util.Vector provided
          provided set of interfaces.
protected  java.util.Vector required
          required set of interfaces.
 
Constructor Summary
MonitorGUI()
          Needed for Block component.
 
Method Summary
 boolean activate()
          Nothing to do here, really.
 void closeButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
          Comment
 boolean connect(IBlock block, java.lang.String interfaceName)
           
 void customize(java.util.Hashtable properties)
           
 void deactivate()
          Nothing to do here.
 java.util.Enumeration getProvided()
          We expose ProcessCommand interface.
 java.util.Enumeration getRequired()
          We expose ProcessCommand and IOutput required interfaces.
 Command interpretCommandString(java.lang.String action, java.util.Iterator args)
          Interpret commands (if any).
 void makeVisible(java.awt.Frame parent, java.lang.String name, boolean show)
           
 boolean processMessage(Message m)
          Needed as part of IInterpretMessage.
 java.util.Enumeration propertyKeys()
           
 java.lang.String propertyValue(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

provided

protected java.util.Vector provided
provided set of interfaces.


required

protected java.util.Vector required
required set of interfaces.


props

protected java.util.Properties props
Props used during configuration.


helper

protected IClientInterface helper
Entity to whom we communicate our commands.

Constructor Detail

MonitorGUI

public MonitorGUI()
Needed for Block component.

Method Detail

closeButton_ActionPerformed

public void closeButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment


processMessage

public boolean processMessage(Message m)
Needed as part of IInterpretMessage. Although it does nothing.

Since:
v1.6.4

activate

public boolean activate()
                 throws java.lang.Exception
Nothing to do here, really.

java.lang.Exception
See Also:
edu.wpi.cs.cs509.cmi.interfaces.IBlock#activate()

connect

public boolean connect(IBlock block,
                       java.lang.String interfaceName)
                throws java.lang.Exception
java.lang.Exception

deactivate

public void deactivate()
                throws java.lang.Exception
Nothing to do here.

java.lang.Exception
See Also:
edu.wpi.cs.cs509.cmi.interfaces.IBlock#deactivate()

getProvided

public java.util.Enumeration getProvided()
We expose ProcessCommand interface.

See Also:
edu.wpi.cs.cs509.cmi.interfaces.IBlock#getProvided()

getRequired

public java.util.Enumeration getRequired()
We expose ProcessCommand and IOutput required interfaces.

See Also:
edu.wpi.cs.cs509.cmi.interfaces.IBlock#getRequired()

customize

public void customize(java.util.Hashtable properties)
               throws java.lang.Exception
java.lang.Exception

makeVisible

public void makeVisible(java.awt.Frame parent,
                        java.lang.String name,
                        boolean show)

interpretCommandString

public Command interpretCommandString(java.lang.String action,
                                      java.util.Iterator args)
Interpret commands (if any). Returns null when no commands are available.


propertyKeys

public java.util.Enumeration propertyKeys()
                                   throws java.lang.Exception
java.lang.Exception

propertyValue

public java.lang.String propertyValue(java.lang.String key)
                               throws java.lang.Exception
java.lang.Exception