com.ibm.eNetwork.ECL
Interface ECLPSTHAIServices


public interface ECLPSTHAIServices

The ECLPSTHAIServices interface provides access to the THAI properties in a THAI ECLPS object. An ECLPSTHAIServices object is only available when using Thai codepages (838 or 1160) in 3270, 5250 and VT sessions.

See Also:
ECLPS.GetPSTHAIServices()

Method Summary
 int GetNormalCursorCol(int thcol, int row)
          Returns normal cursor column.
 int GetThaiCursorCol(int col, int row)
          Returns Thai unique cursor column.
 byte GetThaiCursorLevel(int col, int row)
          Returns Thai unique cursor level.
 int GetThaiDisplayMode()
          Returns the current setting of the ThaiDisplayMode property.
 void SetThaiDisplayMode(int mode)
          Sets the ThaiDisplayMode property (1-5).
 

Method Detail

SetThaiDisplayMode

public void SetThaiDisplayMode(int mode)
                        throws ECLErr
Sets the ThaiDisplayMode property (1-5). This method only applies to Thai hosts.
Parameters:
mode - Can be one of the following integers:
  • 1 Non-composed mode.
  • 2 Composed mode.
  • 3 Composed mode with space alignment.
  • 4 Composed mode with EOF alignment.
  • 5 Composed mode with space and EOF alignment.
Throws:
ECLErr - Thrown on improper value(s).
See Also:
GetThaiDisplayMode()

GetThaiDisplayMode

public int GetThaiDisplayMode()
Returns the current setting of the ThaiDisplayMode property.
See Also:
SetThaiDisplayMode(int)

GetThaiCursorCol

public int GetThaiCursorCol(int col,
                            int row)
Returns Thai unique cursor column.
Parameters:
col - : normal cursor column.
row - : normal cursor row.

GetThaiCursorLevel

public byte GetThaiCursorLevel(int col,
                               int row)
Returns Thai unique cursor level.
Parameters:
col - : normal cursor column.
row - : normal cursor row.

GetNormalCursorCol

public int GetNormalCursorCol(int thcol,
                              int row)
Returns normal cursor column.
Parameters:
thcol - : Thai unique cursor column.
row - : normal cursor row.