Class JavaAgent.context.SystemMessagesPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaAgent.context.SystemMessagesPanel

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

public class SystemMessagesPanel
extends InterfacePanel
Panel opened by an AgentFrame which displays SystemMessages.


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 Close
 o SystemMessages

Constructor Index

 o SystemMessagesPanel(AgentFrame)
Creates an SystemMessagesPanel for a subclass of AgentFrame.

Method Index

 o action(Event, Object)
Called when an event happens.
 o addSystemMessage(String)
Displays the message in the SystemMessages TextArea.

Variables

 o SystemMessages
  protected TextArea SystemMessages
 o Close
  protected Button Close

Constructors

 o SystemMessagesPanel
  public SystemMessagesPanel(AgentFrame frame)
Creates an SystemMessagesPanel for a subclass of AgentFrame.
Parameters:
frame - AgentFrame which created the panel

Methods

 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
 o addSystemMessage
  public void addSystemMessage(String message)
Displays the message in the SystemMessages TextArea.
Parameters:
message - The message to output.

All Packages  Class Hierarchy  This Package  Previous  Next  Index