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

Class RemoteService.context.AddServicePanel

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

public class AddServicePanel
extends InterfacePanel
Panel opened by a ServiceFrame which allows the user to add a Service to the group of services managed by 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 Cancel
 o ClassLabel
 o NameLabel
 o ServiceClass
 o ServiceName

Constructor Index

 o AddServicePanel(AgentFrame)
Creates an AddServicePanel for an object which implements the AgentContext Interface.

Method Index

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

Variables

 o NameLabel
  protected Label NameLabel
 o ServiceName
  protected TextField ServiceName
 o ClassLabel
  protected Label ClassLabel
 o ServiceClass
  protected TextField ServiceClass
 o AddService
  protected Button AddService
 o Cancel
  protected Button Cancel

Constructors

 o AddServicePanel
  public AddServicePanel(AgentFrame frame)
Creates an AddServicePanel for an object which implements the AgentContext Interface.
Parameters:
context - The object for which the panel is created.

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index