com.ibm.eNetwork.HOD.customizable Interface HODPrintSession

All Superinterfaces:
HODSession
public interface HODPrintSession
extends HODSession

Field Summary

Fields inherited from interface com.ibm.eNetwork.HOD.customizable.HODSession
FUNCTION_ALLOWED,
                                        FUNCTION_DISABLED, FUNCTION_EXECUTED, FUNCTION_INVALID, FUNCTION_NOT_ALLOWED, STRING_RETURN_CODES

Method Summary
com.ibm.eNetwork.beans.HOD.HostPrintTerminal getTerminal() Gets the HostPrintTerminal (which is a JPanel) component used by the session.
javax.swing.JPanel getTextOIA() Gets the Textual OIA
boolean isTextualOIAVisible() Returns true if the session is configured to start with Textual OIA visible.
int showPrinterSettings() Shows the panel to set the Printer settings for the session.

Methods inherited from interface com.ibm.eNetwork.HOD.customizable.HODSession
close, connect, disconnect, getHODMenubar, getStatusBar, isConnected, isStatusBarVisible, showProblemDetermination

Method Detail

getTerminal

public com.ibm.eNetwork.beans.HOD.HostPrintTerminal getTerminal()
Gets the HostPrintTerminal (which is a JPanel) component used by the session. It is a java.awt.Panel for the JDK 1.1 code. For more information on the capabilities of a HostPrintTerminal object, you will need to install the Host Access Toolkit.

showPrinterSettings

public int showPrinterSettings()
Shows the panel to set the Printer settings for the session.

The return code indicates if the method was successful.

The possible values are

ConstantDescription
HODSession.FUNCTION_EXECUTEDFunction was successful
HODSession.FUNCTION_DISABLEDFunction not allowed because it is disabled
HODSession.FUNCTION_NOT_ALLOWEDFunction not allowed at this time

getTextOIA

public javax.swing.JPanel getTextOIA()
Gets the Textual OIA