All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaAgent.context.ViewMessagePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----JavaAgent.context.InterfacePanel
                                   |
                                   +----JavaAgent.context.ViewMessagePanel

public class ViewMessagePanel
extends InterfacePanel
Panel which allows a user to view sent and received KQMLmessages.


Copyright (c) 1995, H. Robert Frost, Stanford University. All rights reserved.

Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies, Inc. All rights reserved.

RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government is subject to restrictions as set forth in subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and in similar clauses in the FAR and NASA FAR supplement.

This software is bound by the terms and conditions listed in the attached LICENSE file.



Variable Index

 o ButtonPanel
 o Content
 o ContentLabel
 o ContentPanel
 o current_msg
 o CurrentMsg
 o CurrentMsgLabel
 o displayed_messages
 o Done
 o DownMsg
 o Interpreter
 o InterpreterLabel
 o Language
 o LanguageLabel
 o messages_in
 o messages_out
 o MessageSelect
 o Performative
 o PerformativeLabel
 o Receiver
 o ReceiverLabel
 o Sender
 o SenderLabel
 o TopPanel
 o total_msg
 o TotalMsg
 o TotalMsgLabel
 o UpMsg

Constructor Index

 o ViewMessagePanel(AgentFrame)
Creates a ViewMessagePanel for a subclass of AgentFrame.

Method Index

 o action(Event, Object)
Called when an event happens.
 o resourceChanged(String)
Called when either a message has arrived or one has been sent.

Variables

 o current_msg
 protected int current_msg
 o total_msg
 protected int total_msg
 o messages_in
 protected Vector messages_in
 o messages_out
 protected Vector messages_out
 o displayed_messages
 protected Vector displayed_messages
 o TopPanel
 protected Panel TopPanel
 o ButtonPanel
 protected Panel ButtonPanel
 o ContentPanel
 protected Panel ContentPanel
 o MessageSelect
 protected Choice MessageSelect
 o CurrentMsgLabel
 protected Label CurrentMsgLabel
 o CurrentMsg
 protected Label CurrentMsg
 o TotalMsgLabel
 protected Label TotalMsgLabel
 o TotalMsg
 protected Label TotalMsg
 o UpMsg
 protected Button UpMsg
 o DownMsg
 protected Button DownMsg
 o PerformativeLabel
 protected Label PerformativeLabel
 o Performative
 protected TextField Performative
 o SenderLabel
 protected Label SenderLabel
 o Sender
 protected TextField Sender
 o ReceiverLabel
 protected Label ReceiverLabel
 o Receiver
 protected TextField Receiver
 o LanguageLabel
 protected Label LanguageLabel
 o Language
 protected TextField Language
 o InterpreterLabel
 protected Label InterpreterLabel
 o Interpreter
 protected TextField Interpreter
 o ContentLabel
 protected Label ContentLabel
 o Content
 protected TextArea Content
 o Done
 protected Button Done

Constructors

 o ViewMessagePanel
 public ViewMessagePanel(AgentFrame frame)
Creates a ViewMessagePanel for a subclass of AgentFrame.

Parameters:
frame - AgentFrame for which the panel is created.

Methods

 o resourceChanged
 protected void resourceChanged(String type)
Called when either a message has arrived or one has been sent.

Overrides:
resourceChanged in class InterfacePanel
 o action
 public boolean action(Event evt,
                       Object arg)
Called when an event happens. Currently used to identify when buttons are pushed.

Parameters:
evt - The event which triggered the method call.
arg - Who called the method. For buttons, string name of button.
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index