|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.hi.customizer.beans.CustomTerminal
CustomTerminal is a Bean which displays 3270, 5250, and CICS host data. CustomTerminal can also be used in conjunction with custom screen maps created using Screen Customizer. The CustomTerminal Bean also incorporates the Operator Information Area (OIA) that can be turned on or off by the oiaVisible boolean property.
CustomTerminal is sensitive to both the session type and code page and has a different behavior for the different session types and for single-byte, double-byte, and bi-directional codePages. The OIA of CustomTerminal also displays different information based on the session type and code page.
The CustomTerminal Bean has a set of public properties that can be accessed through the standard bean accessor methods. For example, CustomTerminal has a sessionType property that affects its display of host data. The sessionType property is read and write and correspondingly has a getSessionType() method and a setSessionType() method that provide access to the property.
The properties can also be initialized when the bean is constructed using a java.util.Properties object with the appropriate keyword/value pairs. In the java.util.Properties object, the keyword for properties is the same as the property name. The keyword for the sessionType property is "sessionType". The valid values are determined by the property type. The sessionType property is an enumeration for which the valid values are "1" for 3270, "2" for 5250, and "4" for CICS.
The following table lists the properties of the CustomTerminal Bean:
Property Name | Type | Default | Access |
---|---|---|---|
accessibilityEnabled | boolean | false | read/write |
autoConnect | boolean | See Session/autoConnect | read/write |
autoReconnect | boolean | See Session/autoReconnect | read/write |
CICSGWCodePage | enum* | See Session/CICSGWCodePage | read/write |
CICSServerName | String | See Session/CICSServerName | read/write |
codePage | enum* | See Session/codePage | read/write |
customDir | String | custom | read/write |
customURL | String | read/write | |
DBCSInputVisible | boolean | false | read/write |
fontName | enum* | Monospaced | read/write |
fontSize | int | 12 | read/write |
fontStyle | enum* | java.awt.Font.PLAIN | read/write |
get2PointEnabled | boolean | true | read/write |
host | String | See Session/host | read/write |
hostModeTabEnabled | boolean | false | read/write |
hotspotsEnabled | boolean | true | read/write |
hotspotsTabEnabled | boolean | false | read/write |
imageButtonStyle | enum* | CustomTerminal.STANDARD_BUTTON_STYLE | read/write |
lightPenMode | boolean | false | read/write |
lookupFile | String | lookup.xml | read/write |
LUName | String | See Session/LUName | read/write |
LUMPort | int | See Session/LUMPort | read/write |
LUMLicensing | String | See Session/LUMLicensing | read/write |
LUMServer | String | See Session/LUMServer | read/write |
mapEnabled | boolean | true | read/write |
menuButtonsEnabled | boolean | true | read/write |
menuButtonStyle | enum* | CustomTerminal.DYNAMIC_BUTTON_STYLE | read/write |
menuButtonsTabEnabled | boolean | false | read/write |
numeralShape | enum* | See Session/NumeralShape | read/write |
numericSwapEnabled | boolean | See Session/numericSwapEnabled | read/write |
OIAVisible | boolean | true | read/write |
port | int | See Session/port | read/write |
screenSize | enum* | See Session/screenSize | read/write |
serviceMgrHost | String | See Session/serviceMgrHost | read/write |
sessionID | String | See Session/sessionID | read/write |
sessionName | String | See Session/sessionName | read/write |
sessionType | enum* | See Session/sessionType | read/write |
SLPAS400Name | String | See Session/SLPAS400Name | read/write |
SLPEnabled | boolean | See Session/SLPEnabled | read/write |
SLPMaxWaitTime | int | See Session/SLPMaxWaitTime | read/write |
SLPScope | String | See Session/SLPScope | read/write |
SLPThisScopeOnly | boolean | See Session/SLPThisScopeOnly | read/write |
SOSIVisible | boolean | false | read/write |
SSL | boolean | See Session/SSL | read/write |
SSLTelnetNegotiated | boolean | See Session/SSLTelnetNegotiated | read/write |
SSLServerAuthentication | boolean | See Session/SSLServerAuthentication | read/write |
SSLCertificatePassword | String | See Session/SSLCertificatePassword | write |
SSLCertificatePrompted | boolean | See Session/SSLCertificatePrompted | read/write |
SSLCertificateProvided | boolean | See Session/SSLCertificateProvided | read/write |
SSLCertificateRemembered | boolean | See Session/SSLCertificateRemembered | read/write |
SSLCertificateURL | String | See Session/SSLCertificateURL | read/write |
symmetricSwapEnabled | boolean | See Session/SymmetricSwapEnabled | read/write |
template | String | read/write | |
textOrientation | enum* | See Session/TextOrientation | read/write |
textType | enum* | See Session/TextType | read/write |
ThaiDisplayMode | int | See Session/ThaiDisplayMode | read/write |
TNEnhanced | boolean | See Session/TNEnhanced | read/write |
validValueButtonStyle | enum* | CustomTerminal.STANDARD_BUTTON_STYLE | read/write |
webLinkButtonStyle | enum* | CustomTerminal.STANDARD_BUTTON_STYLE | read/write |
workstationID | String | See Session/workstationID | read/write |
Event Type | Fired To | Event Handler Method |
---|---|---|
SendKeyEvent - Fired when CustomTerminal receives a keystroke. CustomTerminal also acts as a concentrator for SendKeyEvents--it refires SendKeyEvents that are fired to it from any of the other Beans such as KeyRemap or KeyPad, regardless of the number of java.awt.event.KeyListeners. Contains the keystroke or function formatted as an ECLPS.SendKeys() style mnemonic keyword. | Any SendKeyListener, | sendKeys(SendKeyEvent) |
CustomEvent - Fired when CustomTerminal events need to be handled by external listeners. These include screen events, status events, and macro events. | Any CustomListener | CustomScreenEvent(CustomScreenEvent) CustomMacroEvent(CustomMacroEvent) CustomStatusEvent(CustomStatusEvent) |
KeyEvent - Standard Java awt event fired when CustomTerminal has focus and any key on the keyboard is pressed. | KeyRemap | keyPressed(java.awt.event.KeyEvent) keyReleased(java.awt.event.KeyEvent) keyTyped(java.awt.event.KeyEvent) |
PropertyChangeEvent - Fired when a property is changed. | Any PropertyChangeListener | propertyChange(PropertyChangeEvent) |
Vetoable PropertyChangeEvent - Fired when a vetoable property is changed. | Any VetoableChangeListener | vetoableChange(PropertyChangeEvent) |
Event Type | Fired From | Event Handler Method |
---|---|---|
SendKeyEvent - Contains the keystroke or function formatted as an ECLPS.SendKeys() style mnemonic keyword. CustomTerminal refires this event to its own SendKeyListeners. | KeyRemap, KeyPad | sendKeys(SendKeyEvent) |
GUIEvent - Fired from CustomTerminal when SendKeys is invoked with a GUI mnemonic, such as [cut]. | Any GUIListener | GUIEvent(GUIEvent) |
PropertyChangeEvent - Fired when a property of the source Bean is changed. Because CustomTerminal is sensitive to the sessionType and codePage properties, it can listen to Property change events of other Beans and sync its own properties to correspond to those of the source Bean. | Session | propertyChange(PropertyChangeEvent) |
Field Summary | |
static java.lang.String |
BALL_BUTTON_STYLE
|
static java.lang.String |
CUSTOM_DIR
|
static java.lang.String |
CUSTOM_URL
|
static java.lang.String |
DBCS_INPUT_VISIBLE
|
static java.lang.String |
DYNAMIC_BUTTON_STYLE
|
static java.lang.String |
FONT_NAME
|
static java.lang.String |
FONT_SIZE
|
static java.lang.String |
FONT_STYLE
|
static java.lang.String |
GET2POINT
|
static java.lang.String |
HOTSPOTS
|
static java.lang.String |
IMAGE_BUTTON_STYLE
|
static java.lang.String |
LABEL_BUTTON_STYLE
|
static java.lang.String |
LIGHTPEN
|
static java.lang.String |
LOOKUP_FILE
|
static java.lang.String |
MAP_ENABLED
|
static java.lang.String |
MENU_BUTTON_STYLE
|
static java.lang.String |
MENU_BUTTONS
|
static java.lang.String |
OIA_VISIBLE
|
static java.lang.String |
SOSI_VISIBLE
|
static java.lang.String |
STANDARD_BUTTON_STYLE
|
static java.lang.String |
TAB_HOSTMODE
|
static java.lang.String |
TAB_HOTSPOTS
|
static java.lang.String |
TAB_MENU_BUTTONS
|
static java.lang.String |
TEMPLATE
|
static java.lang.String |
VALID_VALUE_BUTTON_STYLE
|
static java.lang.String |
WEBLINK_BUTTON_STYLE
|
Constructor Summary | |
CustomTerminal()
Default Constructor |
|
CustomTerminal(java.util.Properties newProperties)
Constructor that takes a Properties object containing the initial property settings. |
Method Summary | |
void |
addCommListener(CommListener l)
See Session.addCommListener() |
void |
addCustomListener(CustomListener l)
Adds a CustomListener. |
void |
addGUIListener(GUIListener l)
See Session.addGUIListener() |
void |
addKeyListener(java.awt.event.KeyListener l)
Adds a java.awt.event.KeyListener to the Bean. |
void |
addOIAListener(OIAListener l)
See Session.addOIAListener() |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener. |
void |
addPSListener(PSListener l)
See Session.addPSListener() |
void |
addSendKeyListener(SendKeyListener l)
Adds a SendKeyListener. |
void |
addTraceListener(TraceListener l)
See Session.addTraceListener() |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a VetoableChangeListener. |
void |
copyAllToClipboard()
Copies all text to the clipboard. |
void |
copyToClipboard()
Copies the current selected text to the clipboard. |
void |
cutToClipboard()
Cuts the current selected text to the clipboard. |
static java.util.Properties |
defaults()
Returns a Properties object containing the default properties for this Bean. |
void |
dispose()
Disposes CustomTerminal and all of its resources. |
void |
doFontDecrease()
Decreases the font by one point size. |
void |
doFontIncrease()
Increases the font by one point size. |
void |
doValidValues()
Show the valid values for the current text field. |
void |
doValidValuesMenu()
|
void |
doWhatIsIt()
Show the help for the current text field. |
void |
focusLost(java.awt.event.FocusEvent e)
|
java.util.Properties |
getAllGlobalVariables()
Returns all global variables in the form of a Properties object. |
com.ibm.hi.customizer.beans.SCBall[] |
getBalls()
Returns an array of all SCBall objects on the current screen. |
com.ibm.hi.customizer.beans.SCButton[] |
getButtons()
Returns an array of all SCButton objects on the current screen. |
com.ibm.hi.customizer.beans.SCButtonVV[] |
getButtonVVs()
Returns an array of all SCButtonVV objects on the current screen. |
com.ibm.hi.customizer.beans.SCCheckbox[] |
getCheckboxes()
Returns an array of all SCCheckbox objects on the current screen. |
com.ibm.hi.customizer.beans.SCChoice[] |
getChoices()
Returns an array of all SCChoice objects on the current screen. |
java.lang.String |
getCICSGWCodePage()
See Session.getCICSGWCodePage() |
java.lang.String |
getCICSServerName()
See Session.getCICSServerName() |
java.lang.String |
getCodePage()
See Session.getCodePage() |
int |
getColumns()
Returns the number of columns represented on the screen. |
int |
getCommStatus()
See Session.getCommStatus() |
com.ibm.hi.customizer.beans.SCCustomComponent[] |
getCustomComponents()
Returns an array of all Custom Components on the current screen. |
java.lang.String |
getCustomDir()
Returns the customDir property set by setCustomDir(). |
java.lang.String |
getCustomURL()
Returns the customURL property set by setCustomURL(). |
java.lang.String |
getDeviceName()
See Session.getDeviceName() |
com.ibm.eNetwork.ECL.ECLSession |
getECLSession()
See Session.getECLSession() |
java.awt.Font |
getFont()
Returns the current CustomTerminal font. |
java.lang.String |
getFontName()
Returns the value of the fontName property. |
int |
getFontSize()
Returns the value of the fontSize property. |
int |
getFontStyle()
Returns the value of the fontStyle property. |
com.ibm.hi.customizer.beans.SCFrame[] |
getFrames()
Returns an array of all SCFrame objects on the current screen. |
java.lang.String |
getGlobalVariable(java.lang.String gvName)
Returns the global variable value mapped to the specified global variable name. |
java.lang.String |
getHost()
See Session.getHost() |
java.lang.String |
getHostBeforeIPMon()
|
com.ibm.hi.customizer.beans.SCHostList[] |
getHostLists()
Returns an array of all SCHostList objects on the current screen. |
com.ibm.hi.customizer.beans.SCImageButton[] |
getImageButtons()
Returns an array of all SCImageButton objects on the current screen. |
java.lang.String |
getImageButtonStyle()
Returns the image button style. |
com.ibm.hi.customizer.beans.SCImage[] |
getImages()
Returns an array of all SCImage objects on the current screen. |
boolean |
getIsFileMacroKey()
|
boolean |
getIsMacroKey()
|
com.ibm.hi.customizer.beans.SCLabel[] |
getLabels()
Returns an array of all SCLabel objects on the current screen. |
com.ibm.hi.customizer.beans.SCList[] |
getLists()
Returns an array of all SCList objects on the current screen. |
java.lang.String |
getLookupFile()
Returns the lookup table name. |
java.lang.String |
getLUMLicensing()
See Session.getLUMLicensing() |
int |
getLUMPort()
See Session.getLUMPort() |
java.lang.String |
getLUMServer()
See Session.getLUMServer() |
java.lang.String |
getLUName()
See Session.getLUName() |
java.lang.String |
getMenuButtonStyle()
Returns the menu button style. |
java.lang.String |
getNumeralShape()
See Session.getNumeralShape() |
int |
getPort()
See Session.getPort() |
int |
getPortBeforeIPMon()
|
java.util.Properties |
getProperties()
Get the properties for this bean. |
com.ibm.hi.customizer.beans.SCRadioButton[] |
getRadioButtons()
Returns an array of all SCRadioButton objects on the current screen. |
int |
getRows()
Returns the number of rows represented on the screen. |
java.lang.String |
getScreenID()
Returns the current screen ID. |
java.lang.String |
getScreenSize()
See Session.getScreenSize() |
java.lang.String |
getServiceMgrHost()
See Session.getServiceMgrHost() |
Session |
getSession()
Returns the Session bean associated with this Terminal |
java.lang.String |
getSessionID()
See Session.getSessionID() |
java.lang.String |
getSessionName()
See Session.getSessionName() |
java.lang.String |
getSessionType()
See Session.getSessionType() |
java.lang.String |
getSLPAS400Name()
See Session.getSLPAS400Name() |
int |
getSLPMaxWaitTime()
See Session.getSLPMaxWaitTime() |
java.lang.String |
getSLPScope()
See Session.getSLPScope() |
java.lang.String |
getSSLCertificateURL()
See Session.getSSLCertificateURL() |
java.lang.String |
getTemplate()
Returns the template property set by setTemplate(). |
com.ibm.hi.customizer.beans.SCTextfield[] |
getTextfields()
Returns an array of all SCTextfield objects on the current screen. |
java.lang.String |
getTextOrientation()
See Session.getTextOrientation() |
java.lang.String |
getTextType()
See Session.getTextType() |
int |
getThaiDisplayMode()
See Session.getThaiDisplayMode() |
java.lang.String |
getTraceName()
Returns a trace identifier for this bean. |
java.lang.String |
getValidValueButtonStyle()
Returns the valid values button style. |
java.lang.String |
getWebLinkButtonStyle()
Returns the web link button style. |
com.ibm.hi.customizer.beans.SCWebLink[] |
getWebLinks()
Returns an array of all SCWebLink objects on the current screen. |
java.lang.String |
getWorkstationID()
See Session.getWorkstationID() |
void |
GUIEvent(GUIEvent e)
Handler method for GUIEvents. |
boolean |
isAccessibilityEnabled()
Returns accessibilityEnabled state. |
boolean |
isAutoConnect()
See Session.isAutoConnect() |
boolean |
isAutoReconnect()
See Session.isAutoReconnect() |
boolean |
isCommStarted()
See Session.isCommStarted() |
boolean |
isDBCSInputVisible()
Returns the value of the DBCSInputVisible property. |
boolean |
isDeviceNameReady()
See Session.isDeviceNameReady() |
boolean |
isFontDecreaseEnabled()
Returns if the font size can be decreased. |
boolean |
isFontIncreaseEnabled()
Returns if the font size can be decreased. |
boolean |
isGet2PointEnabled()
Returns Get2PointEnabled state. |
boolean |
isHostModeTabEnabled()
Returns the host mode tab state. |
boolean |
isHotspotsEnabled()
Returns the hotspot enabled state. |
boolean |
isHotspotsTabEnabled()
Returns the hotspots tab state. |
boolean |
isLightPenMode()
Returns the value of the lightPenMode property. |
boolean |
isMapEnabled()
Get map enabled state. |
boolean |
isMenuButtonsEnabled()
Returns the menu enabled state. |
boolean |
isMenuButtonsTabEnabled()
Returns the menu button tab state. |
boolean |
isNumericSwapEnabled()
See Session.isNumericSwapEnabled() |
boolean |
isOIAVisible()
Returns the value of the OIAVisible property. |
boolean |
isSLPEnabled()
See Session.isSLPEnabled() |
boolean |
isSLPThisScopeOnly()
See Session.isSLPThisScopeOnly() |
boolean |
isSOSIVisible()
Returns the value of the SOSIVisible property. |
boolean |
isSSL()
See Session.isSSL() |
boolean |
isSSLCertificatePrompted()
See Session.isSSLCertificatePrompted() |
boolean |
isSSLCertificateProvided()
See Session.isSSLCertificateProvided() |
boolean |
isSSLCertificateRemembered()
See Session.isSSLCertificateRemembered() |
boolean |
isSSLServerAuthentication()
See Session.isSSLServerAuthentication() |
boolean |
isSSLTelnetNegotiated()
See Session.isSSLTelnetNegotiated() |
boolean |
isSymmetricSwapEnabled()
See Session.isSymmetricSwapEnabled() |
boolean |
isTemplateEnabled()
Returns the state of the template. |
boolean |
isTNEnhanced()
See Session.isTNEnhanced() |
boolean |
isWorkstationIDReady()
See Session.isWorkstationIDReady() |
java.util.Enumeration |
listCICSGWCodePages()
See Session.listCICSGWCodePages() |
java.util.Enumeration |
listCodePages()
See Session.listCodePages() |
static java.util.Enumeration |
listCodePages(java.lang.String sessionType)
See Session.listCodePages(java.lang.String) |
java.util.Enumeration |
listNumeralShapes()
See Session.listNumeralShapes() |
java.util.Enumeration |
listScreenSizes()
See Session.listScreenSizes() |
java.util.Enumeration |
listScreenSizes(java.lang.String sessionType)
See Session.listScreenSizes(java.lang.String) |
java.util.Enumeration |
listTextOrientations()
See Session.listTextOrientations() |
java.util.Enumeration |
listTextTypes()
See Session.listTextTypes() |
java.util.Enumeration |
listThaiDisplayModes()
See Session.listThaiDisplayModes() |
void |
pasteFromClipboard()
Pastes the data from the clipboard at the current cursor location. |
void |
printPreview()
Displays a preview of the current screen for printing. |
void |
printScreen()
Prints the current screen contents to the default printer. |
void |
printSetupPage()
|
void |
printSetupPage(java.util.Properties p)
|
void |
printSetupPrint()
|
void |
printSetupPrint(java.util.Properties p)
|
void |
processCustomEvent(CustomEvent e)
Method used to fire CustomEvents. |
void |
putVarsIntoComponents()
Writes global variables to all components. |
void |
refresh()
Refreshes the screen. |
void |
removeCommListener(CommListener l)
See Session.removeCommListener() |
void |
removeCustomListener(CustomListener l)
Removes a CustomListener. |
void |
removeGlobalVariable(java.lang.String gvName)
Removes the specified global variable. |
void |
removeGUIListener(GUIListener l)
See Session.removeGUIListener() |
void |
removeKeyListener(java.awt.event.KeyListener l)
Removes a java.awt.event.KeyListener from the Bean. |
void |
removeOIAListener(OIAListener l)
See Session.removeOIAListener() |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener. |
void |
removePSListener(PSListener l)
See Session.removePSListener() |
void |
removeSendKeyListener(SendKeyListener l)
Removes a SendKeyListener. |
void |
removeTraceListener(TraceListener l)
See Session.removeTraceListener() |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a VetoableChangeListener. |
void |
requestFocus()
Request focus on CustomTerminal. |
void |
saveSessionInfoBeforeIPMon()
|
void |
selectAll()
Selects the contents of the current text field or label. |
void |
sendKeys(SendKeyEvent evt)
Handler method for SendKeyEvents. |
void |
setAccessibilityEnabled(boolean enable)
Enable or disable accessibility |
void |
setAllGlobalVariables(java.util.Properties properties)
Sets all global variables using a specified Properties object. |
void |
setAutoConnect(boolean autoConnect)
See Session.setAutoConnect() |
void |
setAutoReconnect(boolean autoReconnect)
See Session.setAutoReconnect() |
void |
setCICSGWCodePage(java.lang.String codePage)
See Session.setCICSGWCodePage() |
void |
setCICSServerName(java.lang.String server)
See Session.setCICSServerName() |
void |
setCodePage(java.lang.String codePage)
See Session.setCodePage() |
void |
setCustomDir(java.lang.String dir)
Sets the customDir property. |
void |
setCustomURL(java.lang.String customURL)
Sets the customURL property. |
void |
setDBCSInputVisible(boolean showDBCSInput)
Sets the DBCSInputVisible property (3270 and 5250 DBCS sessions only). |
void |
setFont(java.awt.Font f)
Sets the CustomTerminal font. |
void |
setFontName(java.lang.String fontName)
Sets the fontName property. |
void |
setFontSize(int fontSize)
Sets the fontSize property. |
void |
setFontStyle(int fontStyle)
Sets the fontStyle property. |
void |
setGet2PointEnabled(boolean enable)
Enable or disable Get2Point macro. |
void |
setGlobalVariable(java.lang.String gvName,
java.lang.String gvValue)
Sets a specified global variable with a specified value. |
void |
setHODKeyRemap(KeyRemap hodKeyRemap)
|
void |
setHost(java.lang.String host)
See Session.setHost() |
void |
setHostModeTabEnabled(boolean enable)
Sets the Host mode tab state. |
void |
setHotspotsEnabled(boolean enable)
Enable or disable hotspots. |
void |
setHotspotsTabEnabled(boolean enable)
Sets the hotspot tab state. |
void |
setImageButtonStyle(java.lang.String style)
Set the image button style. |
void |
setInsertEnabled(boolean enable)
Set the insert enabled state. |
void |
setIsFileMacroKey(boolean isFileMacro)
|
void |
setIsMacroKey(boolean isMacro)
|
void |
setLightPenMode(boolean enable)
Sets the lightPenMode property (3270 and CICS sessions only). |
void |
setLookupFile(java.lang.String fileName)
Sets the lookup table name. |
void |
setLUMLicensing(java.lang.String servertype)
See Session.setLUMLicensing(String) |
void |
setLUMPort(int PortNumber)
See Session.setLUMPort(int) |
void |
setLUMServer(java.lang.String LumServer)
See Session.setLUMServer(String) |
void |
setLUName(java.lang.String luName)
See Session.setLUName() |
void |
setMapEnabled(boolean enable)
Turn current map on or off. |
void |
setMenuButtonsEnabled(boolean enable)
Enable or disable menu buttons. |
void |
setMenuButtonsTabEnabled(boolean enable)
Sets the menu button tab state. |
void |
setMenuButtonStyle(java.lang.String style)
Set the menu button style. |
void |
setNumeralShape(java.lang.String ns)
See Session.setNumeralShape() |
void |
setNumericSwapEnabled(boolean state)
See Session.setNumericSwapEnabled() |
void |
setOIAVisible(boolean showOIA)
Sets the OIAVisible property. |
void |
setPort(int port)
See Session.setPort() |
void |
setProperties(java.util.Properties p)
Set the properties on this bean. |
void |
setScreenSize(java.lang.String size)
See Session.setScreenSize() |
void |
setServiceMgrHost(java.lang.String ServerMgrHost)
See Session.setServiceMgrHost(String) |
void |
setSessionID(java.lang.String ID)
See Session.setSessionID() |
void |
setSessionName(java.lang.String name)
See Session.setSessionName() |
void |
setSessionType(java.lang.String type)
Set the Session type/ See Session.setSessionType(). |
void |
setSLPAS400Name(java.lang.String as400name)
See Session.setSLPAS400Name() |
void |
setSLPEnabled(boolean slp)
See Session.setSLPEnabled() |
void |
setSLPMaxWaitTime(int maxWait)
See Session.setSLPMaxWaitTime() |
void |
setSLPScope(java.lang.String scope)
See Session.setSLPScope() |
void |
setSLPThisScopeOnly(boolean thisScopeOnly)
See Session.setSLPThisScopeOnly() |
void |
setSOSIVisible(boolean showSOSI)
Sets the SOSIVisible property (3270 and 5250 DBCS sessions only). |
void |
setSSL(boolean SSL)
See Session.setSSL() |
void |
setSSLCertificatePassword(java.lang.String pw)
See Session.setSSLCertificatePassword() |
void |
setSSLCertificatePrompted(boolean prompted)
See Session.setSSLCertificatePrompted() |
void |
setSSLCertificateProvided(boolean provided)
See Session.setSSLCertificateProvided() |
void |
setSSLCertificateRemembered(boolean remembered)
See Session.setSSLCertificateRemembered() |
void |
setSSLCertificateURL(java.lang.String url)
See Session.setSSLCertificateURL() |
void |
setSSLServerAuthentication(boolean authentication)
See Session.setSSLServerAuthentication() |
void |
setSSLTelnetNegotiated(boolean tnNegotiated)
See Session.setSSLTelnetNegotiated() |
void |
setSymmetricSwapEnabled(boolean state)
See Session.setSymmetricSwapEnabled() |
void |
setTemplate(java.lang.String template)
Sets the template property. |
void |
setTextOrientation(java.lang.String to)
See Session.setTextOrientation() |
void |
setTextType(java.lang.String tt)
See Session.setTextType() |
void |
setThaiDisplayMode(int mode)
See Session.setThaiDisplayMode |
void |
setTNEnhanced(boolean enhanced)
See Session.setTNEnhanced() |
void |
setValidValueButtonStyle(java.lang.String style)
Set the valid values button style. |
void |
setWebLinkButtonStyle(java.lang.String style)
Set the Web-Link button style. |
void |
setWorkstationID(java.lang.String wsID)
See Session.setWorkstationID() |
void |
showColorRemapDialog()
Show the color remap dialog. |
void |
startCommunication()
See Session.startCommunication() |
void |
stopCommunication()
See Session.stopCommunication() |
void |
writeComponentsToVars()
Writes all components to global variables. |
Methods inherited from interface java.awt.event.FocusListener |
focusGained |
Methods inherited from interface com.ibm.eNetwork.HOD.help.HelpListener |
helpRequest |
Field Detail |
public static final java.lang.String STANDARD_BUTTON_STYLE
public static final java.lang.String DYNAMIC_BUTTON_STYLE
public static final java.lang.String LABEL_BUTTON_STYLE
public static final java.lang.String BALL_BUTTON_STYLE
public static final java.lang.String FONT_NAME
public static final java.lang.String FONT_STYLE
public static final java.lang.String FONT_SIZE
public static final java.lang.String TEMPLATE
public static final java.lang.String HOTSPOTS
public static final java.lang.String LIGHTPEN
public static final java.lang.String GET2POINT
public static final java.lang.String MENU_BUTTONS
public static final java.lang.String TAB_MENU_BUTTONS
public static final java.lang.String TAB_HOTSPOTS
public static final java.lang.String TAB_HOSTMODE
public static final java.lang.String MAP_ENABLED
public static final java.lang.String MENU_BUTTON_STYLE
public static final java.lang.String IMAGE_BUTTON_STYLE
public static final java.lang.String WEBLINK_BUTTON_STYLE
public static final java.lang.String VALID_VALUE_BUTTON_STYLE
public static final java.lang.String OIA_VISIBLE
public static final java.lang.String DBCS_INPUT_VISIBLE
public static final java.lang.String SOSI_VISIBLE
public static final java.lang.String CUSTOM_URL
public static final java.lang.String CUSTOM_DIR
public static final java.lang.String LOOKUP_FILE
Constructor Detail |
public CustomTerminal()
public CustomTerminal(java.util.Properties newProperties) throws java.beans.PropertyVetoException
p
- Properties for the Bean.java.beans.PropertyVetoException
- Thrown if an incorrect property value
is given.Method Detail |
public void setProperties(java.util.Properties p) throws java.beans.PropertyVetoException
public java.util.Properties getProperties()
public static java.util.Properties defaults()
setProperties(java.util.Properties)
public void dispose()
public void refresh()
public java.lang.String getScreenID()
public void setMapEnabled(boolean enable) throws java.beans.PropertyVetoException
public boolean isMapEnabled()
public void setGet2PointEnabled(boolean enable) throws java.beans.PropertyVetoException
isGet2PointEnabled()
public boolean isGet2PointEnabled()
setGet2PointEnabled(boolean)
public void setAccessibilityEnabled(boolean enable) throws java.beans.PropertyVetoException
isAccessibilityEnabled()
public boolean isAccessibilityEnabled()
setAccessibilityEnabled(boolean)
public void setHotspotsEnabled(boolean enable) throws java.beans.PropertyVetoException
isHotspotsEnabled()
public boolean isHotspotsEnabled()
setHotspotsEnabled(boolean)
public void setMenuButtonsEnabled(boolean enable) throws java.beans.PropertyVetoException
isMenuButtonsEnabled()
public boolean isMenuButtonsEnabled()
setMenuButtonsEnabled(boolean)
public void setMenuButtonStyle(java.lang.String style) throws java.beans.PropertyVetoException
Valid values:
getMenuButtonStyle()
public java.lang.String getMenuButtonStyle()
setMenuButtonStyle(java.lang.String)
public void setImageButtonStyle(java.lang.String style) throws java.beans.PropertyVetoException
Valid values:
getImageButtonStyle()
public java.lang.String getImageButtonStyle()
setImageButtonStyle(java.lang.String)
public void setWebLinkButtonStyle(java.lang.String style) throws java.beans.PropertyVetoException
Valid values:
getWebLinkButtonStyle()
public java.lang.String getWebLinkButtonStyle()
setWebLinkButtonStyle(java.lang.String)
public void setValidValueButtonStyle(java.lang.String style) throws java.beans.PropertyVetoException
Valid values:
getValidValueButtonStyle()
public java.lang.String getValidValueButtonStyle()
setValidValueButtonStyle(java.lang.String)
public void setHostModeTabEnabled(boolean enable) throws java.beans.PropertyVetoException
isHostModeTabEnabled()
,
setHotspotsTabEnabled(boolean)
,
setMenuButtonsTabEnabled(boolean)
public boolean isHostModeTabEnabled()
setHostModeTabEnabled(boolean)
public void setHotspotsTabEnabled(boolean enable) throws java.beans.PropertyVetoException
isHotspotsTabEnabled()
,
setHotspotsEnabled(boolean)
,
setHostModeTabEnabled(boolean)
public boolean isHotspotsTabEnabled()
isHotspotsTabEnabled()
,
setHostModeTabEnabled(boolean)
public void setMenuButtonsTabEnabled(boolean enable) throws java.beans.PropertyVetoException
isMenuButtonsTabEnabled()
,
setMenuButtonsEnabled(boolean)
,
setHostModeTabEnabled(boolean)
public boolean isMenuButtonsTabEnabled()
setMenuButtonsTabEnabled(boolean)
public void setInsertEnabled(boolean enable)
public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
removeVetoableChangeListener
public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
addVetoableChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
public void addCommListener(CommListener l)
public void addOIAListener(OIAListener l)
public void addPSListener(PSListener l)
public void addGUIListener(GUIListener l)
public void addTraceListener(TraceListener l)
public void removeTraceListener(TraceListener l)
public void removeCommListener(CommListener l)
public void removeOIAListener(OIAListener l)
public void removePSListener(PSListener l)
public void removeGUIListener(GUIListener l)
public void startCommunication()
public void stopCommunication()
public boolean isAutoConnect()
public void setAutoConnect(boolean autoConnect) throws java.beans.PropertyVetoException
public boolean isAutoReconnect()
public void setAutoReconnect(boolean autoReconnect) throws java.beans.PropertyVetoException
public java.lang.String getCICSGWCodePage()
public void setCICSGWCodePage(java.lang.String codePage) throws java.beans.PropertyVetoException
public java.util.Enumeration listCICSGWCodePages()
public java.lang.String getCICSServerName()
public void setCICSServerName(java.lang.String server) throws java.beans.PropertyVetoException
public java.lang.String getCodePage()
public void setCodePage(java.lang.String codePage) throws java.beans.PropertyVetoException
public java.util.Enumeration listCodePages()
public static java.util.Enumeration listCodePages(java.lang.String sessionType)
public boolean isCommStarted()
public boolean isDeviceNameReady()
public boolean isWorkstationIDReady()
public java.lang.String getDeviceName()
public int getCommStatus()
public java.lang.String getHost()
public void setHost(java.lang.String host) throws java.beans.PropertyVetoException
public int getPort()
public void setPort(int port) throws java.beans.PropertyVetoException
public boolean isTNEnhanced()
public void setTNEnhanced(boolean enhanced) throws java.beans.PropertyVetoException
public java.lang.String getLUName()
public void setLUName(java.lang.String luName) throws java.beans.PropertyVetoException
public java.lang.String getWorkstationID()
public void setWorkstationID(java.lang.String wsID) throws java.beans.PropertyVetoException
public java.lang.String getSessionName()
public void setSessionName(java.lang.String name) throws java.beans.PropertyVetoException
public java.lang.String getSessionID()
public void setSessionID(java.lang.String ID) throws java.beans.PropertyVetoException
public java.lang.String getScreenSize()
public void setScreenSize(java.lang.String size) throws java.beans.PropertyVetoException
public java.util.Enumeration listScreenSizes()
public java.util.Enumeration listScreenSizes(java.lang.String sessionType)
public java.lang.String getSessionType()
public void setSessionType(java.lang.String type) throws java.beans.PropertyVetoException
public boolean isSSL()
public void setSSL(boolean SSL) throws java.beans.PropertyVetoException
public boolean isSSLTelnetNegotiated()
public void setSSLTelnetNegotiated(boolean tnNegotiated) throws java.beans.PropertyVetoException
public boolean isSSLServerAuthentication()
public void setSSLServerAuthentication(boolean authentication) throws java.beans.PropertyVetoException
public boolean isSSLCertificateProvided()
public void setSSLCertificateProvided(boolean provided) throws java.beans.PropertyVetoException
public java.lang.String getSSLCertificateURL()
public void setSSLCertificateURL(java.lang.String url) throws java.beans.PropertyVetoException
public void setSSLCertificatePassword(java.lang.String pw) throws java.beans.PropertyVetoException
public boolean isSSLCertificateRemembered()
public void setSSLCertificateRemembered(boolean remembered) throws java.beans.PropertyVetoException
public void setSSLCertificatePrompted(boolean prompted) throws java.beans.PropertyVetoException
public boolean isSSLCertificatePrompted()
public void setSymmetricSwapEnabled(boolean state) throws java.beans.PropertyVetoException
public boolean isSymmetricSwapEnabled()
public void setNumericSwapEnabled(boolean state) throws java.beans.PropertyVetoException
public boolean isNumericSwapEnabled()
public void setNumeralShape(java.lang.String ns) throws java.beans.PropertyVetoException
public java.lang.String getNumeralShape()
public java.util.Enumeration listNumeralShapes()
public void setTextOrientation(java.lang.String to) throws java.beans.PropertyVetoException
public java.lang.String getTextOrientation()
public java.util.Enumeration listTextOrientations()
public void setTextType(java.lang.String tt) throws java.beans.PropertyVetoException
public java.lang.String getTextType()
public java.util.Enumeration listTextTypes()
public int getThaiDisplayMode()
public void setThaiDisplayMode(int mode) throws java.beans.PropertyVetoException
public java.util.Enumeration listThaiDisplayModes()
public boolean isSLPEnabled()
public void setSLPEnabled(boolean slp) throws java.beans.PropertyVetoException
public void setSLPAS400Name(java.lang.String as400name) throws java.beans.PropertyVetoException
public java.lang.String getSLPAS400Name()
public void setSLPScope(java.lang.String scope) throws java.beans.PropertyVetoException
public java.lang.String getSLPScope()
public boolean isSLPThisScopeOnly()
public void setSLPThisScopeOnly(boolean thisScopeOnly) throws java.beans.PropertyVetoException
public int getSLPMaxWaitTime()
public void setSLPMaxWaitTime(int maxWait) throws java.beans.PropertyVetoException
public void setOIAVisible(boolean showOIA) throws java.beans.PropertyVetoException
showOIA
- Whether the CustomTerminal shows OIA or not.java.beans.PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.isOIAVisible()
public boolean isOIAVisible()
setOIAVisible(boolean)
public void setDBCSInputVisible(boolean showDBCSInput) throws java.beans.PropertyVetoException
showDBCSInput
- Whether the Screen shows DBCS Input field or not.java.beans.PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.isDBCSInputVisible()
public boolean isDBCSInputVisible()
setDBCSInputVisible(boolean)
public void setSOSIVisible(boolean showSOSI) throws java.beans.PropertyVetoException
showSOSI
- Whether the Screen shows Shift In/Shift Out characters or not.java.beans.PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.isSOSIVisible()
public boolean isSOSIVisible()
setSOSIVisible(boolean)
public void doValidValues()
public void doWhatIsIt()
public void doValidValuesMenu()
public void setLightPenMode(boolean enable) throws java.beans.PropertyVetoException
enable
- Whether or not the CustomTerminal enables light pen support.java.beans.PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.isLightPenMode()
public boolean isLightPenMode()
setLightPenMode(boolean)
public void setTemplate(java.lang.String template) throws java.beans.PropertyVetoException
template
- Template file name.java.beans.PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.getTemplate()
public java.lang.String getTemplate()
setTemplate(java.lang.String)
public boolean isTemplateEnabled()
setTemplate(java.lang.String)
public void setCustomURL(java.lang.String customURL) throws java.beans.PropertyVetoException
CustomURL
- Custom URL.java.beans.PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.getCustomURL()
public java.lang.String getCustomURL()
setCustomURL(java.lang.String)
public void setCustomDir(java.lang.String dir) throws java.beans.PropertyVetoException
customDir
- Custom Directory name.java.beans.PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.getCustomDir()
public java.lang.String getCustomDir()
setCustomDir(java.lang.String)
public void GUIEvent(GUIEvent e)
evt
- A GUIEvent generated by the Session Bean.public void printScreen()
public void printPreview()
public void printSetupPage()
public void printSetupPage(java.util.Properties p)
public void printSetupPrint()
public void printSetupPrint(java.util.Properties p)
public java.awt.Font getFont()
setFont(java.awt.Font)
public void setFont(java.awt.Font f)
f
- The new font for CustomTerminal.getFont()
public void setFontName(java.lang.String fontName) throws java.beans.PropertyVetoException
fontName
- The new monospaced font name.java.beans.PropertyVetoException
- Thrown if the specified font name
is not a monospaced font.getFontName()
public java.lang.String getFontName()
setFontName(java.lang.String)
public void setFontSize(int fontSize) throws java.beans.PropertyVetoException
fontSize
- The new font size.java.beans.PropertyVetoException
- Thrown if the specified font size
is too large.getFontSize()
public int getFontSize()
setFontSize(int)
public void setFontStyle(int fontStyle) throws java.beans.PropertyVetoException
Valid values:
The styles can be combined for mixed styles.
fontStyle
- The new font style.java.beans.PropertyVetoException
- Thrown if the specified font style
is not valid.Terminal.listFontStyles()
,
getFontStyle()
public int getFontStyle()
setFontStyle(int)
public int getColumns()
public int getRows()
public com.ibm.hi.customizer.beans.SCCustomComponent[] getCustomComponents()
public com.ibm.hi.customizer.beans.SCBall[] getBalls()
public com.ibm.hi.customizer.beans.SCButton[] getButtons()
public com.ibm.hi.customizer.beans.SCButtonVV[] getButtonVVs()
public com.ibm.hi.customizer.beans.SCCheckbox[] getCheckboxes()
public com.ibm.hi.customizer.beans.SCChoice[] getChoices()
public com.ibm.hi.customizer.beans.SCFrame[] getFrames()
public com.ibm.hi.customizer.beans.SCHostList[] getHostLists()
public com.ibm.hi.customizer.beans.SCImage[] getImages()
public com.ibm.hi.customizer.beans.SCImageButton[] getImageButtons()
public com.ibm.hi.customizer.beans.SCLabel[] getLabels()
public com.ibm.hi.customizer.beans.SCList[] getLists()
public com.ibm.hi.customizer.beans.SCTextfield[] getTextfields()
public com.ibm.hi.customizer.beans.SCRadioButton[] getRadioButtons()
public com.ibm.hi.customizer.beans.SCWebLink[] getWebLinks()
public void selectAll()
public void copyToClipboard()
public void copyAllToClipboard()
public void cutToClipboard()
public void pasteFromClipboard()
public void sendKeys(SendKeyEvent evt)
evt
- SendKeyEvent that is refired to Screen SendKeyListeners.public void addSendKeyListener(SendKeyListener l)
removeSendKeyListener(com.ibm.eNetwork.beans.HOD.event.SendKeyListener)
,
SendKeyEvent
public void removeSendKeyListener(SendKeyListener l)
addSendKeyListener(com.ibm.eNetwork.beans.HOD.event.SendKeyListener)
,
SendKeyEvent
public void addCustomListener(CustomListener l)
l
- CustomListener that receives CustomEventsremoveCustomListener(com.ibm.hi.customizer.beans.event.CustomListener)
,
com.ibm.hi.customizer.beans.HOD.event.CustomEvent
public void removeCustomListener(CustomListener l)
l
- CustomListener that is removedaddCustomListener(com.ibm.hi.customizer.beans.event.CustomListener)
,
com.ibm.eNetwork.beans.HOD.event.CustomEvent
public void addKeyListener(java.awt.event.KeyListener l)
l
- KeyListener that receives KeyEvents.removeKeyListener(java.awt.event.KeyListener)
public void removeKeyListener(java.awt.event.KeyListener l)
l
- KeyListener that no longer receives KeyEvents.addKeyListener(java.awt.event.KeyListener)
public void requestFocus()
public java.lang.String getTraceName()
public com.ibm.eNetwork.ECL.ECLSession getECLSession()
public Session getSession()
public void setLUMPort(int PortNumber) throws java.beans.PropertyVetoException
public int getLUMPort()
public void setServiceMgrHost(java.lang.String ServerMgrHost) throws java.beans.PropertyVetoException
public java.lang.String getServiceMgrHost()
public void setLUMLicensing(java.lang.String servertype) throws java.beans.PropertyVetoException
public java.lang.String getLUMLicensing()
public void setLUMServer(java.lang.String LumServer) throws java.beans.PropertyVetoException
public java.lang.String getLUMServer()
public java.lang.String getLookupFile()
getLookupFile()
public void setLookupFile(java.lang.String fileName) throws java.beans.PropertyVetoException
getLookupFile()
public void doFontIncrease()
isFontIncreaseEnabled()
,
doFontDecrease()
public void doFontDecrease()
isFontDecreaseEnabled()
,
doFontIncrease()
public boolean isFontIncreaseEnabled()
public boolean isFontDecreaseEnabled()
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
public void showColorRemapDialog()
public void processCustomEvent(CustomEvent e)
public java.lang.String getGlobalVariable(java.lang.String gvName)
gvName
- the name of the global variable to lookup.null
if no such global variable exists.setGlobalVariable(java.lang.String, java.lang.String)
,
removeGlobalVariable(java.lang.String)
,
setAllGlobalVariables(java.util.Properties)
public void setGlobalVariable(java.lang.String gvName, java.lang.String gvValue)
gvName
- the name of the global variable to set.gvValue
- the value to set.getGlobalVariable(java.lang.String)
,
removeGlobalVariable(java.lang.String)
,
setAllGlobalVariables(java.util.Properties)
,
getAllGlobalVariables()
public void removeGlobalVariable(java.lang.String gvName)
gvName
- the global variable to remove.setGlobalVariable(java.lang.String, java.lang.String)
,
getGlobalVariable(java.lang.String)
,
setAllGlobalVariables(java.util.Properties)
,
getAllGlobalVariables()
public java.util.Properties getAllGlobalVariables()
setAllGlobalVariables(java.util.Properties)
,
setGlobalVariable(java.lang.String, java.lang.String)
,
getGlobalVariable(java.lang.String)
,
removeGlobalVariable(java.lang.String)
public void setAllGlobalVariables(java.util.Properties properties)
properties
- the Properties object specifying the
global variables.getAllGlobalVariables()
,
setGlobalVariable(java.lang.String, java.lang.String)
,
getGlobalVariable(java.lang.String)
,
removeGlobalVariable(java.lang.String)
public void writeComponentsToVars()
putVarsIntoComponents()
,
SCCustomComponent#writeGlobalVariable
,
SCCustomComponent#readGlobalVariable
public void putVarsIntoComponents()
writeComponentsToVars()
,
SCCustomComponent#writeGlobalVariable
,
SCCustomComponent#readGlobalVariable
public void saveSessionInfoBeforeIPMon()
public java.lang.String getHostBeforeIPMon()
public int getPortBeforeIPMon()
public void setHODKeyRemap(KeyRemap hodKeyRemap)
public void setIsMacroKey(boolean isMacro)
public boolean getIsMacroKey()
public void setIsFileMacroKey(boolean isFileMacro)
public boolean getIsFileMacroKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |