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.
-
AddService
-
-
asp
-
-
RemoveService
-
-
Service
-
-
ServiceFrame(AgentContext, String)
- Constructor for an ServiceFrame.
-
action(Event, Object)
- Called when an event happens in the ServiceFrame.
-
RemoveServiceAction()
- Called to remove a service.
-
terminatePanels()
- Terminates all of the panels.
Service
protected Menu Service
AddService
protected MenuItem AddService
RemoveService
protected MenuItem RemoveService
asp
protected AddServicePanel asp
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.
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
terminatePanels
protected void terminatePanels()
- Terminates all of the panels.
- Overrides:
- terminatePanels in class RSFrame
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