Class RemoteService.context.ServiceFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class RemoteService.context.ServiceFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----JavaAgent.context.AgentFrame
                                           |
                                           +----RemoteService.context.RSFrame
                                                   |
                                                   +----RemoteService.context.ServiceFrame

public class ServiceFrame
extends RSFrame
Subclass of RSFrame which provides an interface for a ServiceAgent.


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 AddService
 o asp
 o RemoveService
 o Service

Constructor Index

 o ServiceFrame(AgentContext, String)
Constructor for an ServiceFrame.

Method Index

 o action(Event, Object)
Called when an event happens in the ServiceFrame.
 o RemoveServiceAction()
Called to remove a service.
 o terminatePanels()
Terminates all of the panels.

Variables

 o Service
  protected Menu Service
 o AddService
  protected MenuItem AddService
 o RemoveService
  protected MenuItem RemoveService
 o asp
  protected AddServicePanel asp

Constructors

 o ServiceFrame
  public ServiceFrame(AgentContext context,
                      String title)
Constructor for an ServiceFrame. Creates GUI components.
Parameters:
context - AgentContext which created this gui.
title - Title for the frame.

Methods

 o action
  public boolean action(Event evt,
                        Object arg)
Called when an event happens in the ServiceFrame. Used to take action on menu bar selections.
Parameters:
evt - The event which triggered the method call.
arg - Who called the method. For buttons, string name of button.
Overrides:
action in class RSFrame
 o terminatePanels
  protected void terminatePanels()
Terminates all of the panels.
Overrides:
terminatePanels in class RSFrame
 o RemoveServiceAction
  public void RemoveServiceAction()
Called to remove a service.
Parameters:
service_name - Name of the service.

All Packages  Class Hierarchy  This Package  Previous  Next  Index