All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.hi.customizer.beans.CustomTerminal
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.ibm.eNetwork.beans.HOD.HODPanelBean
|
+----com.ibm.eNetwork.beans.HOD.HostTerminal
|
+----com.ibm.hi.customizer.beans.CustomTerminal
- public final class CustomTerminal
- extends HostTerminal
- implements FocusListener, HelpListener
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:
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) |
VetoableChangeEvent - 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 it's 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) |
-
BALL_BUTTON_STYLE
-
-
CUSTOM_DIR
-
-
CUSTOM_URL
-
-
DBCS_INPUT_VISIBLE
-
-
DYNAMIC_BUTTON_STYLE
-
-
FONT_NAME
-
-
FONT_SIZE
-
-
FONT_STYLE
-
-
GET2POINT
-
-
HOTSPOTS
-
-
IMAGE_BUTTON_STYLE
-
-
LABEL_BUTTON_STYLE
-
-
LIGHTPEN
-
-
LOOKUP_FILE
-
-
MAP_ENABLED
-
-
MENU_BUTTON_STYLE
-
-
MENU_BUTTONS
-
-
OIA_VISIBLE
-
-
SOSI_VISIBLE
-
-
STANDARD_BUTTON_STYLE
-
-
TAB_HOSTMODE
-
-
TAB_HOTSPOTS
-
-
TAB_MENU_BUTTONS
-
-
TEMPLATE
-
-
VALID_VALUE_BUTTON_STYLE
-
-
WEBLINK_BUTTON_STYLE
-
-
CustomTerminal()
- Default Constructor
-
CustomTerminal(Properties)
- Constructor that takes a Properties object containing the initial
property settings.
-
addCommListener(CommListener)
- See
Session.addCommListener()
-
addCustomListener(CustomListener)
- Adds a CustomListener.
-
addGUIListener(GUIListener)
- See
Session.addGUIListener()
-
addKeyListener(KeyListener)
- Adds a java.awt.event.KeyListener to the Bean.
-
addOIAListener(OIAListener)
- See
Session.addOIAListener()
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a PropertyChangeListener.
-
addPSListener(PSListener)
- See
Session.addPSListener()
-
addSendKeyListener(SendKeyListener)
- Adds a SendKeyListener.
-
addTraceListener(TraceListener)
- See
Session.addTraceListener()
-
addVetoableChangeListener(VetoableChangeListener)
- Adds a VetoableChangeListener.
-
copyAllToClipboard()
- Copies all text to the clipboard.
-
copyToClipboard()
- Copies the current selected text to the clipboard.
-
cutToClipboard()
- Cuts the current selected text to the clipboard.
-
defaults()
- Returns a Properties object containing the default properties
for this Bean.
-
dispose()
- Disposes CustomTerminal and all of its resources.
-
doFontDecrease()
- Decreases the font by one point size.
-
doFontIncrease()
- Increases the font by one point size.
-
doValidValues()
- Show the valid values for the current text field.
-
doWhatIsIt()
- Show the help for the current text field.
-
getBalls()
- Returns an array of all SCBall objects on the current screen.
-
getButtons()
- Returns an array of all SCButton objects on the current screen.
-
getButtonVVs()
- Returns an array of all SCButtonVV objects on the current screen.
-
getCheckboxes()
- Returns an array of all SCCheckbox objects on the current screen.
-
getChoices()
- Returns an array of all SCChoice objects on the current screen.
-
getCICSGWCodePage()
- See
Session.getCICSGWCodePage()
-
getCICSServerName()
- See
Session.getCICSServerName()
-
getCodePage()
- See
Session.getCodePage()
-
getColumns()
- Returns the number of columns represented on the screen.
-
getCommStatus()
- See
Session.getCommStatus()
-
getCustomComponents()
- Returns an array of all Custom Components on the current screen.
-
getCustomDir()
- Returns the customDir property set by setCustomDir().
-
getCustomURL()
- Returns the customURL property set by setCustomURL().
-
getDeviceName()
- See
Session.getDeviceName()
-
getECLSession()
- See
Session.getECLSession()
-
getFont()
- Returns the current CustomTerminal font.
-
getFontName()
- Returns the value of the fontName property.
-
getFontSize()
- Returns the value of the fontSize property.
-
getFontStyle()
- Returns the value of the fontStyle property.
-
getFrames()
- Returns an array of all SCFrame objects on the current screen.
-
getHost()
- See
Session.getHost()
-
getHostLists()
- Returns an array of all SCHostList objects on the current screen.
-
getImageButtons()
- Returns an array of all SCImageButton objects on the current screen.
-
getImageButtonStyle()
- Returns the image button style.
-
getImages()
- Returns an array of all SCImage objects on the current screen.
-
getLabels()
- Returns an array of all SCLabel objects on the current screen.
-
getLists()
- Returns an array of all SCList objects on the current screen.
-
getLookupFile()
- Returns the lookup table name.
-
getLUMLicensing()
- See
Session.getLUMLicensing()
-
getLUMPort()
- See
Session.getLUMPort()
-
getLUMServer()
- See
Session.getLUMServer()
-
getLUName()
- See
Session.getLUName()
-
getMenuButtonStyle()
- Returns the menu button style.
-
getNumeralShape()
- See
Session.getNumeralShape()
-
getPort()
- See
Session.getPort()
-
getProperties()
- Get the properties for this bean.
-
getRadioButtons()
- Returns an array of all SCRadioButton objects on the current screen.
-
getRows()
- Returns the number of rows represented on the screen.
-
getScreenID()
- Returns the current screen ID.
-
getScreenSize()
- See
Session.getScreenSize()
-
getServiceMgrHost()
- See
Session.getServiceMgrHost()
-
getSession()
- Returns the Session bean associated with this Terminal
-
getSessionID()
- See
Session.getSessionID()
-
getSessionName()
- See
Session.getSessionName()
-
getSessionType()
- See
Session.getSessionType()
-
getSLPAS400Name()
- See
Session.getSLPAS400Name()
-
getSLPMaxWaitTime()
- See
Session.getSLPMaxWaitTime()
-
getSLPScope()
- See
Session.getSLPScope()
-
getSSLCertificateURL()
- See
Session.getSSLCertificateURL()
-
getTemplate()
- Returns the template property set by setTemplate().
-
getTextfields()
- Returns an array of all SCTextfield objects on the current screen.
-
getTextOrientation()
- See
Session.getTextOrientation()
-
getTextType()
- See
Session.getTextType()
-
getThaiDisplayMode()
- See
Session.getThaiDisplayMode()
-
getTraceName()
- Returns a trace identifier for this bean.
-
getValidValueButtonStyle()
- Returns the valid values button style.
-
getWebLinkButtonStyle()
- Returns the web link button style.
-
getWebLinks()
- Returns an array of all SCWebLink objects on the current screen.
-
getWorkstationID()
- See
Session.getWorkstationID()
-
GUIEvent(GUIEvent)
- Handler method for GUIEvents.
-
isAccessibilityEnabled()
- Returns accessibilityEnabled state.
-
isAutoConnect()
- See
Session.isAutoConnect()
-
isAutoReconnect()
- See
Session.isAutoReconnect()
-
isCommStarted()
- See
Session.isCommStarted()
-
isDBCSInputVisible()
- Returns the value of the DBCSInputVisible property.
-
isDeviceNameReady()
- See
Session.isDeviceNameReady()
-
isFontDecreaseEnabled()
- Returns if the font size can be decreased.
-
isFontIncreaseEnabled()
- Returns if the font size can be decreased.
-
isGet2PointEnabled()
- Returns Get2PointEnabled state.
-
isHostModeTabEnabled()
- Returns the host mode tab state.
-
isHotspotsEnabled()
- Returns the hotspot enabled state.
-
isHotspotsTabEnabled()
- Returns the hotspots tab state.
-
isLightPenMode()
- Returns the value of the lightPenMode property.
-
isMapEnabled()
- Get map enabled state.
-
isMenuButtonsEnabled()
- Returns the menu enabled state.
-
isMenuButtonsTabEnabled()
- Returns the menu button tab state.
-
isNumericSwapEnabled()
- See
Session.isNumericSwapEnabled()
-
isOIAVisible()
- Returns the value of the OIAVisible property.
-
isSLPEnabled()
- See
Session.isSLPEnabled()
-
isSLPThisScopeOnly()
- See
Session.isSLPThisScoeOnly()
-
isSOSIVisible()
- Returns the value of the SOSIVisible property.
-
isSSL()
- See
Session.isSSL()
-
isSSLCertificatePrompted()
- See
Session.isSSLCertificatePrompted()
-
isSSLCertificateProvided()
- See
Session.isSSLCertificateProvided()
-
isSSLCertificateRemembered()
- See
Session.isSSLCertificateRemembered()
-
isSSLServerAuthentication()
- See
Session.isSSLServerAuthentication()
-
isSSLTelnetNegotiated()
- See
Session.isSSLTelnetNegotiated()
-
isSymmetricSwapEnabled()
- See
Session.isSymmetricSwapEnabled()
-
isTemplateEnabled()
- Returns the state of the template.
-
isTNEnhanced()
- See
Session.isTNEnhanced()
-
isWorkstationIDReady()
- See
Session.isWorkstationIDReady()
-
listCICSGWCodePages()
- See
Session.listCICSGWCodePages()
-
listCodePages()
- See
Session.listCodePages()
-
listCodePages(String)
- See
Session.listCodePages(java.lang.String)
-
listNumeralShapes()
- See
Session.listNumeralShapes()
-
listScreenSizes()
- See
Session.listScreenSizes()
-
listScreenSizes(String)
- See
Session.listScreenSizes(java.lang.String)
-
listTextOrientations()
- See
Session.listTextOrientations()
-
listTextTypes()
- See
Session.listTextTypes()
-
listThaiDisplayModes()
- See
Session.listThaiDisplayModes()
-
pasteFromClipboard()
- Pastes the data from the clipboard at the current cursor location.
-
printPreview()
- Displays a preview of the current screen for printing.
-
printScreen()
- Prints the current screen contents to the default printer.
-
processCustomEvent(CustomEvent)
- Method used to fire CustomEvents.
-
refresh()
- Refreshes the screen.
-
removeCommListener(CommListener)
- See
Session.removeCommListener()
-
removeCustomListener(CustomListener)
- Removes a CustomListener.
-
removeGUIListener(GUIListener)
- See
Session.removeGUIListener()
-
removeKeyListener(KeyListener)
- Removes a java.awt.event.KeyListener from the Bean.
-
removeOIAListener(OIAListener)
- See
Session.removeOIAListener()
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a PropertyChangeListener.
-
removePSListener(PSListener)
- See
Session.removePSListener()
-
removeSendKeyListener(SendKeyListener)
- Removes a SendKeyListener.
-
removeTraceListener(TraceListener)
- See
Session.removeTraceListener()
-
removeVetoableChangeListener(VetoableChangeListener)
- Removes a VetoableChangeListener.
-
requestFocus()
- Request focus on CustomTerminal.
-
selectAll()
- Selects the contents of the current text field or label.
-
sendKeys(SendKeyEvent)
- Handler method for SendKeyEvents.
-
setAccessibilityEnabled(boolean)
- Enable or disable accessibility
-
setAutoConnect(boolean)
- See
Session.setAutoConnect()
-
setAutoReconnect(boolean)
- See
Session.setAutoReconnect()
-
setCICSGWCodePage(String)
- See
Session.setCICSGWCodePage()
-
setCICSServerName(String)
- See
Session.setCICSServerName()
-
setCodePage(String)
- See
Session.setCodePage()
-
setCustomDir(String)
- Sets the customDir property.
-
setCustomURL(String)
- Sets the customURL property.
-
setDBCSInputVisible(boolean)
- Sets the DBCSinputVisible property (3270 and 5250 DBCS sessions only).
-
setFont(Font)
- Sets the CustomTerminal font.
-
setFontName(String)
- Sets the fontName property.
-
setFontSize(int)
- Sets the fontSize property.
-
setFontStyle(int)
- Sets the fontStyle property.
-
setGet2PointEnabled(boolean)
- Enable or disable Get2Point macro.
-
setHost(String)
- See
Session.setHost()
-
setHostModeTabEnabled(boolean)
- Sets the Host mode tab state.
-
setHotspotsEnabled(boolean)
- Enable or disable hotspots.
-
setHotspotsTabEnabled(boolean)
- Sets the hotspot tab state.
-
setImageButtonStyle(String)
- Set the image button style.
-
setInsertEnabled(boolean)
- Set the insert enabled state.
-
setLightPenMode(boolean)
- Sets the lightPenMode property (3270 and CICS sessions only).
-
setLookupFile(String)
- Sets the lookup table name.
-
setLUMLicensing(String)
- See
Session.setLUMLicensing(String)
-
setLUMPort(int)
- See
Session.setLUMPort(int)
-
setLUMServer(String)
- See
Session.setLUMServer(String)
-
setLUName(String)
- See
Session.setLUName()
-
setMapEnabled(boolean)
- Turn currend map on or off.
-
setMenuButtonsEnabled(boolean)
- Enable or disable menu buttons.
-
setMenuButtonsTabEnabled(boolean)
- Sets the menu button tab state.
-
setMenuButtonStyle(String)
- Set the menu button style.
-
setNumeralShape(String)
- See
Session.setNumeralShape()
-
setNumericSwapEnabled(boolean)
- See
Session.setNumericSwapEnabled()
-
setOIAVisible(boolean)
- Sets the OIAVisible property.
-
setPort(int)
- See
Session.setPort()
-
setProperties(Properties)
- Set the properties on this bean.
-
setScreenSize(String)
- See
Session.setScreenSize()
-
setServiceMgrHost(String)
- See
Session.setServiceMgrHost(String)
-
setSessionID(String)
- See
Session.setSessionID()
-
setSessionName(String)
- See
Session.setSessionName()
-
setSessionType(String)
- Set the Session type.
-
setSLPAS400Name(String)
- See
Session.setSLPAS400Name()
-
setSLPEnabled(boolean)
- See
Session.setSLPEnabled()
-
setSLPMaxWaitTime(int)
- See
Session.setSLPMaxWaitTime()
-
setSLPScope(String)
- See
Session.setSLPScope()
-
setSLPThisScopeOnly(boolean)
- See
Session.setSLPThisScopeOnly()
-
setSOSIVisible(boolean)
- Sets the SOSIVisible property (3270 and 5250 DBCS sessions only).
-
setSSL(boolean)
- See
Session.setSSL()
-
setSSLCertificatePassword(String)
- See
Session.setSSLCertificatePassword()
-
setSSLCertificatePrompted(boolean)
- See
Session.setSSLCertificatePrompted()
-
setSSLCertificateProvided(boolean)
- See
Session.setSSLCertificateProvided()
-
setSSLCertificateRemembered(boolean)
- See
Session.setSSLCertificateRemembered()
-
setSSLCertificateURL(String)
- See
Session.setSSLCertificateURL()
-
setSSLServerAuthentication(boolean)
- See
Session.setSSLServerAuthentication()
-
setSSLTelnetNegotiated(boolean)
- See
Session.setSSLTelnetNegotiated()
-
setSymmetricSwapEnabled(boolean)
- See
Session.setSymmetricSwapEnabled()
-
setTemplate(String)
- Sets the template property.
-
setTextOrientation(String)
- See
Session.setTextOrientation()
-
setTextType(String)
- See
Session.setTextType()
-
setThaiDisplayMode(int)
- See
Session.setThaiDisplayMode
-
setTNEnhanced(boolean)
- See
Session.setTNEnhanced()
-
setValidValueButtonStyle(String)
- Set the valid values button style.
-
setWebLinkButtonStyle(String)
- Set the Web-Link button style.
-
setWorkstationID(String)
- See
Session.setWorkstationID()
-
showColorRemapDialog()
- Show the color remap dialog.
-
startCommunication()
- See
Session.startCommunication()
-
stopCommunication()
- See
Session.stopCommunication()
STANDARD_BUTTON_STYLE
public static final String STANDARD_BUTTON_STYLE
DYNAMIC_BUTTON_STYLE
public static final String DYNAMIC_BUTTON_STYLE
LABEL_BUTTON_STYLE
public static final String LABEL_BUTTON_STYLE
BALL_BUTTON_STYLE
public static final String BALL_BUTTON_STYLE
FONT_NAME
public static final String FONT_NAME
FONT_STYLE
public static final String FONT_STYLE
FONT_SIZE
public static final String FONT_SIZE
TEMPLATE
public static final String TEMPLATE
HOTSPOTS
public static final String HOTSPOTS
LIGHTPEN
public static final String LIGHTPEN
GET2POINT
public static final String GET2POINT
MENU_BUTTONS
public static final String MENU_BUTTONS
TAB_MENU_BUTTONS
public static final String TAB_MENU_BUTTONS
TAB_HOTSPOTS
public static final String TAB_HOTSPOTS
TAB_HOSTMODE
public static final String TAB_HOSTMODE
MAP_ENABLED
public static final String MAP_ENABLED
MENU_BUTTON_STYLE
public static final String MENU_BUTTON_STYLE
IMAGE_BUTTON_STYLE
public static final String IMAGE_BUTTON_STYLE
WEBLINK_BUTTON_STYLE
public static final String WEBLINK_BUTTON_STYLE
VALID_VALUE_BUTTON_STYLE
public static final String VALID_VALUE_BUTTON_STYLE
OIA_VISIBLE
public static final String OIA_VISIBLE
DBCS_INPUT_VISIBLE
public static final String DBCS_INPUT_VISIBLE
SOSI_VISIBLE
public static final String SOSI_VISIBLE
CUSTOM_URL
public static final String CUSTOM_URL
CUSTOM_DIR
public static final String CUSTOM_DIR
LOOKUP_FILE
public static final String LOOKUP_FILE
CustomTerminal
public CustomTerminal()
- Default Constructor
CustomTerminal
public CustomTerminal(Properties newProperties) throws PropertyVetoException
- Constructor that takes a Properties object containing the initial
property settings. Any properties which are not specified in the
Properties object are initialized to their default values.
- Parameters:
- p - Properties for the Bean.
- Throws: PropertyVetoException
- Thrown if an incorrect property value
is given.
setProperties
public void setProperties(Properties p) throws PropertyVetoException
- Set the properties on this bean.
- Overrides:
- setProperties in class HODPanelBean
getProperties
public Properties getProperties()
- Get the properties for this bean.
- Overrides:
- getProperties in class HODPanelBean
defaults
public static Properties defaults()
- Returns a Properties object containing the default properties
for this Bean.
- See Also:
- setProperties
dispose
public void dispose()
- Disposes CustomTerminal and all of its resources. This method should be
called when the CustomTerminal instance is no longer needed.
- Overrides:
- dispose in class HODPanelBean
refresh
public void refresh()
- Refreshes the screen.
getScreenID
public String getScreenID()
- Returns the current screen ID. If no ID exists, then null is returned.
setMapEnabled
public void setMapEnabled(boolean enable) throws PropertyVetoException
- Turn currend map on or off.
isMapEnabled
public boolean isMapEnabled()
- Get map enabled state.
setGet2PointEnabled
public void setGet2PointEnabled(boolean enable) throws PropertyVetoException
- Enable or disable Get2Point macro.
- See Also:
- isGet2PointEnabled
isGet2PointEnabled
public boolean isGet2PointEnabled()
- Returns Get2PointEnabled state.
- See Also:
- setGet2PointEnabled
setAccessibilityEnabled
public void setAccessibilityEnabled(boolean enable) throws PropertyVetoException
- Enable or disable accessibility
- See Also:
- isaccessibilityEnabled
isAccessibilityEnabled
public boolean isAccessibilityEnabled()
- Returns accessibilityEnabled state.
- See Also:
- setAccessibilityEnabled
setHotspotsEnabled
public void setHotspotsEnabled(boolean enable) throws PropertyVetoException
- Enable or disable hotspots.
- See Also:
- isHotspotsEnabled
isHotspotsEnabled
public boolean isHotspotsEnabled()
- Returns the hotspot enabled state.
- See Also:
- setHotspotsEnabled
setMenuButtonsEnabled
public void setMenuButtonsEnabled(boolean enable) throws PropertyVetoException
- Enable or disable menu buttons.
- See Also:
- isMenuButtonsEnabled
isMenuButtonsEnabled
public boolean isMenuButtonsEnabled()
- Returns the menu enabled state.
- See Also:
- setMenuButtonsEnabled
setMenuButtonStyle
public void setMenuButtonStyle(String style) throws PropertyVetoException
- Set the menu button style.
Valid values:
- com.ibm.hi.customizer.beans.CustomTerminal.STANDARD_BUTTON_STYLE
- com.ibm.hi.customizer.beans.CustomTerminal.DYNAMIC_BUTTON_STYLE
- com.ibm.hi.customizer.beans.CustomTerminal.BALL_BUTTON_STYLE
- See Also:
- getMenuButtonStyle
getMenuButtonStyle
public String getMenuButtonStyle()
- Returns the menu button style.
- See Also:
- setMenuButtonStyle
setImageButtonStyle
public void setImageButtonStyle(String style) throws PropertyVetoException
- Set the image button style.
Valid values:
- com.ibm.hi.customizer.beans.CustomTerminal.STANDARD_BUTTON_STYLE
- com.ibm.hi.customizer.beans.CustomTerminal.DYNAMIC_BUTTON_STYLE
- See Also:
- getImageButtonStyle
getImageButtonStyle
public String getImageButtonStyle()
- Returns the image button style.
- See Also:
- setImageButtonStyle
setWebLinkButtonStyle
public void setWebLinkButtonStyle(String style) throws PropertyVetoException
- Set the Web-Link button style.
Valid values:
- com.ibm.hi.customizer.beans.CustomTerminal.STANDARD_BUTTON_STYLE
- com.ibm.hi.customizer.beans.CustomTerminal.DYNAMIC_BUTTON_STYLE
- com.ibm.hi.customizer.beans.CustomTerminal.LABEL_BUTTON_STYLE
- See Also:
- getWebLinkButtonStyle
getWebLinkButtonStyle
public String getWebLinkButtonStyle()
- Returns the web link button style.
- See Also:
- setWebLinkButtonStyle
setValidValueButtonStyle
public void setValidValueButtonStyle(String style) throws PropertyVetoException
- Set the valid values button style.
Valid values:
- com.ibm.hi.customizer.beans.CustomTerminal.STANDARD_BUTTON_STYLE
- com.ibm.hi.customizer.beans.CustomTerminal.DYNAMIC_BUTTON_STYLE
- See Also:
- getValidValueButtonStyle
getValidValueButtonStyle
public String getValidValueButtonStyle()
- Returns the valid values button style.
- See Also:
- setValidValueButtonStyle
setHostModeTabEnabled
public void setHostModeTabEnabled(boolean enable) throws PropertyVetoException
- Sets the Host mode tab state. If enabled, you can only tab to the
host created input fields and the tab order is defined by the host. If
disabled, you can tab to each custom object that is tabbable and tabbing
is defined by the screen map.
- See Also:
- isHostModeTabEnabled, setHotspotsTabEnabled, setMenuButtonsTabEnabled
isHostModeTabEnabled
public boolean isHostModeTabEnabled()
- Returns the host mode tab state.
- See Also:
- setHostModeTabEnabled
setHotspotsTabEnabled
public void setHotspotsTabEnabled(boolean enable) throws PropertyVetoException
- Sets the hotspot tab state. If hotspots are enabled and this setting
is true, then you can tab to hotspots. Note: This is only valid if
host mode tab is disabled.
- See Also:
- isHotspotsTabEnabled, setHostspotsEnabled, setHostModeTabEnabled
isHotspotsTabEnabled
public boolean isHotspotsTabEnabled()
- Returns the hotspots tab state.
- See Also:
- isHotspotsTabEnabled, setHostModeTabEnabled
setMenuButtonsTabEnabled
public void setMenuButtonsTabEnabled(boolean enable) throws PropertyVetoException
- Sets the menu button tab state. If menu buttons are enabled and this
setting is true, then you can tab to menu buttons. Note: This is only
valid if host mode tab is disabled.
- See Also:
- isMenuButtonsTabEnabled, setMenuButtonsEnabled, setHostModeTabEnabled
isMenuButtonsTabEnabled
public boolean isMenuButtonsTabEnabled()
- Returns the menu button tab state.
- See Also:
- setMenuButtonsTabEnabled
setInsertEnabled
public void setInsertEnabled(boolean enable)
- Set the insert enabled state.
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)
- Adds a VetoableChangeListener. VetoableChangeEvents are fired
to VetoableChangeListeners before any of Terminal's properties are
changed. The VetoableChangeListeners can veto a property change by
throwing a PropertyVetoException.
- Overrides:
- addVetoableChangeListener in class HODPanelBean
- See Also:
- removeVetoableChangeListener
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)
- Removes a VetoableChangeListener.
- Overrides:
- removeVetoableChangeListener in class HODPanelBean
- See Also:
- addVetoableChangeListener
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Adds a PropertyChangeListener. PropertyChangeEvents are fired
to PropertyChangeListeners after any of Terminal's properties are
changed.
- Overrides:
- addPropertyChangeListener in class HODPanelBean
- See Also:
- removePropertyChangeListener
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Removes a PropertyChangeListener.
- Overrides:
- removePropertyChangeListener in class HODPanelBean
- See Also:
- addPropertyChangeListener
addCommListener
public void addCommListener(CommListener l)
- See
Session.addCommListener()
- Overrides:
- addCommListener in class HostTerminal
addOIAListener
public void addOIAListener(OIAListener l)
- See
Session.addOIAListener()
- Overrides:
- addOIAListener in class HostTerminal
addPSListener
public void addPSListener(PSListener l)
- See
Session.addPSListener()
addGUIListener
public void addGUIListener(GUIListener l)
- See
Session.addGUIListener()
- Overrides:
- addGUIListener in class HostTerminal
addTraceListener
public void addTraceListener(TraceListener l)
- See
Session.addTraceListener()
- Overrides:
- addTraceListener in class HODPanelBean
removeTraceListener
public void removeTraceListener(TraceListener l)
- See
Session.removeTraceListener()
- Overrides:
- removeTraceListener in class HODPanelBean
removeCommListener
public void removeCommListener(CommListener l)
- See
Session.removeCommListener()
- Overrides:
- removeCommListener in class HostTerminal
removeOIAListener
public void removeOIAListener(OIAListener l)
- See
Session.removeOIAListener()
- Overrides:
- removeOIAListener in class HostTerminal
removePSListener
public void removePSListener(PSListener l)
- See
Session.removePSListener()
removeGUIListener
public void removeGUIListener(GUIListener l)
- See
Session.removeGUIListener()
- Overrides:
- removeGUIListener in class HostTerminal
startCommunication
public void startCommunication()
- See
Session.startCommunication()
- Overrides:
- startCommunication in class HostTerminal
stopCommunication
public void stopCommunication()
- See
Session.stopCommunication()
- Overrides:
- stopCommunication in class HostTerminal
isAutoConnect
public boolean isAutoConnect()
- See
Session.isAutoConnect()
- Overrides:
- isAutoConnect in class HostTerminal
setAutoConnect
public void setAutoConnect(boolean autoConnect) throws PropertyVetoException
- See
Session.setAutoConnect()
- Overrides:
- setAutoConnect in class HostTerminal
isAutoReconnect
public boolean isAutoReconnect()
- See
Session.isAutoReconnect()
setAutoReconnect
public void setAutoReconnect(boolean autoReconnect) throws PropertyVetoException
- See
Session.setAutoReconnect()
getCICSGWCodePage
public String getCICSGWCodePage()
- See
Session.getCICSGWCodePage()
setCICSGWCodePage
public void setCICSGWCodePage(String codePage) throws PropertyVetoException
- See
Session.setCICSGWCodePage()
listCICSGWCodePages
public Enumeration listCICSGWCodePages()
- See
Session.listCICSGWCodePages()
getCICSServerName
public String getCICSServerName()
- See
Session.getCICSServerName()
setCICSServerName
public void setCICSServerName(String server) throws PropertyVetoException
- See
Session.setCICSServerName()
getCodePage
public String getCodePage()
- See
Session.getCodePage()
- Overrides:
- getCodePage in class HostTerminal
setCodePage
public void setCodePage(String codePage) throws PropertyVetoException
- See
Session.setCodePage()
- Overrides:
- setCodePage in class HostTerminal
listCodePages
public Enumeration listCodePages()
- See
Session.listCodePages()
listCodePages
public static Enumeration listCodePages(String sessionType)
- See
Session.listCodePages(java.lang.String)
isCommStarted
public boolean isCommStarted()
- See
Session.isCommStarted()
- Overrides:
- isCommStarted in class HostTerminal
isDeviceNameReady
public boolean isDeviceNameReady()
- See
Session.isDeviceNameReady()
- Overrides:
- isDeviceNameReady in class HostTerminal
isWorkstationIDReady
public boolean isWorkstationIDReady()
- See
Session.isWorkstationIDReady()
- Overrides:
- isWorkstationIDReady in class HostTerminal
getDeviceName
public String getDeviceName()
- See
Session.getDeviceName()
- Overrides:
- getDeviceName in class HostTerminal
getCommStatus
public int getCommStatus()
- See
Session.getCommStatus()
- Overrides:
- getCommStatus in class HostTerminal
getHost
public String getHost()
- See
Session.getHost()
- Overrides:
- getHost in class HostTerminal
setHost
public void setHost(String host) throws PropertyVetoException
- See
Session.setHost()
- Overrides:
- setHost in class HostTerminal
getPort
public int getPort()
- See
Session.getPort()
- Overrides:
- getPort in class HostTerminal
setPort
public void setPort(int port) throws PropertyVetoException
- See
Session.setPort()
- Overrides:
- setPort in class HostTerminal
isTNEnhanced
public boolean isTNEnhanced()
- See
Session.isTNEnhanced()
setTNEnhanced
public void setTNEnhanced(boolean enhanced) throws PropertyVetoException
- See
Session.setTNEnhanced()
getLUName
public String getLUName()
- See
Session.getLUName()
setLUName
public void setLUName(String luName) throws PropertyVetoException
- See
Session.setLUName()
getWorkstationID
public String getWorkstationID()
- See
Session.getWorkstationID()
- Overrides:
- getWorkstationID in class HostTerminal
setWorkstationID
public void setWorkstationID(String wsID) throws PropertyVetoException
- See
Session.setWorkstationID()
getSessionName
public String getSessionName()
- See
Session.getSessionName()
- Overrides:
- getSessionName in class HostTerminal
setSessionName
public void setSessionName(String name) throws PropertyVetoException
- See
Session.setSessionName()
- Overrides:
- setSessionName in class HostTerminal
getSessionID
public String getSessionID()
- See
Session.getSessionID()
- Overrides:
- getSessionID in class HostTerminal
setSessionID
public void setSessionID(String ID) throws PropertyVetoException
- See
Session.setSessionID()
- Overrides:
- setSessionID in class HostTerminal
getScreenSize
public String getScreenSize()
- See
Session.getScreenSize()
setScreenSize
public void setScreenSize(String size) throws PropertyVetoException
- See
Session.setScreenSize()
listScreenSizes
public Enumeration listScreenSizes()
- See
Session.listScreenSizes()
listScreenSizes
public Enumeration listScreenSizes(String sessionType)
- See
Session.listScreenSizes(java.lang.String)
getSessionType
public String getSessionType()
- See
Session.getSessionType()
- Overrides:
- getSessionType in class HostTerminal
setSessionType
public void setSessionType(String type) throws PropertyVetoException
- Set the Session type. See
Session.setSessionType(). Note that CustomTerminal does not
support VT sessions.
- Overrides:
- setSessionType in class HostTerminal
isSSL
public boolean isSSL()
- See
Session.isSSL()
setSSL
public void setSSL(boolean SSL) throws PropertyVetoException
- See
Session.setSSL()
isSSLTelnetNegotiated
public boolean isSSLTelnetNegotiated()
- See
Session.isSSLTelnetNegotiated()
setSSLTelnetNegotiated
public void setSSLTelnetNegotiated(boolean tnNegotiated) throws PropertyVetoException
- See
Session.setSSLTelnetNegotiated()
isSSLServerAuthentication
public boolean isSSLServerAuthentication()
- See
Session.isSSLServerAuthentication()
setSSLServerAuthentication
public void setSSLServerAuthentication(boolean authentication) throws PropertyVetoException
- See
Session.setSSLServerAuthentication()
isSSLCertificateProvided
public boolean isSSLCertificateProvided()
- See
Session.isSSLCertificateProvided()
setSSLCertificateProvided
public void setSSLCertificateProvided(boolean provided) throws PropertyVetoException
- See
Session.setSSLCertificateProvided()
getSSLCertificateURL
public String getSSLCertificateURL()
- See
Session.getSSLCertificateURL()
setSSLCertificateURL
public void setSSLCertificateURL(String url) throws PropertyVetoException
- See
Session.setSSLCertificateURL()
setSSLCertificatePassword
public void setSSLCertificatePassword(String pw) throws PropertyVetoException
- See
Session.setSSLCertificatePassword()
isSSLCertificateRemembered
public boolean isSSLCertificateRemembered()
- See
Session.isSSLCertificateRemembered()
setSSLCertificateRemembered
public void setSSLCertificateRemembered(boolean remembered) throws PropertyVetoException
- See
Session.setSSLCertificateRemembered()
setSSLCertificatePrompted
public void setSSLCertificatePrompted(boolean prompted) throws PropertyVetoException
- See
Session.setSSLCertificatePrompted()
- Overrides:
- setSSLCertificatePrompted in class HostTerminal
isSSLCertificatePrompted
public boolean isSSLCertificatePrompted()
- See
Session.isSSLCertificatePrompted()
- Overrides:
- isSSLCertificatePrompted in class HostTerminal
setSymmetricSwapEnabled
public void setSymmetricSwapEnabled(boolean state) throws PropertyVetoException
- See
Session.setSymmetricSwapEnabled()
- Overrides:
- setSymmetricSwapEnabled in class HostTerminal
isSymmetricSwapEnabled
public boolean isSymmetricSwapEnabled()
- See
Session.isSymmetricSwapEnabled()
- Overrides:
- isSymmetricSwapEnabled in class HostTerminal
setNumericSwapEnabled
public void setNumericSwapEnabled(boolean state) throws PropertyVetoException
- See
Session.setNumericSwapEnabled()
- Overrides:
- setNumericSwapEnabled in class HostTerminal
isNumericSwapEnabled
public boolean isNumericSwapEnabled()
- See
Session.isNumericSwapEnabled()
- Overrides:
- isNumericSwapEnabled in class HostTerminal
setNumeralShape
public void setNumeralShape(String ns) throws PropertyVetoException
- See
Session.setNumeralShape()
- Overrides:
- setNumeralShape in class HostTerminal
getNumeralShape
public String getNumeralShape()
- See
Session.getNumeralShape()
- Overrides:
- getNumeralShape in class HostTerminal
listNumeralShapes
public Enumeration listNumeralShapes()
- See
Session.listNumeralShapes()
setTextOrientation
public void setTextOrientation(String to) throws PropertyVetoException
- See
Session.setTextOrientation()
- Overrides:
- setTextOrientation in class HostTerminal
getTextOrientation
public String getTextOrientation()
- See
Session.getTextOrientation()
- Overrides:
- getTextOrientation in class HostTerminal
listTextOrientations
public Enumeration listTextOrientations()
- See
Session.listTextOrientations()
setTextType
public void setTextType(String tt) throws PropertyVetoException
- See
Session.setTextType()
- Overrides:
- setTextType in class HostTerminal
getTextType
public String getTextType()
- See
Session.getTextType()
- Overrides:
- getTextType in class HostTerminal
listTextTypes
public Enumeration listTextTypes()
- See
Session.listTextTypes()
getThaiDisplayMode
public int getThaiDisplayMode()
- See
Session.getThaiDisplayMode()
- Overrides:
- getThaiDisplayMode in class HostTerminal
setThaiDisplayMode
public void setThaiDisplayMode(int mode) throws PropertyVetoException
- See
Session.setThaiDisplayMode
- Overrides:
- setThaiDisplayMode in class HostTerminal
listThaiDisplayModes
public Enumeration listThaiDisplayModes()
- See
Session.listThaiDisplayModes()
isSLPEnabled
public boolean isSLPEnabled()
- See
Session.isSLPEnabled()
setSLPEnabled
public void setSLPEnabled(boolean slp) throws PropertyVetoException
- See
Session.setSLPEnabled()
setSLPAS400Name
public void setSLPAS400Name(String as400name) throws PropertyVetoException
- See
Session.setSLPAS400Name()
getSLPAS400Name
public String getSLPAS400Name()
- See
Session.getSLPAS400Name()
setSLPScope
public void setSLPScope(String scope) throws PropertyVetoException
- See
Session.setSLPScope()
getSLPScope
public String getSLPScope()
- See
Session.getSLPScope()
isSLPThisScopeOnly
public boolean isSLPThisScopeOnly()
- See
Session.isSLPThisScoeOnly()
setSLPThisScopeOnly
public void setSLPThisScopeOnly(boolean thisScopeOnly) throws PropertyVetoException
- See
Session.setSLPThisScopeOnly()
getSLPMaxWaitTime
public int getSLPMaxWaitTime()
- See
Session.getSLPMaxWaitTime()
setSLPMaxWaitTime
public void setSLPMaxWaitTime(int maxWait) throws PropertyVetoException
- See
Session.setSLPMaxWaitTime()
setOIAVisible
public void setOIAVisible(boolean showOIA) throws PropertyVetoException
- Sets the OIAVisible property. When true CustomTerminal displays the Operator
Information Area (OIA).
- Parameters:
- showOIA - Whether the CustomTerminal shows OIA or not.
- Throws: PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.
- See Also:
- isOIAVisible
isOIAVisible
public boolean isOIAVisible()
- Returns the value of the OIAVisible property.
- See Also:
- setOIAVisible
setDBCSInputVisible
public void setDBCSInputVisible(boolean showDBCSInput) throws PropertyVetoException
- Sets the DBCSinputVisible property (3270 and 5250 DBCS sessions only).
When true, Screen displays the DBCS Input field.
- Parameters:
- showDBCSInput - Whether the Screen shows DBCS Input field or not.
- Throws: PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.
- See Also:
- isDBCSInputVisible
isDBCSInputVisible
public boolean isDBCSInputVisible()
- Returns the value of the DBCSInputVisible property.
- See Also:
- setDBCSInputVisible
setSOSIVisible
public void setSOSIVisible(boolean showSOSI) throws PropertyVetoException
- Sets the SOSIVisible property (3270 and 5250 DBCS sessions only).
When true, Screen displays the Shift In/Shift Out characters.
- Parameters:
- showSOSI - Whether the Screen shows Shift In/Shift Out characters or not.
- Throws: PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.
- See Also:
- isSOSIVisible
isSOSIVisible
public boolean isSOSIVisible()
- Returns the value of the SOSIVisible property.
- See Also:
- setSOSIVisible
doValidValues
public void doValidValues()
- Show the valid values for the current text field.
doWhatIsIt
public void doWhatIsIt()
- Show the help for the current text field.
setLightPenMode
public void setLightPenMode(boolean enable) throws PropertyVetoException
- Sets the lightPenMode property (3270 and CICS sessions only). When
true, this property causes the CustomTerminal to enable light pen support.
- Parameters:
- enable - Whether or not the CustomTerminal enables light pen support.
- Throws: PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.
- See Also:
- isLightPenMode
isLightPenMode
public boolean isLightPenMode()
- Returns the value of the lightPenMode property.
- See Also:
- setLightPenMode
setTemplate
public void setTemplate(String template) throws PropertyVetoException
- Sets the template property. Setting this property will override any
template defined in the HTML parameters or defined in a screen map.
- Parameters:
- template - Template file name.
- Throws: PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.
- See Also:
- getTemplate
getTemplate
public String getTemplate()
- Returns the template property set by setTemplate().
- See Also:
- setTemplate
isTemplateEnabled
public boolean isTemplateEnabled()
- Returns the state of the template. The state of the template becomes valid after
the connection has been established.
- See Also:
- setTemplate
setCustomURL
public void setCustomURL(String customURL) throws PropertyVetoException
- Sets the customURL property. Setting this property will override any
customURL defined in the HTML parameters.
- Parameters:
- CustomURL - Custom URL.
- Throws: PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.
- See Also:
- getCustomURL
getCustomURL
public String getCustomURL()
- Returns the customURL property set by setCustomURL().
- See Also:
- setCustomURL
setCustomDir
public void setCustomDir(String dir) throws PropertyVetoException
- Sets the customDir property. Setting this property will override any
customDir defined in the HTML parameters.
- Parameters:
- customDir - Custom Directory name.
- Throws: PropertyVetoException
- Thrown if one of the
VetoableChangeListeners rejects the change.
- See Also:
- getCustomDir
getCustomDir
public String getCustomDir()
- Returns the customDir property set by setCustomDir().
- See Also:
- setCustomDir
GUIEvent
public void GUIEvent(GUIEvent e)
- Handler method for GUIEvents. CustomTerminal reacts to GUI events
generated by the SendKeys() method.
- Parameters:
- evt - A GUIEvent generated by the Session Bean.
printScreen
public void printScreen()
- Prints the current screen contents to the default printer.
printPreview
public void printPreview()
- Displays a preview of the current screen for printing.
getFont
public Font getFont()
- Returns the current CustomTerminal font.
- Overrides:
- getFont in class Component
- See Also:
- setFont
setFont
public void setFont(Font f)
- Sets the CustomTerminal font.
- Parameters:
- f - The new font for CustomTerminal.
- Overrides:
- setFont in class Component
- See Also:
- getFont
setFontName
public void setFontName(String fontName) throws PropertyVetoException
- Sets the fontName property. The font name must be a monospaced font, such as
Courier or Monospaced if you want components to maintain proper alignment.
- Parameters:
- fontName - The new monospaced font name.
- Throws: PropertyVetoException
- Thrown if the specified font name
is not a monospaced font.
- See Also:
- getFontName
getFontName
public String getFontName()
- Returns the value of the fontName property.
- See Also:
- setFontName
setFontSize
public void setFontSize(int fontSize) throws PropertyVetoException
- Sets the fontSize property. Valid sizes are 6 to 30 points.
- Parameters:
- fontSize - The new font size.
- Throws: PropertyVetoException
- Thrown if the specified font size
is too large.
- See Also:
- getFontSize
getFontSize
public int getFontSize()
- Returns the value of the fontSize property. Valid sizes are 6 to 30 points.
- See Also:
- setFontSize
setFontStyle
public void setFontStyle(int fontStyle) throws PropertyVetoException
- Sets the fontStyle property.
Valid values:
- java.awt.Font.BOLD
- java.awt.Font.ITALIC
- java.awt.Font.PLAIN
The styles can be combined for mixed styles.
- Parameters:
- fontStyle - The new font style.
- Throws: PropertyVetoException
- Thrown if the specified font style
is not valid.
- See Also:
- listFontStyles, getFontStyle
getFontStyle
public int getFontStyle()
- Returns the value of the fontStyle property.
- See Also:
- setFontStyle
getColumns
public int getColumns()
- Returns the number of columns represented on the screen.
getRows
public int getRows()
- Returns the number of rows represented on the screen.
getCustomComponents
public SCCustomComponent[] getCustomComponents()
- Returns an array of all Custom Components on the current screen.
- See Also:
- SCCustomComponent
getBalls
public SCBall[] getBalls()
- Returns an array of all SCBall objects on the current screen.
- See Also:
- SCBall
getButtons
public SCButton[] getButtons()
- Returns an array of all SCButton objects on the current screen.
- See Also:
- SCButton
getButtonVVs
public SCButtonVV[] getButtonVVs()
- Returns an array of all SCButtonVV objects on the current screen.
- See Also:
- SCButtonVV
getCheckboxes
public SCCheckbox[] getCheckboxes()
- Returns an array of all SCCheckbox objects on the current screen.
- See Also:
- SCCheckbox
getChoices
public SCChoice[] getChoices()
- Returns an array of all SCChoice objects on the current screen.
- See Also:
- SCChoice
getFrames
public SCFrame[] getFrames()
- Returns an array of all SCFrame objects on the current screen.
- See Also:
- SCFrame
getHostLists
public SCHostList[] getHostLists()
- Returns an array of all SCHostList objects on the current screen.
- See Also:
- SCHostList
getImages
public SCImage[] getImages()
- Returns an array of all SCImage objects on the current screen.
- See Also:
- SCImage
getImageButtons
public SCImageButton[] getImageButtons()
- Returns an array of all SCImageButton objects on the current screen.
- See Also:
- SCImageButton
getLabels
public SCLabel[] getLabels()
- Returns an array of all SCLabel objects on the current screen.
- See Also:
- SCLabel
getLists
public SCList[] getLists()
- Returns an array of all SCList objects on the current screen.
- See Also:
- SCList
getTextfields
public SCTextfield[] getTextfields()
- Returns an array of all SCTextfield objects on the current screen.
- See Also:
- SCTextfield
getRadioButtons
public SCRadioButton[] getRadioButtons()
- Returns an array of all SCRadioButton objects on the current screen.
- See Also:
- SCRadioButton
getWebLinks
public SCWebLink[] getWebLinks()
- Returns an array of all SCWebLink objects on the current screen.
- See Also:
- SCWebLink
selectAll
public void selectAll()
- Selects the contents of the current text field or label.
copyToClipboard
public void copyToClipboard()
- Copies the current selected text to the clipboard.
copyAllToClipboard
public void copyAllToClipboard()
- Copies all text to the clipboard.
cutToClipboard
public void cutToClipboard()
- Cuts the current selected text to the clipboard.
pasteFromClipboard
public void pasteFromClipboard()
- Pastes the data from the clipboard at the current cursor location.
sendKeys
public void sendKeys(SendKeyEvent evt)
- Handler method for SendKeyEvents. CustomTerminal acts as a concentrator of
SendKeyEvents for other Beans like KeyRemap and KeyPad. SendKeyEvents
which are fired to Terminal are refired to Terminal's SendKeyListeners.
- Parameters:
- evt - SendKeyEvent that is refired to Screen's SendKeyListeners.
- Overrides:
- sendKeys in class HostTerminal
addSendKeyListener
public synchronized void addSendKeyListener(SendKeyListener l)
- Adds a SendKeyListener. SendKeyListeners are notified
when Screen fires a SendKeyEvent.
- Overrides:
- addSendKeyListener in class HostTerminal
- See Also:
- removeSendKeyListener, SendKeyEvent
removeSendKeyListener
public synchronized void removeSendKeyListener(SendKeyListener l)
- Removes a SendKeyListener.
- Overrides:
- removeSendKeyListener in class HostTerminal
- See Also:
- addSendKeyListener, SendKeyEvent
addCustomListener
public void addCustomListener(CustomListener l)
- Adds a CustomListener. CustomListeners are notified when the
CustomTerminal is updated.
- Parameters:
- l - CustomListener that receives CustomEvents
- See Also:
- removeCustomListener, CustomEvent
removeCustomListener
public synchronized void removeCustomListener(CustomListener l)
- Removes a CustomListener.
- Parameters:
- l - CustomListener that is removed
- See Also:
- addCustomListener, CustomEvent
addKeyListener
public synchronized void addKeyListener(KeyListener l)
- Adds a java.awt.event.KeyListener to the Bean. KeyListeners
receive a java.awt.event.KeyEvent whenever the Bean has focus
and a keyboard key is pressed.
- Parameters:
- l - KeyListener that receives KeyEvents.
- Overrides:
- addKeyListener in class Component
- See Also:
- removeKeyListener
removeKeyListener
public synchronized void removeKeyListener(KeyListener l)
- Removes a java.awt.event.KeyListener from the Bean.
- Parameters:
- l - KeyListener that no longer receives KeyEvents.
- Overrides:
- removeKeyListener in class Component
- See Also:
- addKeyListener
requestFocus
public void requestFocus()
- Request focus on CustomTerminal.
- Overrides:
- requestFocus in class Component
getTraceName
public String getTraceName()
- Returns a trace identifier for this bean.
- Overrides:
- getTraceName in class HODPanelBean
getECLSession
public ECLSession getECLSession()
- See
Session.getECLSession()
- Overrides:
- getECLSession in class HostTerminal
getSession
public Session getSession()
- Returns the Session bean associated with this Terminal
- Overrides:
- getSession in class HostTerminal
setLUMPort
public void setLUMPort(int PortNumber) throws PropertyVetoException
- See
Session.setLUMPort(int)
getLUMPort
public int getLUMPort()
- See
Session.getLUMPort()
setServiceMgrHost
public void setServiceMgrHost(String ServerMgrHost) throws PropertyVetoException
- See
Session.setServiceMgrHost(String)
getServiceMgrHost
public String getServiceMgrHost()
- See
Session.getServiceMgrHost()
setLUMLicensing
public void setLUMLicensing(String servertype) throws PropertyVetoException
- See
Session.setLUMLicensing(String)
getLUMLicensing
public String getLUMLicensing()
- See
Session.getLUMLicensing()
setLUMServer
public void setLUMServer(String LumServer) throws PropertyVetoException
- See
Session.setLUMServer(String)
getLUMServer
public String getLUMServer()
- See
Session.getLUMServer()
getLookupFile
public String getLookupFile()
- Returns the lookup table name.
- See Also:
- getLookupFile
setLookupFile
public void setLookupFile(String fileName) throws PropertyVetoException
- Sets the lookup table name.
- See Also:
- getLookupFile
doFontIncrease
public void doFontIncrease()
- Increases the font by one point size. The valid point size range is
6 to 30 points.
- See Also:
- isFontIncreaseEnabled, doFontDecrease
doFontDecrease
public void doFontDecrease()
- Decreases the font by one point size. The valid point size range is
6 to 30 points.
- See Also:
- isFontDecreaseEnabled, doFontIncrease
isFontIncreaseEnabled
public boolean isFontIncreaseEnabled()
- Returns if the font size can be decreased.
isFontDecreaseEnabled
public boolean isFontDecreaseEnabled()
- Returns if the font size can be decreased.
showColorRemapDialog
public void showColorRemapDialog()
- Show the color remap dialog.
processCustomEvent
public void processCustomEvent(CustomEvent e)
- Method used to fire CustomEvents.
All Packages Class Hierarchy This Package Previous Next Index