|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.opnav.OpenWindowData
The class that is used to display a list of objects in an open window when the request is made from a context menu or dialog.
ObjectName
Field Summary | |
static java.lang.String |
ACTIVEJBQ_LIST
The constant for displaying a list of active job queues in an open window. |
static java.lang.String |
ACTIVEJOBS_LIST
The constant for displaying a list of active jobs in an open window. |
static java.lang.String |
ALLJBQ_LIST
The constant for displaying a list of job queues in an open window. |
static java.lang.String |
ALLUSERS_LIST
The constant for displaying a list of users in an open window. |
static java.lang.String |
CASERVERS_LIST
The constant for displaying a list of Client Access servers in an open window. |
static java.lang.String |
GROUPS_LIST
The constant for displaying a list of user groups in an open window. |
static java.lang.String |
JOBS_LIST
The constant for displaying a list of jobs in an open window. |
static java.lang.String |
MESSAGES_LIST
The constant for displaying a list of messages in an open window. |
static java.lang.String |
OUTPUT_LIST
The constant for displaying a list of printer output in an open window. |
static java.lang.String |
PRINTERS_LIST
The constant for displaying a list of printers in an open window. |
static java.lang.String |
SBS_LIST
The constant for displaying a list of subsystems in an open window. |
static java.lang.String |
SERVERJOBS_LIST
The constant for displaying a list of server jobs (Java) in an open window. |
static java.lang.String |
SJOBS_LIST
The constant for displaying a list of server jobs in an open window. |
static java.lang.String |
SYSTEMVALUE_LIST
The constant for displaying a list of System Value categories in an open window. |
static java.lang.String |
TCPSERVERS_LIST
The constant for displaying a list of TCP/IP servers in an open window. |
Constructor Summary | |
OpenWindowData(java.lang.String listType,
ObjectName container)
Constructs an OpenWindowData object using the specified List type |
Method Summary | |
boolean |
displayOpenWindow()
Display the specified open window |
java.lang.String |
getListTitle()
Gets the list title |
boolean |
getObjectSupplied()
Gets the object supplied boolean |
java.lang.String[] |
getOpenWindowDisplayNames()
Gets the names of the objects to be displayed in the open window |
boolean |
getOpenWindowInfo()
Get the current open window info from the Navigator. |
ObjectName |
getSelectedObject()
Gets the selected object |
java.lang.String |
getSelectedObjectName()
Gets the selected object name |
java.lang.String |
getSelectedObjectType()
Gets the selected object type |
java.lang.String |
getSelectedSystemName()
Gets the selected object's system name |
void |
resetOpenWindowInfo()
Reset the current open window information for this list type |
void |
setListTitle(java.lang.String title)
Sets the open window title |
void |
setMCList(boolean bMC)
Sets the boolean that indicates whether the open window being displayed is for a container that resides within Management Central |
void |
setObjectName(ObjectName obj)
Sets the selected object name object |
void |
setObjectName(java.lang.String name)
Sets the selected object name |
void |
setObjectSupplied(boolean objSupplied)
Sets the boolean that indicates whether the open window information is being supplied via an ObjectType instance |
void |
setObjectType(java.lang.String type)
Sets the selected object type |
void |
setOpenWindowDisplayNames(java.lang.String[] dspNames)
Sets the desired names to be displayed in the open window |
void |
setSystemName(java.lang.String sysName)
Sets the selected object's system name |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String OUTPUT_LIST
public static final java.lang.String MESSAGES_LIST
public static final java.lang.String PRINTERS_LIST
public static final java.lang.String JOBS_LIST
public static final java.lang.String SJOBS_LIST
public static final java.lang.String TCPSERVERS_LIST
public static final java.lang.String CASERVERS_LIST
public static final java.lang.String ALLUSERS_LIST
public static final java.lang.String GROUPS_LIST
public static final java.lang.String SBS_LIST
public static final java.lang.String ALLJBQ_LIST
public static final java.lang.String ACTIVEJBQ_LIST
public static final java.lang.String ACTIVEJOBS_LIST
public static final java.lang.String SERVERJOBS_LIST
public static final java.lang.String SYSTEMVALUE_LIST
Constructor Detail |
public OpenWindowData(java.lang.String listType, ObjectName container)
listType
- type of list to be displayed (see constants above)container
- an ObjectName that identifies the container for the
list that is being openedMethod Detail |
public void setListTitle(java.lang.String title)
title
- title to be displayed in open window (not including system)public void setObjectSupplied(boolean objSupplied)
ObjectType
instanceobjSupplied
- boolean that tells whether an ObjectType object is being suppliedpublic void setMCList(boolean bMC)
bMC
- boolean that tells whether the container resides within Management Centralpublic void setObjectName(ObjectName obj) throws ObjectNameException
obj
- ObjectType object for which the open window is being requestedObjectName
public void setObjectName(java.lang.String name)
name
- object name that the open window was requested forpublic void setObjectType(java.lang.String type)
type
- object type of the item that the open window was requested forpublic void setSystemName(java.lang.String sysName)
sysName
- system name that the open window is forpublic void setOpenWindowDisplayNames(java.lang.String[] dspNames)
dspNames
- array of strings representing the names of objects to be
displayed in the open windowpublic java.lang.String getListTitle()
public boolean getObjectSupplied()
public ObjectName getSelectedObject()
public java.lang.String getSelectedObjectName()
public java.lang.String getSelectedObjectType()
public java.lang.String getSelectedSystemName()
public java.lang.String[] getOpenWindowDisplayNames()
public boolean displayOpenWindow()
public boolean getOpenWindowInfo()
true
, you can then retrieve the desired open window data by calling
the appropriate getOpenWindow...public void resetOpenWindowInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |