All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaAgent.context.ComposeMessagePanel

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

public class ComposeMessagePanel
extends InterfacePanel
Panel which allows a user to create a KQML message.


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 Cancel
 o Content
 o ContentLabel
 o ContentPanel
 o Interpreter
 o InterpreterLabel
 o Language
 o LanguageLabel
 o LoadMessage
 o m
 o Performative
 o PerformativeLabel
 o Receiver
 o ReceiverLabel
 o Sender
 o SenderLabel
 o SendMessage

Constructor Index

 o ComposeMessagePanel(AgentFrame, KQMLmessage)
Constructs a ComposeMessagePanel for a subclass of AgentFrame with the specified default KQMLmessage.

Method Index

 o action(Event, Object)
Called when an event happens in the AgentApplet.

Variables

 o ButtonPanel
 protected Panel ButtonPanel
 o ContentPanel
 protected Panel ContentPanel
 o SendMessage
 protected Button SendMessage
 o Cancel
 protected Button Cancel
 o Sender
 protected TextField Sender
 o SenderLabel
 protected Label SenderLabel
 o Receiver
 protected TextField Receiver
 o ReceiverLabel
 protected Label ReceiverLabel
 o Performative
 protected TextField Performative
 o PerformativeLabel
 protected Label PerformativeLabel
 o Language
 protected TextField Language
 o LanguageLabel
 protected Label LanguageLabel
 o Interpreter
 protected TextField Interpreter
 o InterpreterLabel
 protected Label InterpreterLabel
 o Content
 protected TextArea Content
 o ContentLabel
 protected Label ContentLabel
 o m
 protected KQMLmessage m
 o LoadMessage
 protected Button LoadMessage

Constructors

 o ComposeMessagePanel
 public ComposeMessagePanel(AgentFrame frame,
                            KQMLmessage message)
Constructs a ComposeMessagePanel for a subclass of AgentFrame with the specified default KQMLmessage.

Parameters:
frame - AgentFrame to which the panel is connected.
message - Default KQMLmessage.

Methods

 o action
 public boolean action(Event evt,
                       Object arg)
Called when an event happens in the AgentApplet. 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