|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.apptrieve.agent.Screen
public class Screen
Screen holds information about a particular terminal screen or entity that can be used to render the screen, for example, in html.
Constructor Summary | |
---|---|
Screen(java.lang.String xmlText,
java.util.Map fields,
boolean messageWaiting,
boolean keyboardLocked,
boolean connectedToHost,
java.lang.String errorCode,
java.lang.String errorMessage,
java.util.List operationNames,
java.util.Map readableAttributes,
java.util.Map writeableAttributes,
java.lang.String defaultOperationName,
java.lang.String entityName)
Constructor for internal use only. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getDefaultOperationName()
Gets the Name of the default VHI operation, or null if there is none. |
java.lang.String |
getEntityName()
If the current screen is a recognized entity, this method returns the name of the entity. |
java.lang.String |
getErrorCode()
Gets the AS/400 error code, or empty string if there is no error. |
java.lang.String |
getErrorMessage()
Gets the terminal error message, or empty string if there is no error. |
java.util.Map |
getInputFields()
Get a Map of the input fields on the current screen. |
java.util.List |
getOperationNames()
Gets a List of VHI operation names if the current screen is an entity. |
java.util.Map |
getReadableAttributes()
Gets a Map of readable VHI attributes names/values. |
java.util.Map |
getWriteableAttributes()
Gets a Map of writeable VHI attributes names/values. |
java.lang.String |
getXMLText()
Creates an xml document that specifies the text, colors, fields, and field attributes of a terminal screen. |
boolean |
isConnectedToHost()
Determines whether or not the VHI server session is connected to the host. |
boolean |
isKeyboardLocked()
Determines whether or not the keyboard is locked. |
boolean |
isMessageWaiting()
Determine whether or not the AS/400 message waiting indicator is asserted. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Screen(java.lang.String xmlText, java.util.Map fields, boolean messageWaiting, boolean keyboardLocked, boolean connectedToHost, java.lang.String errorCode, java.lang.String errorMessage, java.util.List operationNames, java.util.Map readableAttributes, java.util.Map writeableAttributes, java.lang.String defaultOperationName, java.lang.String entityName)
xmlText
- xmlTextfields
- fieldsmessageWaiting
- messageWaitingkeyboardLocked
- keyboardLockedconnectedToHost
- connectedToHosterrorCode
- errorCodeerrorMessage
- errorMessageoperationNames
- operationNamesreadableAttributes
- readableAttributeswriteableAttributes
- writeableAttributesdefaultOperationName
- defaultOperationNameentityName
- entityNameMethod Detail |
---|
public java.lang.String getXMLText()
getXMLText
in interface com.wrq.rejuv.IScreen
public java.util.Map getInputFields()
getInputFields
in interface com.wrq.rejuv.IScreen
InputFieldInfo
public boolean isMessageWaiting()
isMessageWaiting
in interface com.wrq.rejuv.IScreen
public boolean isKeyboardLocked()
isKeyboardLocked
in interface com.wrq.rejuv.IScreen
public boolean isConnectedToHost()
isConnectedToHost
in interface com.wrq.rejuv.IScreen
public java.lang.String getErrorCode()
getErrorCode
in interface com.wrq.rejuv.IScreen
public java.lang.String getErrorMessage()
getErrorMessage
in interface com.wrq.rejuv.IScreen
public java.util.List getOperationNames()
getOperationNames
in interface com.wrq.rejuv.IScreen
public java.lang.String getDefaultOperationName()
getDefaultOperationName
in interface com.wrq.rejuv.IScreen
public java.util.Map getReadableAttributes()
getReadableAttributes
in interface com.wrq.rejuv.IScreen
public java.util.Map getWriteableAttributes()
getWriteableAttributes
in interface com.wrq.rejuv.IScreen
public java.lang.String getEntityName()
getEntityName
in interface com.wrq.rejuv.IScreen
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |