    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.

##

ButtonPanel
Cancel
Content
ContentLabel
ContentPanel
Interpreter
InterpreterLabel
Language
LanguageLabel
LoadMessage
m
Performative
PerformativeLabel
Receiver
ReceiverLabel
Sender
SenderLabel
SendMessage

##

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

##

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

##

ButtonPanel

     protected Panel ButtonPanel

ContentPanel

     protected Panel ContentPanel

SendMessage

     protected Button SendMessage

Cancel

     protected Button Cancel

Sender

     protected TextField Sender

SenderLabel

     protected Label SenderLabel

Receiver

     protected TextField Receiver

ReceiverLabel

     protected Label ReceiverLabel

Performative

     protected TextField Performative

PerformativeLabel

     protected Label PerformativeLabel

Language

     protected TextField Language

LanguageLabel

     protected Label LanguageLabel

Interpreter

     protected TextField Interpreter

InterpreterLabel

     protected Label InterpreterLabel

Content

     protected TextArea Content

ContentLabel

     protected Label ContentLabel

m

     protected KQMLmessage m

LoadMessage

     protected Button LoadMessage

##

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.

##

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