All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.manager.RunItemView

java.lang.Object
   |
   +----com.sgi.sysadm.manager.RApp
           |
           +----com.sgi.sysadm.manager.RunItemView

public class RunItemView
extends RApp
A class that will run an ItemView in a stand alone frame. This class has a main() function, so it can be started from the command line.


Variable Index

 o MISSING_CATEGORY
A resource RunItemView.Error.missingCategory is a string that is displayed if the category is not specified on the command line.
 o MISSING_ITEM
A resource RunItemView.Error.missingItem is a string that is displayed if the item is not specified on the command line.

Constructor Index

 o RunItemView(String[])
Constructor.

Method Index

 o createFrame()
 o launchApp(HostContext, RApp. RAppLaunchListener)
 o main(String[])
Launch an ItemView from the command line.
 o setArgs(Vector, ResultListener)
Parse the command line arguments.

Variables

 o MISSING_CATEGORY
 public static final String MISSING_CATEGORY
A resource RunItemView.Error.missingCategory is a string that is displayed if the category is not specified on the command line.

 o MISSING_ITEM
 public static final String MISSING_ITEM
A resource RunItemView.Error.missingItem is a string that is displayed if the item is not specified on the command line.

Constructors

 o RunItemView
 public RunItemView(String args[])
Constructor.

Methods

 o main
 public static void main(String args[])
Launch an ItemView from the command line. Additional RApp operands may be specified.

 Usage: java sysadm.ui.RunItemView  
	      category
	         The package-qualified category containing the item to view
	      item name
		 The name of the item
 

Parameters:
args - List of command line arguments.
See Also:
RApp
 o createFrame
 public RFrame createFrame()
Overrides:
createFrame in class RApp
See Also:
createFrame
 o launchApp
 protected void launchApp(HostContext hostContext,
                          RApp. RAppLaunchListener listener)
Overrides:
launchApp in class RApp
See Also:
launchApp
 o setArgs
 public void setArgs(Vector args,
                     ResultListener listener)
Parse the command line arguments.

Sets the following class fields: _category _itemName

Parameters:
args - List of command line arguments
listener - Listener to notify of success or failure.
Overrides:
setArgs in class RApp

All Packages  Class Hierarchy  This Package  Previous  Next  Index