All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.beans.HOD.Terminal

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.eNetwork.beans.HOD.Terminal

public class Terminal
extends HostTerminal
implements ColorRemapListener, BlinkRemapListener
The Terminal Bean is a compound bean that combines a Screen and a Session bean to provide both a host connection and host screen. All the necessary connections between the Screen and the Session bean have already been provided.

Properties

The following table lists the properties of the Terminal Bean:

Events Fired

The following table lists the events fired from the Terminal Bean:

Events Accepted

The following table lists the events accepted by the Terminal Bean:


Constructor Index

 o Terminal()
Terminal Bean null constructor.
 o Terminal(Properties)
Constructor that takes a Properties object containing the initial property settings.

Method Index

 o addCommListener(CommListener)
See Session.addCommListener()
 o addFocusListener(FocusListener)
Adds a java.awt.event.FocusListener to the Bean.
 o addGUIListener(GUIListener)
See Session.addGUIListener()
 o addKeyListener(KeyListener)
Adds a java.awt.event.KeyListener to the Bean.
 o addMouseListener(MouseListener)
Adds a java.awt.event.MouseListener to the Bean.
 o addMouseMotionListener(MouseMotionListener)
Adds a java.awt.event.MouseMotionListener to the Bean.
 o addOIAListener(OIAListener)
See Session.addOIAListener()
 o addPropertyChangeListener(PropertyChangeListener)
Adds a PropertyChangeListener.
 o addPSListener(PSListener)
See Session.addPSListener()
 o addScreenListener(ScreenListener)
Adds a ScreenListener.
 o addScreenMotionListener(ScreenMotionListener)
Adds a ScreenMotionListener.
 o addScreenMouseListener(ScreenMouseListener)
Adds a ScreenMouseListener.
 o addSendKeyListener(SendKeyListener)
Adds a SendKeyListener.
 o addTraceListener(TraceListener)
Adds a trace listener.
 o addVetoableChangeListener(VetoableChangeListener)
Adds a VetoableChangeListener.
 o clearTrimRect()
Clears the selected box (all unprotected areas)
 o copyToClipboard()
Copies the selected box to the clipboard.
 o copyToClipboard(boolean)
Copies the selected box to the clipboard with conditional appending
 o cutToClipboard()
Copies the selected box to clipboard and clears the unprotected areas of the Screen.
 o defaults()
Returns a Properties object containing the default properties for this Bean.
 o dispose()
Disposes Terminal and all of its resources.
 o drawBox(int)
Draws the cut and paste selection box on the screen.
 o getBIDIMode()
 o getCICSGWCodePage()
See Session.getCICSGWCodePage()
 o getCICSServerName()
See Session.getCICSServerName()
 o getCodePage()
See Session.getCodePage()
 o getColumns()
Returns the number of columns represented on the screen.
 o getCommStatus()
See Session.getCommStatus()
 o getCursorDirection()
 o getDeviceName()
 o getECLSession()
See Session.getECLSession()
 o getFont()
Returns the current Screen font.
 o getFontName()
Returns the value of the fontName property.
 o getFontSize()
Returns the value of the fontSize property.
 o getFontStyle()
Returns the value of the fontStyle property.
 o getGraphicsCellSize()
See Session.getGraphicsCellSize()
 o getHistorySize()
See Session.getHistorySize()
 o getHost()
See Session.getHost()
 o getLUMLicensing()
 o getLUMPort()
 o getLUMServer()
 o getLUName()
See Session.getLUName()
 o getNumeralShape()
See Session.getNumeralShape()
 o getNumeralShapeDisp()
 o getPasteTabColumns()
See Session.getPasteTabColumns()
 o getPasteTabOptions()
See Session.getPasteTabOptions()
 o getPasteTabSpaces()
See Session.getPasteTabSpaces()
 o getPort()
See Session.getPort()
 o getPrinterName()
See Session.getPrinterName()
 o getPrintFileName()
See Session.getPrintFileName()
 o getRows()
Returns the number of rows represented on the screen.
 o getScreenSize()
See Session.getScreenSize()
 o getSelected(boolean)
Returns an Insets object containing the coordinates, in Screen rows and columns, for the selected box.
 o getServiceMgrHost()
 o getSession()
Returns the Session bean associated with this Terminal
 o getSessionID()
See Session.getSessionID()
 o getSessionName()
See Session.getSessionName()
 o getSessionType()
See Session.getSessionType()
 o getSLPAS400Name()
See Session.getSLPAS400Name()
 o getSLPMaxWaitTime()
See Session.getSLPMaxWaitTime()
 o getSLPScope()
See Session.getSLPScope()
 o getSSLCertificateURL()
See Session.getSSLCertificateURL()
 o getTextOrientation()
See Session.getTextOrientation()
 o getTextType()
See Session.getTextType()
 o getTextTypeDisp()
 o getThaiDisplayMode()
See Session.getThaiDisplayMode()
 o getTraceName()
returns a trace identifier for this bean
 o getVTAnswerBackMsg()
See Session.getVTAnswerBackMsg()
 o getVTTerminalType()
See Session.getVTTerminalType()
 o getWorkstationID()
See Session.getWorkstationID()
 o GUIEvent(GUIEvent)
Handler method for GUIEvents.
 o is3D()
Returns the value of the 3D property.
 o isAccessibilityEnabled()
Returns the value of the accessibilityEnabled property.
 o isAutoConnect()
See Session.isAutoConnect()
 o isAutoFontSize()
Returns the value of the autoFontSize property.
 o isAutoPack()
Returns the value of the autoPack property.
 o isAutoReconnect()
See Session.isAutoReconnect()
 o isBlockCursor()
Returns the value of the blockcursor property.
 o isCentered()
Returns the value of the centered property.
 o isCommStarted()
See Session.isCommStarted()
 o isCopyOnlyIfTrimmed()
See Session.isCopyOnlyIfTrimmed()
 o isCursorVisible()
Returns wheter cursor is made visible by Screen.
 o isDBCSInputVisible()
Returns the value of the DBCSInputVisible property.
 o isDeviceNameReady()
See Session.isDeviceNameReady()
 o isENPTUI()
See Session.isENPTUI()
 o isFontSizeBounded()
Returns the value of the fontSizeBounded property.
 o isHistory()
See Session.isHistory()
 o isHostGraphics()
See Session.isHostGraphics()
 o isLightPenMode()
Returns the value of the lightPenMode property.
 o isMorePasteDataAvailable()
Once a paste or paste next operation occurs, this method returns if there is more data available that did not paste (case where original paste or subsequent paste next hit end of screen)
 o isMouseEnabled()
Returns wheter mouse events are being handled by Screen.
 o isNumericFieldLock()
See Session.isNumericFieldLock()
 o isNumericSwapEnabled()
See Session.isSymmetricSwappingEnabled()
 o isOIAVisible()
Returns the value of the OIAVisible property.
 o isPasteFieldWrap()
See Session.isPasteFieldWrap()
 o isPasteLineWrap()
See Session.isPasteLineWrap()
 o isPasteStopAtProtectedLine()
See Session.isPasteStopAtProtectedLine()
 o isPasteToTrimmedArea()
See Session.isPasteToTrimmedArea()
 o isPrintDestination()
See Session.isPrintDestination()
 o isRule()
Returns the value of the rule property.
 o isSeparateFiles()
See Session.isSeparateFiles()
 o isSLPEnabled()
See Session.isSLPEnabled()
 o isSLPThisScopeOnly()
See Session.isSLPThisScoeOnly()
 o isSSL()
See Session.isSSL()
 o isSSLCertificatePrompted()
See Session.isSSLCertificatePrompted()
 o isSSLCertificateProvided()
See Session.isSSLCertificateProvided()
 o isSSLCertificateRemembered()
See Session.isSSLCertificateRemembered()
 o isSSLServerAuthentication()
See Session.isSSLServerAuthentication()
 o isSSLTelnetNegotiated()
See Session.isSSLTelnetNegotiated()
 o isSymmetricSwapEnabled()
See Session.isSymmetricSwappingEnabled()
 o isTNEnhanced()
See Session.isTNEnhanced()
 o isTrimRectRemainAfterEdit()
See Session.isTrimRectRemainAfterEdit()
 o isTrimRectSizingHandles()
See Session.isTrimRectSizingHandles()
 o isVTAutowrap()
See Session.isVTAutowrap()
 o isVTBackspace()
See Session.isVTBackspace()
 o isVTCursor()
See Session.isVTCursor()
 o isVTKeypad()
See Session.isVTKeypad()
 o isVTLocalEcho()
See Session.isVTLocalEcho()
 o isVTNewLine()
See Session.isVTNewLine()
 o isVTReverseScreen()
See Session.isVTReverseScreen()
 o isWorkstationIDReady()
See Session.isWorkstationIDReady()
 o listBIDIModes()
 o listCICSGWCodePages()
See Session.listCICSGWCodePages()
 o listCodePages()
See Session.listCodePages()
 o listCodePages(String)
See Session.listCodePages(java.lang.String)
 o listCursorDirections()
 o listFontNames(String)
Enumerates the list of valid monospaced fonts available on the system.
 o listFontStyles()
Enumerates a list of valid font styles.
 o listHistorySizes()
See Session.listHistorySizes()
 o listNumeralShapes()
See Session.listNumeralShapes()
 o listNumeralShapesDisp()
 o listPasteTabOptions()
See Session.listPasteTabOptions()
 o listScreenSizes()
See Session.listScreenSizes()
 o listScreenSizes(String)
See Session.listScreenSizes(java.lang.String)
 o listTextOrientations()
See Session.listTextOrientations()
 o listTextTypes()
See Session.listTextTypes()
 o listTextTypesDisp()
 o listThaiDisplayModes()
See Session.listThaiDisplayModes()
 o listVTTerminalTypes()
See Session.listVTTerminalTypes()
 o moveBox(int)
Moves the cut and paste selection box on the screen.
 o pasteFromClipboard()
Pastes the data from the clipboard at the current cursor location.
 o pasteFromClipboard(boolean)
Pastes the data from the clipboard at the current cursor location with conditional paste next functionality
 o printScreen()
Prints the current Screen contents to the default printer.
 o remapBlink(BlinkRemapEvent)
Handler method for BlinkRemapEvents.
 o remapColor(ColorRemapEvent)
Handler method for ColorRemapEvents.
 o removeCommListener(CommListener)
See Session.removeCommListener()
 o removeFocusListener(FocusListener)
Removes a java.awt.event.FocusListener from the Bean.
 o removeGUIListener(GUIListener)
See Session.removeGUIListener()
 o removeKeyListener(KeyListener)
Removes a java.awt.event.KeyListener from the Bean.
 o removeMouseListener(MouseListener)
Removes a java.awt.event.MouseListener from the Bean.
 o removeMouseMotionListener(MouseMotionListener)
Removes a java.awt.event.MouseMotionListener from the Bean.
 o removeOIAListener(OIAListener)
See Session.removeOIAListener()
 o removePropertyChangeListener(PropertyChangeListener)
Removes a PropertyChangeListener.
 o removePSListener(PSListener)
See Session.removePSListener()
 o removeScreenListener(ScreenListener)
Removes a ScreenListener.
 o removeScreenMotionListener(ScreenMotionListener)
Removes a ScreenMotionListener.
 o removeScreenMouseListener(ScreenMouseListener)
Removes a ScreenMouseListener.
 o removeSendKeyListener(SendKeyListener)
Removes a SendKeyListener.
 o removeTraceListener(TraceListener)
Removes a trace listener so that it no longer receives trace events.
 o removeVetoableChangeListener(VetoableChangeListener)
Removes a VetoableChangeListener.
 o requestFocus()
Request focus on Terminal.
 o selectAll()
Selects the entire Screen for the purpose of copying or cutting the area.
 o sendKeys(SendKeyEvent)
Handler method for SendKeyEvents.
 o set3D(boolean)
Sets the 3D property.
 o setAccessibilityEnabled(boolean)
Sets the accessibilityEnabled property.
 o setAutoConnect(boolean)
See Session.setAutoConnect()
 o setAutoFontSize(boolean)
Sets the autoFontSize property.
 o setAutoPack(boolean)
Sets the autoPack property.
 o setAutoReconnect(boolean)
See Session.setAutoReconnect()
 o setBIDIMode(String)
 o setBlockCursor(boolean)
Sets the block cursor property.
 o setCentered(boolean)
Sets the centered property.
 o setCICSGWCodePage(String)
See Session.setCICSGWCodePage()
 o setCICSServerName(String)
See Session.setCICSServerName()
 o setCodePage(String)
See Session.setCodePage()
 o setCopyOnlyIfTrimmed(boolean)
See Session.setCopyOnlyIfTrimmed()
 o setCursorDirection(String)
 o setCursorVisible(boolean)
Sets whether the cursor should be made visible by Screen.
 o setDBCSInputVisible(boolean)
Sets the DBCSinputVisible property (3270 and 5250 DBCS sessions only).
 o setENPTUI(boolean)
See Session.setENPTUI()
 o setFont(Font)
Sets the Screen font.
 o setFontName(String)
Sets the fontName property.
 o setFontSize(int)
Sets the fontSize property.
 o setFontSizeBounded(boolean)
Sets the fontSizeBounded property.
 o setFontStyle(int)
Sets the fontStyle property.
 o setGraphicsCellSize(String)
See Session.setGraphicsCellSize()
 o setHistory(boolean)
See Session.setHistory()
 o setHistorySize(String)
See Session.setHistorySize()
 o setHost(String)
See Session.setHost()
 o setHostGraphics(boolean)
See Session.setHostGraphics()
 o setLightPenMode(boolean)
Sets the lightPenMode property (3270 and CICS sessions only).
 o setLUMLicensing(String)
 o setLUMPort(int)
 o setLUMServer(String)
 o setLUName(String)
See Session.setLUName()
 o setMouseEnabled(boolean)
Sets whether mouse events will be handled by Screen.
 o setNumeralShape(String)
See Session.setNumeralShape()
 o setNumeralShapeDisp(String)
 o setNumericFieldLock(boolean)
See Session.setNumericFieldLock()
 o setNumericSwapEnabled(boolean)
See Session.setNumericSwapEnabled()
 o setOIAVisible(boolean)
Sets the OIAVisible property.
 o setPasteFieldWrap(boolean)
See Session.setPasteFieldWrap()
 o setPasteLineWrap(boolean)
See Session.setPasteLineWrap()
 o setPasteStopAtProtectedLine(boolean)
See Session.setPasteStopAtProtectedLine()
 o setPasteTabColumns(int)
See Session.setPasteTabColumns()
 o setPasteTabOptions(String)
See Session.setPasteTabOptions()
 o setPasteTabSpaces(int)
See Session.setPasteTabSpaces()
 o setPasteToTrimmedArea(boolean)
See Session.setPasteToTrimmedAArea()
 o setPort(int)
See Session.setPort()
 o setPrintDestination(boolean)
See Session.setPrintDestination(()
 o setPrinterName(String)
See Session.setPrinterName(()
 o setPrintFileName(String)
See Session.setPrintFileName(()
 o setRule(boolean)
Sets the rule property.
 o setScreenSize(String)
See Session.setScreenSize()
 o setSeparateFiles(boolean)
See Session.setSeparateFiles()
 o setServiceMgrHost(String)
 o setSessionID(String)
See Session.setSessionID()
 o setSessionName(String)
See Session.setSessionName()
 o setSessionType(String)
See Session.setSessionType()
 o setSLPAS400Name(String)
See Session.setSLPAS400Name()
 o setSLPEnabled(boolean)
See Session.setSLPEnabled()
 o setSLPMaxWaitTime(int)
See Session.setSLPMaxWaitTime()
 o setSLPScope(String)
See Session.setSLPScope()
 o setSLPThisScopeOnly(boolean)
See Session.setSLPThisScopeOnly()
 o setSSL(boolean)
See Session.setSSL()
 o setSSLCertificatePassword(String)
See Session.setSSLCertificatePassword()
 o setSSLCertificatePrompted(boolean)
See Session.setSSLCertificatePrompted()
 o setSSLCertificateProvided(boolean)
See Session.setSSLCertificateProvided()
 o setSSLCertificateRemembered(boolean)
See Session.setSSLCertificateRemembered()
 o setSSLCertificateURL(String)
See Session.setSSLCertificateURL()
 o setSSLServerAuthentication(boolean)
See Session.setSSLServerAuthentication()
 o setSSLTelnetNegotiated(boolean)
See Session.setSSLTelnetNegotiated()
 o setSymmetricSwapEnabled(boolean)
See Session.setSymmetricSwapEnabled()
 o setTextOrientation(String)
See Session.setTextOrientation()
 o setTextType(String)
See Session.setTextType()
 o setTextTypeDisp(String)
 o setThaiDisplayMode(int)
See Session.setThaiDisplayMode()
 o setTNEnhanced(boolean)
See Session.setTNEnhanced()
 o setTrimRectRemainAfterEdit(boolean)
See Session.setTrimRectRemainAfterEdit()
 o setTrimRectSizingHandles(boolean)
See Session.setTrimRectSizingHandles()
 o setVTAnswerBackMsg(String)
See Session.setVTAnswerBackMsg()
 o setVTAutowrap(boolean)
See Session.setVTAutowrap()
 o setVTBackspace(boolean)
See Session.setVTBackspace()
 o setVTCursor(boolean)
See Session.setVTCursor()
 o setVTKeypad(boolean)
See Session.setVTKeypad()
 o setVTLocalEcho(boolean)
See Session.setVTLocalEcho()
 o setVTNewLine(boolean)
See Session.setVTNewLine()
 o setVTReverseScreen(boolean)
See Session.setVTReverseScreen()
 o setVTTerminalType(String)
See Session.setVTTerminalType()
 o setWorkstationID(String)
See Session.setWorkstationID()
 o startCommunication()
See Session.startCommunication()
 o stopCommunication()
See Session.stopCommunication()
 o unMark()
Unmarks the selected box on the Screen.

Constructors

 o Terminal
 public Terminal()
Terminal Bean null constructor. This constructor uses the default values for all properties.

 o Terminal
 public Terminal(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.

Methods

 o defaults
 public static Properties defaults()
Returns a Properties object containing the default properties for this Bean.

See Also:
setProperties
 o dispose
 public void dispose()
Disposes Terminal and all of its resources. This method should be called when a Terminal instance is no longer needed.

Overrides:
dispose in class HODPanelBean
 o 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
 o removeVetoableChangeListener
 public void removeVetoableChangeListener(VetoableChangeListener listener)
Removes a VetoableChangeListener.

Overrides:
removeVetoableChangeListener in class HODPanelBean
See Also:
addVetoableChangeListener
 o 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
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener.

Overrides:
removePropertyChangeListener in class HODPanelBean
See Also:
addPropertyChangeListener
 o addCommListener
 public void addCommListener(CommListener l)
See Session.addCommListener()

Overrides:
addCommListener in class HostTerminal
 o addOIAListener
 public void addOIAListener(OIAListener l)
See Session.addOIAListener()

Overrides:
addOIAListener in class HostTerminal
 o addPSListener
 public void addPSListener(PSListener l)
See Session.addPSListener()

 o addGUIListener
 public void addGUIListener(GUIListener l)
See Session.addGUIListener()

Overrides:
addGUIListener in class HostTerminal
 o addTraceListener
 public void addTraceListener(TraceListener l)
Adds a trace listener.

Overrides:
addTraceListener in class HODPanelBean
 o removeTraceListener
 public void removeTraceListener(TraceListener l)
Removes a trace listener so that it no longer receives trace events.

Overrides:
removeTraceListener in class HODPanelBean
 o removeCommListener
 public void removeCommListener(CommListener l)
See Session.removeCommListener()

Overrides:
removeCommListener in class HostTerminal
 o removeOIAListener
 public void removeOIAListener(OIAListener l)
See Session.removeOIAListener()

Overrides:
removeOIAListener in class HostTerminal
 o removePSListener
 public void removePSListener(PSListener l)
See Session.removePSListener()

 o removeGUIListener
 public void removeGUIListener(GUIListener l)
See Session.removeGUIListener()

Overrides:
removeGUIListener in class HostTerminal
 o startCommunication
 public void startCommunication()
See Session.startCommunication()

Overrides:
startCommunication in class HostTerminal
 o stopCommunication
 public void stopCommunication()
See Session.stopCommunication()

Overrides:
stopCommunication in class HostTerminal
 o setHostGraphics
 public void setHostGraphics(boolean hostGraphics) throws PropertyVetoException
See Session.setHostGraphics()

 o isHostGraphics
 public boolean isHostGraphics()
See Session.isHostGraphics()

 o setGraphicsCellSize
 public void setGraphicsCellSize(String cellSize) throws PropertyVetoException
See Session.setGraphicsCellSize()

 o getGraphicsCellSize
 public String getGraphicsCellSize()
See Session.getGraphicsCellSize()

 o setENPTUI
 public void setENPTUI(boolean enptui) throws PropertyVetoException
See Session.setENPTUI()

 o isENPTUI
 public boolean isENPTUI()
See Session.isENPTUI()

 o isAutoConnect
 public boolean isAutoConnect()
See Session.isAutoConnect()

Overrides:
isAutoConnect in class HostTerminal
 o setAutoConnect
 public void setAutoConnect(boolean autoConnect) throws PropertyVetoException
See Session.setAutoConnect()

Overrides:
setAutoConnect in class HostTerminal
 o isAutoReconnect
 public boolean isAutoReconnect()
See Session.isAutoReconnect()

 o setAutoReconnect
 public void setAutoReconnect(boolean autoReconnect) throws PropertyVetoException
See Session.setAutoReconnect()

 o getCICSGWCodePage
 public String getCICSGWCodePage()
See Session.getCICSGWCodePage()

 o setCICSGWCodePage
 public void setCICSGWCodePage(String codePage) throws PropertyVetoException
See Session.setCICSGWCodePage()

 o listCICSGWCodePages
 public Enumeration listCICSGWCodePages()
See Session.listCICSGWCodePages()

 o getCICSServerName
 public String getCICSServerName()
See Session.getCICSServerName()

 o setCICSServerName
 public void setCICSServerName(String server) throws PropertyVetoException
See Session.setCICSServerName()

 o getCodePage
 public String getCodePage()
See Session.getCodePage()

Overrides:
getCodePage in class HostTerminal
 o setCodePage
 public void setCodePage(String codePage) throws PropertyVetoException
See Session.setCodePage()

Overrides:
setCodePage in class HostTerminal
 o listCodePages
 public Enumeration listCodePages()
See Session.listCodePages()

 o listCodePages
 public static Enumeration listCodePages(String sessionType)
See Session.listCodePages(java.lang.String)

 o isCommStarted
 public boolean isCommStarted()
See Session.isCommStarted()

Overrides:
isCommStarted in class HostTerminal
 o isDeviceNameReady
 public boolean isDeviceNameReady()
See Session.isDeviceNameReady()

Overrides:
isDeviceNameReady in class HostTerminal
 o isWorkstationIDReady
 public boolean isWorkstationIDReady()
See Session.isWorkstationIDReady()

Overrides:
isWorkstationIDReady in class HostTerminal
 o getDeviceName
 public String getDeviceName()
Overrides:
getDeviceName in class HostTerminal
 o getCommStatus
 public int getCommStatus()
See Session.getCommStatus()

Overrides:
getCommStatus in class HostTerminal
 o getHost
 public String getHost()
See Session.getHost()

Overrides:
getHost in class HostTerminal
 o setHost
 public void setHost(String host) throws PropertyVetoException
See Session.setHost()

Overrides:
setHost in class HostTerminal
 o getPort
 public int getPort()
See Session.getPort()

Overrides:
getPort in class HostTerminal
 o setPort
 public void setPort(int port) throws PropertyVetoException
See Session.setPort()

Overrides:
setPort in class HostTerminal
 o isTNEnhanced
 public boolean isTNEnhanced()
See Session.isTNEnhanced()

 o setTNEnhanced
 public void setTNEnhanced(boolean enhanced) throws PropertyVetoException
See Session.setTNEnhanced()

 o getLUName
 public String getLUName()
See Session.getLUName()

 o setLUName
 public void setLUName(String luName) throws PropertyVetoException
See Session.setLUName()

 o getWorkstationID
 public String getWorkstationID()
See Session.getWorkstationID()

Overrides:
getWorkstationID in class HostTerminal
 o setWorkstationID
 public void setWorkstationID(String wsID) throws PropertyVetoException
See Session.setWorkstationID()

 o getSessionName
 public String getSessionName()
See Session.getSessionName()

Overrides:
getSessionName in class HostTerminal
 o setSessionName
 public void setSessionName(String name) throws PropertyVetoException
See Session.setSessionName()

Overrides:
setSessionName in class HostTerminal
 o getSessionID
 public String getSessionID()
See Session.getSessionID()

Overrides:
getSessionID in class HostTerminal
 o setSessionID
 public void setSessionID(String ID) throws PropertyVetoException
See Session.setSessionID()

Overrides:
setSessionID in class HostTerminal
 o getScreenSize
 public String getScreenSize()
See Session.getScreenSize()

 o setScreenSize
 public void setScreenSize(String size) throws PropertyVetoException
See Session.setScreenSize()

 o listScreenSizes
 public Enumeration listScreenSizes()
See Session.listScreenSizes()

 o listScreenSizes
 public Enumeration listScreenSizes(String sessionType)
See Session.listScreenSizes(java.lang.String)

 o getSessionType
 public String getSessionType()
See Session.getSessionType()

Overrides:
getSessionType in class HostTerminal
 o setSessionType
 public void setSessionType(String type) throws PropertyVetoException
See Session.setSessionType()

Overrides:
setSessionType in class HostTerminal
 o isSSL
 public boolean isSSL()
See Session.isSSL()

 o setSSL
 public void setSSL(boolean SSL) throws PropertyVetoException
See Session.setSSL()

 o isSSLTelnetNegotiated
 public boolean isSSLTelnetNegotiated()
See Session.isSSLTelnetNegotiated()

 o setSSLTelnetNegotiated
 public void setSSLTelnetNegotiated(boolean tnNegotiated) throws PropertyVetoException
See Session.setSSLTelnetNegotiated()

 o isSSLServerAuthentication
 public boolean isSSLServerAuthentication()
See Session.isSSLServerAuthentication()

 o setSSLServerAuthentication
 public void setSSLServerAuthentication(boolean authentication) throws PropertyVetoException
See Session.setSSLServerAuthentication()

 o isSSLCertificateProvided
 public boolean isSSLCertificateProvided()
See Session.isSSLCertificateProvided()

 o setSSLCertificateProvided
 public void setSSLCertificateProvided(boolean provided) throws PropertyVetoException
See Session.setSSLCertificateProvided()

 o getSSLCertificateURL
 public String getSSLCertificateURL()
See Session.getSSLCertificateURL()

 o setSSLCertificateURL
 public void setSSLCertificateURL(String url) throws PropertyVetoException
See Session.setSSLCertificateURL()

 o setSSLCertificatePassword
 public void setSSLCertificatePassword(String pw) throws PropertyVetoException
See Session.setSSLCertificatePassword()

 o isSSLCertificateRemembered
 public boolean isSSLCertificateRemembered()
See Session.isSSLCertificateRemembered()

 o setSSLCertificateRemembered
 public void setSSLCertificateRemembered(boolean remembered) throws PropertyVetoException
See Session.setSSLCertificateRemembered()

 o setSSLCertificatePrompted
 public void setSSLCertificatePrompted(boolean prompted) throws PropertyVetoException
See Session.setSSLCertificatePrompted()

Overrides:
setSSLCertificatePrompted in class HostTerminal
 o isSSLCertificatePrompted
 public boolean isSSLCertificatePrompted()
See Session.isSSLCertificatePrompted()

Overrides:
isSSLCertificatePrompted in class HostTerminal
 o isVTAutowrap
 public boolean isVTAutowrap()
See Session.isVTAutowrap()

 o setVTAutowrap
 public void setVTAutowrap(boolean autowrap) throws PropertyVetoException
See Session.setVTAutowrap()

 o isVTReverseScreen
 public boolean isVTReverseScreen()
See Session.isVTReverseScreen()

 o setVTReverseScreen
 public void setVTReverseScreen(boolean reverse) throws PropertyVetoException
See Session.setVTReverseScreen()

 o isVTBackspace
 public boolean isVTBackspace()
See Session.isVTBackspace()

 o setVTBackspace
 public void setVTBackspace(boolean backSpace) throws PropertyVetoException
See Session.setVTBackspace()

 o isVTCursor
 public boolean isVTCursor()
See Session.isVTCursor()

 o setVTCursor
 public void setVTCursor(boolean application) throws PropertyVetoException
See Session.setVTCursor()

 o isVTKeypad
 public boolean isVTKeypad()
See Session.isVTKeypad()

 o setVTKeypad
 public void setVTKeypad(boolean application) throws PropertyVetoException
See Session.setVTKeypad()

 o isVTLocalEcho
 public boolean isVTLocalEcho()
See Session.isVTLocalEcho()

 o setVTLocalEcho
 public void setVTLocalEcho(boolean localEcho) throws PropertyVetoException
See Session.setVTLocalEcho()

 o isVTNewLine
 public boolean isVTNewLine()
See Session.isVTNewLine()

 o setVTNewLine
 public void setVTNewLine(boolean CROnly) throws PropertyVetoException
See Session.setVTNewLine()

 o getVTAnswerBackMsg
 public String getVTAnswerBackMsg()
See Session.getVTAnswerBackMsg()

 o setVTAnswerBackMsg
 public void setVTAnswerBackMsg(String ansbackmsg) throws PropertyVetoException
See Session.setVTAnswerBackMsg()

 o getVTTerminalType
 public String getVTTerminalType()
See Session.getVTTerminalType()

 o setVTTerminalType
 public void setVTTerminalType(String terminalType) throws PropertyVetoException
See Session.setVTTerminalType()

 o listVTTerminalTypes
 public static Enumeration listVTTerminalTypes()
See Session.listVTTerminalTypes()

 o isPrintDestination
 public boolean isPrintDestination()
See Session.isPrintDestination()

 o setPrintDestination
 public void setPrintDestination(boolean printer) throws PropertyVetoException
See Session.setPrintDestination(()

 o isSeparateFiles
 public boolean isSeparateFiles()
See Session.isSeparateFiles()

 o setSeparateFiles
 public void setSeparateFiles(boolean separate) throws PropertyVetoException
See Session.setSeparateFiles()

 o getPrintFileName
 public String getPrintFileName()
See Session.getPrintFileName()

 o setPrintFileName
 public void setPrintFileName(String fileName) throws PropertyVetoException
See Session.setPrintFileName(()

 o getPrinterName
 public String getPrinterName()
See Session.getPrinterName()

 o setPrinterName
 public void setPrinterName(String printerName) throws PropertyVetoException
See Session.setPrinterName(()

 o isHistory
 public boolean isHistory()
See Session.isHistory()

 o setHistory
 public void setHistory(boolean history) throws PropertyVetoException
See Session.setHistory()

 o getHistorySize
 public String getHistorySize()
See Session.getHistorySize()

 o setHistorySize
 public void setHistorySize(String size) throws PropertyVetoException
See Session.setHistorySize()

 o listHistorySizes
 public Enumeration listHistorySizes()
See Session.listHistorySizes()

 o setNumeralShape
 public void setNumeralShape(String ns) throws PropertyVetoException
See Session.setNumeralShape()

Overrides:
setNumeralShape in class HostTerminal
 o getNumeralShape
 public String getNumeralShape()
See Session.getNumeralShape()

Overrides:
getNumeralShape in class HostTerminal
 o setNumericFieldLock
 public void setNumericFieldLock(boolean lock) throws PropertyVetoException
See Session.setNumericFieldLock()

 o isNumericFieldLock
 public boolean isNumericFieldLock()
See Session.isNumericFieldLock()

 o listNumeralShapes
 public Enumeration listNumeralShapes()
See Session.listNumeralShapes()

 o setTextType
 public void setTextType(String tt) throws PropertyVetoException
See Session.setTextType()

Overrides:
setTextType in class HostTerminal
 o getTextType
 public String getTextType()
See Session.getTextType()

Overrides:
getTextType in class HostTerminal
 o listTextTypes
 public Enumeration listTextTypes()
See Session.listTextTypes()

 o setTextOrientation
 public void setTextOrientation(String to) throws PropertyVetoException
See Session.setTextOrientation()

Overrides:
setTextOrientation in class HostTerminal
 o getTextOrientation
 public String getTextOrientation()
See Session.getTextOrientation()

Overrides:
getTextOrientation in class HostTerminal
 o listTextOrientations
 public Enumeration listTextOrientations()
See Session.listTextOrientations()

 o setBIDIMode
 public void setBIDIMode(String to) throws PropertyVetoException
 o getBIDIMode
 public String getBIDIMode()
 o setTextTypeDisp
 public void setTextTypeDisp(String to) throws PropertyVetoException
 o getTextTypeDisp
 public String getTextTypeDisp()
 o setCursorDirection
 public void setCursorDirection(String to) throws PropertyVetoException
 o getCursorDirection
 public String getCursorDirection()
 o setNumeralShapeDisp
 public void setNumeralShapeDisp(String to) throws PropertyVetoException
 o getNumeralShapeDisp
 public String getNumeralShapeDisp()
 o listTextTypesDisp
 public Enumeration listTextTypesDisp()
 o listCursorDirections
 public Enumeration listCursorDirections()
 o listBIDIModes
 public Enumeration listBIDIModes()
 o listNumeralShapesDisp
 public Enumeration listNumeralShapesDisp()
 o listThaiDisplayModes
 public Enumeration listThaiDisplayModes()
See Session.listThaiDisplayModes()

 o setThaiDisplayMode
 public void setThaiDisplayMode(int mode) throws PropertyVetoException
See Session.setThaiDisplayMode()

Overrides:
setThaiDisplayMode in class HostTerminal
 o getThaiDisplayMode
 public int getThaiDisplayMode()
See Session.getThaiDisplayMode()

Overrides:
getThaiDisplayMode in class HostTerminal
 o isSLPEnabled
 public boolean isSLPEnabled()
See Session.isSLPEnabled()

 o setSLPEnabled
 public void setSLPEnabled(boolean slp) throws PropertyVetoException
See Session.setSLPEnabled()

 o setSLPAS400Name
 public void setSLPAS400Name(String as400name) throws PropertyVetoException
See Session.setSLPAS400Name()

 o getSLPAS400Name
 public String getSLPAS400Name()
See Session.getSLPAS400Name()

 o setSLPScope
 public void setSLPScope(String scope) throws PropertyVetoException
See Session.setSLPScope()

 o getSLPScope
 public String getSLPScope()
See Session.getSLPScope()

 o isSLPThisScopeOnly
 public boolean isSLPThisScopeOnly()
See Session.isSLPThisScoeOnly()

 o setSLPThisScopeOnly
 public void setSLPThisScopeOnly(boolean thisScopeOnly) throws PropertyVetoException
See Session.setSLPThisScopeOnly()

 o getSLPMaxWaitTime
 public int getSLPMaxWaitTime()
See Session.getSLPMaxWaitTime()

 o setSLPMaxWaitTime
 public void setSLPMaxWaitTime(int maxWait) throws PropertyVetoException
See Session.setSLPMaxWaitTime()

 o setPasteFieldWrap
 public void setPasteFieldWrap(boolean pasteFieldWrap) throws PropertyVetoException
See Session.setPasteFieldWrap()

 o isPasteFieldWrap
 public boolean isPasteFieldWrap()
See Session.isPasteFieldWrap()

 o setPasteLineWrap
 public void setPasteLineWrap(boolean pasteLineWrap) throws PropertyVetoException
See Session.setPasteLineWrap()

 o isPasteLineWrap
 public boolean isPasteLineWrap()
See Session.isPasteLineWrap()

 o setPasteToTrimmedArea
 public void setPasteToTrimmedArea(boolean pasteToTrimmedArea) throws PropertyVetoException
See Session.setPasteToTrimmedAArea()

 o isPasteToTrimmedArea
 public boolean isPasteToTrimmedArea()
See Session.isPasteToTrimmedArea()

 o setPasteStopAtProtectedLine
 public void setPasteStopAtProtectedLine(boolean pasteStopAtProtectedLine) throws PropertyVetoException
See Session.setPasteStopAtProtectedLine()

 o isPasteStopAtProtectedLine
 public boolean isPasteStopAtProtectedLine()
See Session.isPasteStopAtProtectedLine()

 o setPasteTabOptions
 public void setPasteTabOptions(String pasteTabOptions) throws PropertyVetoException
See Session.setPasteTabOptions()

 o getPasteTabOptions
 public String getPasteTabOptions()
See Session.getPasteTabOptions()

 o listPasteTabOptions
 public Enumeration listPasteTabOptions()
See Session.listPasteTabOptions()

 o setPasteTabColumns
 public void setPasteTabColumns(int pasteTabColumns) throws PropertyVetoException
See Session.setPasteTabColumns()

 o getPasteTabColumns
 public int getPasteTabColumns()
See Session.getPasteTabColumns()

 o setPasteTabSpaces
 public void setPasteTabSpaces(int pasteTabSpaces) throws PropertyVetoException
See Session.setPasteTabSpaces()

 o getPasteTabSpaces
 public int getPasteTabSpaces()
See Session.getPasteTabSpaces()

 o setCopyOnlyIfTrimmed
 public void setCopyOnlyIfTrimmed(boolean copyOnlyIfTrimmed) throws PropertyVetoException
See Session.setCopyOnlyIfTrimmed()

 o isCopyOnlyIfTrimmed
 public boolean isCopyOnlyIfTrimmed()
See Session.isCopyOnlyIfTrimmed()

 o setTrimRectSizingHandles
 public void setTrimRectSizingHandles(boolean trimRectSizingHandles) throws PropertyVetoException
See Session.setTrimRectSizingHandles()

 o isTrimRectSizingHandles
 public boolean isTrimRectSizingHandles()
See Session.isTrimRectSizingHandles()

 o setTrimRectRemainAfterEdit
 public void setTrimRectRemainAfterEdit(boolean trimRectRemainAfterEdit) throws PropertyVetoException
See Session.setTrimRectRemainAfterEdit()

 o isTrimRectRemainAfterEdit
 public boolean isTrimRectRemainAfterEdit()
See Session.isTrimRectRemainAfterEdit()

 o 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. See the listFontNames method for generating a list of valid monospaced fonts.

Parameters:
fontName - The new monospaced font name.
Throws: PropertyVetoException
Thrown if the specified font name is not a monospaced font.
See Also:
listFontNames, getFontName
 o getFontName
 public String getFontName()
Returns the value of the fontName property.

See Also:
setFontName
 o listFontNames
 public static Enumeration listFontNames(String codepage)
Enumerates the list of valid monospaced fonts available on the system. The current codepage affects which fonts are available.

Parameters:
codepage - The codepage for the screen.
See Also:
getFontName, setFontName, getCodePage
 o setFontSize
 public void setFontSize(int fontSize) throws PropertyVetoException
Sets the fontSize property. This property is ignored when the autoFontSize property is set to true.

Parameters:
fontSize - The new font size.
Throws: PropertyVetoException
Thrown if the specified font size is too large.
See Also:
getFontSize
 o getFontSize
 public int getFontSize()
Returns the value of the fontSize property.

See Also:
setFontSize
 o setFontStyle
 public void setFontStyle(int fontStyle) throws PropertyVetoException
Sets the fontStyle property.

Valid values:

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
 o getFontStyle
 public int getFontStyle()
Returns the value of the fontStyle property.

See Also:
setFontStyle
 o listFontStyles
 public static Enumeration listFontStyles()
Enumerates a list of valid font styles.

See Also:
getFontStyle, setFontStyle
 o setFontSizeBounded
 public void setFontSizeBounded(boolean bounded) throws PropertyVetoException
Sets the fontSizeBounded property. When true, this property causes Screen to reject any font or font size which would cause the screen text to exceed Screen's current boundaries.

Parameters:
bounded - Whether the Screen is font size bounded or not.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isFontSizeBounded
 o isFontSizeBounded
 public boolean isFontSizeBounded()
Returns the value of the fontSizeBounded property.

See Also:
setFontSizeBounded
 o set3D
 public void set3D(boolean threeD) throws PropertyVetoException
Sets the 3D property. When true, this property causes Screen to display a 3-dimensional border around the screen text area.

Parameters:
threeD - Whether the Screen displays the 3D border or not.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
is3D
 o is3D
 public boolean is3D()
Returns the value of the 3D property.

See Also:
set3D
 o setAccessibilityEnabled
 public void setAccessibilityEnabled(boolean accessibility) throws PropertyVetoException
Sets the accessibilityEnabled property. When true, this property enables the accessibility API in the terminal screen

Parameters:
accessibility - Whether accessibility is enabled of not
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isAccessibilityEnabled
 o isAccessibilityEnabled
 public boolean isAccessibilityEnabled()
Returns the value of the accessibilityEnabled property.

See Also:
setAccessibilityEnabled
 o setOIAVisible
 public void setOIAVisible(boolean showOIA) throws PropertyVetoException
Sets the OIAVisible property. When true Screen displays the Operator Information Area (OIA).

Parameters:
showOIA - Whether the Screen shows OIA or not.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isOIAVisible
 o isOIAVisible
 public boolean isOIAVisible()
Returns the value of the OIAVisible property.

See Also:
setOIAVisible
 o 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
 o isDBCSInputVisible
 public boolean isDBCSInputVisible()
Returns the value of the DBCSInputVisible property.

See Also:
setDBCSInputVisible
 o setAutoFontSize
 public void setAutoFontSize(boolean autoFontSize) throws PropertyVetoException
Sets the autoFontSize property. When true, this property causes the Screen to automatically select the best font size whenever it is resized, and any calls to setFontSize() is ignored.

Parameters:
autoFontSize - Whether or not Screen automatically adjusts the font when it is resized.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isAutoFontSize
 o isAutoFontSize
 public boolean isAutoFontSize()
Returns the value of the autoFontSize property.

See Also:
setAutoFontSize
 o setAutoPack
 public void setAutoPack(boolean autoPack) throws PropertyVetoException
Sets the autoPack property. When true, this property causes the Screen to automatically pack its subcomponents.

Parameters:
autoPack - Whether or not the Screen autoPacks
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isAutoPack
 o isAutoPack
 public boolean isAutoPack()
Returns the value of the autoPack property.

See Also:
setAutoPack
 o setCentered
 public void setCentered(boolean center) throws PropertyVetoException
Sets the centered property. When true, this property causes the Screen to automatically center the text area and OIA within it's current boundaries.

Parameters:
center - Whether or not the Screen centers its text and OIA.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isCentered
 o isCentered
 public boolean isCentered()
Returns the value of the centered property.

See Also:
setCentered
 o setRule
 public void setRule(boolean rule) throws PropertyVetoException
Sets the rule property. When true, this property causes the Screen to display rule lines.

Parameters:
rule - Whether or not the Screen displays rule lines.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isRule
 o isRule
 public boolean isRule()
Returns the value of the rule property.

See Also:
setRule
 o setMouseEnabled
 public void setMouseEnabled(boolean val) throws PropertyVetoException
Sets whether mouse events will be handled by Screen. The default for the Screen bean is true.

Parameters:
val - if true mouse events will be processed by screen.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isMouseEnabled
 o isMouseEnabled
 public boolean isMouseEnabled()
Returns wheter mouse events are being handled by Screen.

See Also:
setMouseEnabled
 o setCursorVisible
 public void setCursorVisible(boolean val) throws PropertyVetoException
Sets whether the cursor should be made visible by Screen. The default for the Screen bean is true.

Parameters:
val - if true cursor will be made visible by screen.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isCursorVisible
 o isCursorVisible
 public boolean isCursorVisible()
Returns wheter cursor is made visible by Screen.

See Also:
setCursorVisible
 o setBlockCursor
 public void setBlockCursor(boolean block) throws PropertyVetoException
Sets the block cursor property. When true, this property causes the Screen to display a full height block cursor. When false, this property causes the Screen to display an underscore cursor. If the screen is currently in insert mode, the block or underscore cursor is not displayed until you exit insert mode. When in insert mode, Screen displays a half-height cursor.

Parameters:
block - Whether or not the Screen displays a block cursor.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isBlockCursor
 o isBlockCursor
 public boolean isBlockCursor()
Returns the value of the blockcursor property.

See Also:
setBlockCursor
 o setLightPenMode
 public void setLightPenMode(boolean lightPenMode) throws PropertyVetoException
Sets the lightPenMode property (3270 and CICS sessions only). When true, this property causes the Screen to enable light pen support.

Parameters:
lightPenMode - Whether or not the Screen enables light pen support.
Throws: PropertyVetoException
Thrown if one of the VetoableChangeListeners rejects the change.
See Also:
isLightPenMode
 o isLightPenMode
 public boolean isLightPenMode()
Returns the value of the lightPenMode property.

See Also:
setLightPenMode
 o GUIEvent
 public void GUIEvent(GUIEvent e)
Handler method for GUIEvents. Screen reacts to GUI events which request some kind of change in the Screen display, such as changing to the alternate cursor.

Parameters:
evt - A GUIEvent generated by the Session Bean.
 o printScreen
 public void printScreen()
Prints the current Screen contents to the default printer.

 o getFont
 public Font getFont()
Returns the current Screen font.

Overrides:
getFont in class Component
See Also:
setFont
 o setFont
 public void setFont(Font f)
Sets the Screen font. The font specified must be a monospaced font.

Parameters:
f - The new font for Screen. Must be a monospaced font.
Overrides:
setFont in class Component
See Also:
getFont
 o getColumns
 public int getColumns()
Returns the number of columns represented on the screen.

 o getRows
 public int getRows()
Returns the number of rows represented on the screen.

 o selectAll
 public void selectAll()
Selects the entire Screen for the purpose of copying or cutting the area.

Note that calls to this method are valid only if the Terminal has been displayed in a visible frame.

 o getSelected
 public Insets getSelected(boolean unMark)
Returns an Insets object containing the coordinates, in Screen rows and columns, for the selected box. If nothing is selected, this method returns null.

Note that calls to this method are valid only if the Terminal has been displayed in a visible frame.

Parameters:
unMark - If true, the selected box is unmarked. Otherwise the selected box is left marked.
 o drawBox
 public void drawBox(int direction)
Draws the cut and paste selection box on the screen.

Parameters:
direction - The direction to draw the box.

Valid values:

  • com.ibm.eNetwork.beans.HOD.Screen.BOX_UP
  • com.ibm.eNetwork.beans.HOD.Screen.BOX_DOWN
  • com.ibm.eNetwork.beans.HOD.Screen.BOX_LEFT
  • com.ibm.eNetwork.beans.HOD.Screen.BOX_RIGHT
 o moveBox
 public void moveBox(int direction)
Moves the cut and paste selection box on the screen.

Parameters:
direction - The direction to move the box.

Valid values:

  • com.ibm.eNetwork.beans.HOD.Screen.BOX_UP
  • com.ibm.eNetwork.beans.HOD.Screen.BOX_DOWN
  • com.ibm.eNetwork.beans.HOD.Screen.BOX_LEFT
  • com.ibm.eNetwork.beans.HOD.Screen.BOX_RIGHT
 o unMark
 public void unMark()
Unmarks the selected box on the Screen.

 o copyToClipboard
 public void copyToClipboard()
Copies the selected box to the clipboard.

 o copyToClipboard
 public void copyToClipboard(boolean append)
Copies the selected box to the clipboard with conditional appending

Parameters:
append - Should the copied data be appended to the current clipboard
 o cutToClipboard
 public void cutToClipboard()
Copies the selected box to clipboard and clears the unprotected areas of the Screen.

 o clearTrimRect
 public void clearTrimRect()
Clears the selected box (all unprotected areas)

 o pasteFromClipboard
 public void pasteFromClipboard()
Pastes the data from the clipboard at the current cursor location.

 o pasteFromClipboard
 public void pasteFromClipboard(boolean next)
Pastes the data from the clipboard at the current cursor location with conditional paste next functionality

Parameters:
next - should the paste start from the last paste complete in the clipboard buffer
 o isMorePasteDataAvailable
 public boolean isMorePasteDataAvailable()
Once a paste or paste next operation occurs, this method returns if there is more data available that did not paste (case where original paste or subsequent paste next hit end of screen)

 o sendKeys
 public void sendKeys(SendKeyEvent evt)
Handler method for SendKeyEvents. Terminal 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
 o remapColor
 public void remapColor(ColorRemapEvent evt)
Handler method for ColorRemapEvents. ColorRemapEvents can be fired to Screen to change the normal colors.

Parameters:
evt - ColorRemapEvent which changes some default color on the Screen.
 o remapBlink
 public void remapBlink(BlinkRemapEvent evt)
Handler method for BlinkRemapEvents. BlinkRemapEvents can be fired to Screen to change the blink properties.

Parameters:
evt - BlinkRemapEvent which changes some default blink property on the Screen.
 o 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
 o removeSendKeyListener
 public synchronized void removeSendKeyListener(SendKeyListener l)
Removes a SendKeyListener.

Overrides:
removeSendKeyListener in class HostTerminal
See Also:
addSendKeyListener, SendKeyEvent
 o addScreenListener
 public synchronized void addScreenListener(ScreenListener l)
Adds a ScreenListener. ScreenListeners are notified when cut/paste boxes are marked, unmarked, moved or resized, or when a valid URL is selected.

Parameters:
l - ScreenListener that receives ScreenEvents
See Also:
removeScreenListener, ScreenEvent
 o removeScreenListener
 public synchronized void removeScreenListener(ScreenListener l)
Removes a ScreenListener.

Parameters:
l - ScreenListener that is removed
See Also:
addScreenListener, ScreenEvent
 o addScreenMouseListener
 public synchronized void addScreenMouseListener(ScreenMouseListener l)
Adds a ScreenMouseListener. ScreenMouseListeners are notified when mouse events occur.

Parameters:
l - ScreenMouseListener that receives ScreenMouseEvents
See Also:
removeScreenMouseListener, ScreenMouseEvent
 o removeScreenMouseListener
 public synchronized void removeScreenMouseListener(ScreenMouseListener l)
Removes a ScreenMouseListener.

Parameters:
l - ScreenMouseListener that is removed
See Also:
addScreenMouseListener, ScreenMouseEvent
 o addScreenMotionListener
 public synchronized void addScreenMotionListener(ScreenMotionListener l)
Adds a ScreenMotionListener. ScreenMotionListeners are notified when mouse motion events occur.

Parameters:
l - ScreenMotionListener that receives ScreenMouseEvents
See Also:
removeScreenMotionListener, ScreenMouseEvent
 o removeScreenMotionListener
 public synchronized void removeScreenMotionListener(ScreenMotionListener l)
Removes a ScreenMotionListener.

Parameters:
l - ScreenMotionListener that is removed
See Also:
addScreenMotionListener, ScreenMouseEvent
 o addMouseListener
 public void addMouseListener(MouseListener l)
Adds a java.awt.event.MouseListener to the Bean. MouseListeners receive a java.awt.event.MouseEvent whenever a mouse event occurs over the Bean.

Parameters:
l - MouseListener that receives MouseEvents.
Overrides:
addMouseListener in class Component
See Also:
removeMouseListener
 o removeMouseListener
 public void removeMouseListener(MouseListener l)
Removes a java.awt.event.MouseListener from the Bean.

Parameters:
l - MouseListener Listener that no longer receives MouseEvents.
Overrides:
removeMouseListener in class Component
See Also:
addMouseListener
 o addMouseMotionListener
 public void addMouseMotionListener(MouseMotionListener l)
Adds a java.awt.event.MouseMotionListener to the Bean. MouseMotionListeners receive a java.awt.event.MouseEvent whenever the mouse is moved over the Bean.

Parameters:
l - MouseMotionListener that receives MouseEvents.
Overrides:
addMouseMotionListener in class Component
See Also:
removeMouseMotionListener
 o removeMouseMotionListener
 public void removeMouseMotionListener(MouseMotionListener l)
Removes a java.awt.event.MouseMotionListener from the Bean.

Parameters:
l - MouseMotionListener Listener that no longer receives MouseEvents.
Overrides:
removeMouseMotionListener in class Component
See Also:
addMouseMotionListener
 o 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
 o 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
 o addFocusListener
 public synchronized void addFocusListener(FocusListener l)
Adds a java.awt.event.FocusListener to the Bean. FocusListeners receive a java.awt.event.FocusEvent whenever the Bean gains or looses focus.

Parameters:
l - FocusListener that receives FocusEvents.
Overrides:
addFocusListener in class Component
See Also:
removeFocusListener
 o removeFocusListener
 public synchronized void removeFocusListener(FocusListener l)
Removes a java.awt.event.FocusListener from the Bean.

Parameters:
l - FocusListener that no longer receives FocusEvents.
Overrides:
removeFocusListener in class Component
See Also:
addFocusListener
 o requestFocus
 public void requestFocus()
Request focus on Terminal.

Overrides:
requestFocus in class Component
 o getTraceName
 public String getTraceName()
returns a trace identifier for this bean

Overrides:
getTraceName in class HODPanelBean
 o getECLSession
 public ECLSession getECLSession()
See Session.getECLSession()

Overrides:
getECLSession in class HostTerminal
 o getSession
 public Session getSession()
Returns the Session bean associated with this Terminal

Overrides:
getSession in class HostTerminal
 o setLUMPort
 public void setLUMPort(int PortNumber) throws PropertyVetoException
 o getLUMPort
 public int getLUMPort()
 o setServiceMgrHost
 public void setServiceMgrHost(String ServerMgrHost) throws PropertyVetoException
 o getServiceMgrHost
 public String getServiceMgrHost()
 o setLUMLicensing
 public void setLUMLicensing(String servertype) throws PropertyVetoException
 o getLUMLicensing
 public String getLUMLicensing()
 o setLUMServer
 public void setLUMServer(String LumServer) throws PropertyVetoException
 o getLUMServer
 public String getLUMServer()
 o setSymmetricSwapEnabled
 public void setSymmetricSwapEnabled(boolean state) throws PropertyVetoException
See Session.setSymmetricSwapEnabled()

Overrides:
setSymmetricSwapEnabled in class HostTerminal
 o isSymmetricSwapEnabled
 public boolean isSymmetricSwapEnabled()
See Session.isSymmetricSwappingEnabled()

Overrides:
isSymmetricSwapEnabled in class HostTerminal
 o setNumericSwapEnabled
 public void setNumericSwapEnabled(boolean state) throws PropertyVetoException
See Session.setNumericSwapEnabled()

Overrides:
setNumericSwapEnabled in class HostTerminal
 o isNumericSwapEnabled
 public boolean isNumericSwapEnabled()
See Session.isSymmetricSwappingEnabled()

Overrides:
isNumericSwapEnabled in class HostTerminal

All Packages  Class Hierarchy  This Package  Previous  Next  Index