public class PanelGroup
extends java.lang.Object
implements java.io.Serializable
getHelpText
method.
To generate HTML documentation from the panel groups of a given CL command,
see the CommandHelpRetriever
utility.
Constructor and Description |
---|
PanelGroup()
Constructs a PanelGroup object.
|
PanelGroup(AS400 system,
java.lang.String path)
Constructs a PanelGroup object.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener.
|
PanelGroupHelpIdentifier[] |
getHelpIdentifiers(java.lang.String[] keywords)
Returns the panel group help identifiers for the specified keywords.
|
java.lang.String |
getHelpText(java.lang.String[] keywords)
Retrieves the XML help text from the system for the specified keywords.
|
java.lang.String |
getPath()
Returns the path name for this panel group.
|
AS400 |
getSystem()
Returns the system object.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the PropertyChangeListener.
|
void |
setPath(java.lang.String path)
Sets the path name of the panel group.
|
void |
setSystem(AS400 system)
Sets the system from which to retrieve the panel group.
|
java.lang.String |
toString()
Returns a String representation for this panel group.
|
public PanelGroup()
public PanelGroup(AS400 system, java.lang.String path)
system
- The system on which the panel group resides.path
- The fully integrated file system path name of the panel group.QSYSObjectPathName
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener.public PanelGroupHelpIdentifier[] getHelpIdentifiers(java.lang.String[] keywords) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, ObjectDoesNotExistException
keywords
- An array of keywords for which to retrieve help. The panel group to which
the keywords belong is assumed to be the path of this PanelGroup object.AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.ObjectDoesNotExistException
- If the object does not exist.public java.lang.String getHelpText(java.lang.String[] keywords) throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.io.IOException, java.lang.InterruptedException, ObjectDoesNotExistException
keywords
- An array of keywords for which to retrieve help. The panel group to which
the keywords belong is assumed to be the path of this PanelGroup object.AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.io.IOException
- If an error occurs while communicating with the system.java.lang.InterruptedException
- If this thread is interrupted.ObjectDoesNotExistException
- If the object does not exist.public java.lang.String getPath()
setPath(java.lang.String)
public AS400 getSystem()
setSystem(com.ibm.as400.access.AS400)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener.public void setPath(java.lang.String path)
path
- The panel group path.getPath()
public void setSystem(AS400 system)
system
- The system from which to retrieve the panel group.getSystem()
public java.lang.String toString()
toString
in class java.lang.Object