|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ECLPSBIDIServices interface provides access to the bidirectional (BIDI) language properties in an ECLPS object. An ECLPSBIDIServices object is only available when using bidirectional code pages (420, 424, or 803) in 3270/5250 Sessions.
ECLPS.GetPSBIDIServices()
Field Summary | |
static java.lang.String |
CONTEXTUAL
Numerals Shape property value - CONTEXTUAL, this value only applies to Arabic hosts |
static java.lang.String |
LAMALEF_OFF
LamAlef property value - LAMALEFOFF, this value only applies to Arabic 5250 hosts |
static java.lang.String |
LAMALEF_ON
LamAlef property value - LAMALEFON, this value only applies to Arabic 5250 hosts |
static java.lang.String |
LEFT_TO_RIGHT
TextOrientation property value - LEFTTORIGHT |
static java.lang.String |
LOGICAL
TextType property value - LOGICAL |
static java.lang.String |
NATIONAL
Numerals Shape property value - NATIONAL, this value only applies to Arabic hosts |
static java.lang.String |
NOMINAL
Numerals Shape property value - NOMINAL, this value only applies to Arabic hosts |
static java.lang.String |
RIGHT_TO_LEFT
TextOrientation property value - RIGHTTOLEFT |
static java.lang.String |
ROUNDTRIP_OFF
RoundTrip property value - OFF |
static java.lang.String |
ROUNDTRIP_ON
RoundTrip property value - ON |
static java.lang.String |
VISUAL
TextType property value - VISUAL |
Method Summary | |
java.lang.String |
ConvertLogicalToVisual(java.lang.String inputBuffer,
boolean isLTRImplicit,
boolean isLTRVisual)
Converts the Given String From Implicit To Visual Format and returns the Visual Format of the String |
java.lang.String |
ConvertVisualToLogical(java.lang.String inputBuffer,
boolean isLTRVisual,
boolean isLTRImplicit)
Converts the Given String From Visual To Implicit Format and returns the Implicit Format of the String |
java.lang.String |
GetLamAlef()
Returns the current value of the LamAlef property. |
java.lang.String |
GetNumeralShape()
Determines whether numeral shape is Nominal, National or Contextual for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods. |
boolean |
getNumericSwap()
Returns the current value of Numeric Swapping. |
java.lang.String |
GetRoundTrip()
Determines whether RoundTrip is on or off for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods. |
boolean |
getSymmetricSwap()
Returns the current value of Directional Swapping. |
java.lang.String |
GetTextOrientation()
Determines whether text orientation is Left To Right or Right To Left for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods |
java.lang.String |
GetTextType()
Determines whether text type is Visual or Logical for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods. |
boolean |
is5250AutoEnterField(int pos)
|
boolean |
isAutoReversed()
Returns true, if mode AutoReverse is ON, and false, if OFF |
boolean |
IsBIDINumericField(int pos)
Returns true, if current field is Numeric, and false, if not. |
boolean |
isField5250RTL(int pos)
Returns true, if orientation of Field in 5250 Session is RTL, and false, if not |
boolean |
isFieldReversed()
Returns true, if current field is reversed, and false, if not |
boolean |
IsNumericField(int value)
Returns true, if current field is Numeric and false, if not. |
boolean |
isPushMode()
|
boolean |
isRTLScreen()
Returns true, if Screen orientation is RTL and false, if not |
void |
processFirstNumericField(int value)
Sets the cursor position of the first active numeric field to properly position. |
void |
SetBIDICursorPos(int pos)
Sets the cursor position to the specified row and column. |
void |
SetBIDICursorPos(int pos,
boolean flag)
|
void |
SetBIDICursorPos(int row,
int col)
Sets the BIDI cursor position to the specified linear position. |
void |
setFieldReverse(boolean frev)
|
void |
SetLamAlef(java.lang.String tt)
Sets the LamAlef property. |
void |
SetNumeralShape(java.lang.String ns)
Sets whether numeral shape is Nominal, National or Contextual for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods. |
void |
setNumericFromSC()
|
void |
setNumericSwap(boolean value)
Sets the Numeric Swapping value.Determines whether Numeric Swapping in RTL screens is enabled/disabled. |
void |
SetRoundTrip(java.lang.String to)
Sets whether RoundTrip is on or off for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods. |
void |
setSymmetricSwap(boolean value)
Sets the Symmetric Swapping value (Directional Swapping). |
void |
SetTextOrientation(java.lang.String to)
Sets whether text orientation is Left To Right or Right To Left for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods. |
void |
SetTextType(java.lang.String tt)
Sets whether text type is Visual or Logical for string which will be sent to the presentation space by the ECLPS.SetString() and the ECLPS.SetText() methods. |
void |
shapeMacro(boolean value)
|
Field Detail |
public static final java.lang.String NOMINAL
public static final java.lang.String NATIONAL
public static final java.lang.String CONTEXTUAL
public static final java.lang.String VISUAL
public static final java.lang.String LOGICAL
public static final java.lang.String LEFT_TO_RIGHT
public static final java.lang.String RIGHT_TO_LEFT
public static final java.lang.String LAMALEF_ON
public static final java.lang.String LAMALEF_OFF
public static final java.lang.String ROUNDTRIP_ON
public static final java.lang.String ROUNDTRIP_OFF
Method Detail |
public void SetNumeralShape(java.lang.String ns) throws ECLErr
ns
- Can be one of the following string constants:
ECLErr
- Thrown if the specified value is
invalid.GetNumeralShape()
,
NOMINAL
,
NATIONAL
,
CONTEXTUAL
public java.lang.String GetNumeralShape()
SetNumeralShape(java.lang.String)
public void SetTextType(java.lang.String tt) throws ECLErr
tt
- Can be one of the following string constants:
ECLErr
- Thrown if the specified value is
invalid.GetTextType()
,
VISUAL
,
LOGICAL
public java.lang.String GetTextType()
SetTextType(java.lang.String)
,
VISUAL
,
LOGICAL
public void SetTextOrientation(java.lang.String to) throws ECLErr
to
- Can be one of the following string constants:
ECLErr
- Thrown if the specified value is
invalid.GetTextOrientation()
,
LEFT_TO_RIGHT
,
RIGHT_TO_LEFT
public java.lang.String GetTextOrientation()
SetTextOrientation(java.lang.String)
,
LEFT_TO_RIGHT
,
RIGHT_TO_LEFT
public void SetRoundTrip(java.lang.String to) throws ECLErr
to
- Can be one of the following string constants:
ECLErr
- Thrown if the specified value is
invalid.GetRoundTrip()
,
ROUNDTRIP_ON
,
ROUNDTRIP_OFF
public java.lang.String GetRoundTrip()
SetRoundTrip(java.lang.String)
,
ROUNDTRIP_ON
,
ROUNDTRIP_OFF
public void SetBIDICursorPos(int pos, boolean flag) throws ECLErr
public void SetBIDICursorPos(int pos) throws ECLErr
row
- The new row coordinate of the cursor position.
This number must be between 1 and the number
of rows in the presentation space inclusive.column
- The new column coordinate of the cursor position.
This number must be between 1 and the number
of columns in the presentation space inclusive.ECLErr
- Thrown when the coordinates given are out of
range.SetBIDICursorPos(int)
public void SetBIDICursorPos(int row, int col) throws ECLErr
pos
- The new linear cursor position.
This number must be between 1 and the size
of the presentation space inclusive.ECLErr
- Thrown when the given position is out of
range.SetBIDICursorPos(int, int)
public void SetLamAlef(java.lang.String tt) throws ECLErr
tt
- Can be one of the following string constants:
ECLErr
- Thrown if the specified value is
invalid.GetLamAlef()
,
LAMALEF_ON
,
LAMALEF_OFF
public java.lang.String GetLamAlef()
SetLamAlef(java.lang.String)
,
LAMALEF_ON
,
LAMALEF_OFF
public void setNumericSwap(boolean value)
value
- The new Numeric Swapping valuesetNumericSwap(boolean)
public boolean getNumericSwap()
setNumericSwap(boolean)
public void setSymmetricSwap(boolean value)
value
- The new Symmetric Swapping valuesetSymmetricSwap(boolean)
public boolean getSymmetricSwap()
setSymmetricSwap(boolean)
public void processFirstNumericField(int value)
value
- Current linear cursor position.processFirstNumericField(int)
public boolean IsNumericField(int value)
value
- Current linear cursor position.IsNumericField(int)
public boolean isRTLScreen()
isRTLScreen()
public boolean isField5250RTL(int pos)
pos
- Current linear cursor position.isField5250RTL(int)
public boolean isFieldReversed()
isFieldReversed()
public boolean IsBIDINumericField(int pos)
pos
- Current linear cursor position.IsBIDINumericField(int)
public boolean isAutoReversed()
isAutoReversed()
public void setNumericFromSC()
public void setFieldReverse(boolean frev)
public boolean is5250AutoEnterField(int pos)
public boolean isPushMode()
public void shapeMacro(boolean value)
public java.lang.String ConvertVisualToLogical(java.lang.String inputBuffer, boolean isLTRVisual, boolean isLTRImplicit)
inputBuffer
- The input String in Visual formatisLTRVisual
- if true, Input Buffer is in Visual LeftToRight formisLTRImplicit
- if true, Output Buffer is in Implicit LeftToRight formConvertLogicalToVisual(String, boolean, boolean)
public java.lang.String ConvertLogicalToVisual(java.lang.String inputBuffer, boolean isLTRImplicit, boolean isLTRVisual)
inputBuffer
- The input String in Implicit formatisLTRImplicit
- if true, Input Buffer is in Implicit LeftToRight formisLTRVisual
- if true, Output Buffer is in Visual LeftToRight formConvertVisualToLogical(String, boolean, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |