|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.opnav.OpNavApplication
The invocation class for IBM admin console applications.
Each instance of OpNavApplication
is constructed
using configuration information specified in the Java registry.
The console window for the application may then be displayed
by calling one of the invoke() methods.
Constructor Summary | |
OpNavApplication()
|
|
OpNavApplication(java.lang.String appName)
Constructs an OpNavApplication instance for the specified
console application. |
|
OpNavApplication(java.lang.String appName,
java.lang.String systemName)
Constructs an OpNavApplication instance for the specified
console application. |
|
OpNavApplication(java.lang.String appName,
java.lang.String systemName,
java.lang.String windowName)
Constructs an OpNavApplication instance for the specified
console application. |
|
OpNavApplication(java.lang.String appName,
java.lang.String systemName,
java.lang.String windowName,
java.lang.String frameManager)
Used to create an application with no registry |
Method Summary | |
void |
addFrame(javax.swing.tree.TreePath path,
com.ibm.as400.opnav.OpNavFrame frame)
|
com.ibm.as400.opnav.OpNavFrame |
cloneFrame(int windowType,
java.lang.String rootType)
|
void |
disposeWindows()
|
com.ibm.as400.opnav.OpNavFrame |
getFrame()
|
com.ibm.as400.opnav.OpNavFrame |
getFrame(javax.swing.tree.TreePath path,
java.lang.String type)
|
boolean |
invoke()
Displays the main console window for this application. |
boolean |
invokeAndWait()
Displays the main console window for this application. |
void |
Main(java.lang.String[] args)
|
void |
removeFrame(javax.swing.tree.TreePath path)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public OpNavApplication()
public OpNavApplication(java.lang.String appName) throws OpNavConsoleException
OpNavApplication
instance for the specified
console application.
appName
- Name of the admin console application as specified
in the Java registry.public OpNavApplication(java.lang.String appName, java.lang.String systemName) throws OpNavConsoleException
OpNavApplication
instance for the specified
console application.
appName
- Name of the admin console application as specified
in the Java registry.systemName
- Name of the AS/400 system to be displayed at
the root of the console hierarchy.public OpNavApplication(java.lang.String appName, java.lang.String systemName, java.lang.String windowName, java.lang.String frameManager) throws OpNavConsoleException
public OpNavApplication(java.lang.String appName, java.lang.String systemName, java.lang.String windowName) throws OpNavConsoleException
OpNavApplication
instance for the specified
console application.
appName
- Name of the admin console application as specified
in the Java registry.systemName
- Name of the AS/400 system to be displayed at
the root of the console hierarchy.windowName
- Name of the secondary window to be launched if
this is not the application's main window.Method Detail |
public boolean invoke() throws OpNavConsoleException
true
if the console window was successfully displayed;
false
if another instance of this application
already exists and SINGLE
was specified for
the application's Instance
attribute in the
registry.invokeAndWait()
public boolean invokeAndWait() throws OpNavConsoleException
true
if the console window was successfully displayed;
false
if another instance of this application
already exists and SINGLE
was specified for
the application's Instance
attribute in the
registry. The calling program's execution does not block
if invokeAndWait
returns false
.invoke()
public void Main(java.lang.String[] args) throws com.ibm.as400.ui.framework.java.DisplayManagerException, java.lang.IllegalArgumentException, NodeNotFoundException, RegistryException
public com.ibm.as400.opnav.OpNavFrame getFrame()
public com.ibm.as400.opnav.OpNavFrame getFrame(javax.swing.tree.TreePath path, java.lang.String type)
public void addFrame(javax.swing.tree.TreePath path, com.ibm.as400.opnav.OpNavFrame frame)
public void removeFrame(javax.swing.tree.TreePath path)
public void disposeWindows()
public com.ibm.as400.opnav.OpNavFrame cloneFrame(int windowType, java.lang.String rootType) throws com.ibm.as400.ui.framework.java.DisplayManagerException, RegistryException, NodeNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |