|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--lwh.current
Collects infos on the current state.
Version:
Field Summary | |
<static> lwh.Field |
field
the current host field, or null. |
<static> int |
offset
the current offset in the current host field; 0..field.length-1. |
Constructor Summary | |
lwh.current
()
Collects infos on the current state. |
Method Summary | |
<static> Object_x_y
|
host2screen(<int> row, <int> col)
Converts the specified host postion to screen coordinates [px]. |
<static> boolean
|
insert(<boolean> value)
setter/getter/toggle for the host insert mode. |
<static> boolean
|
isHostNode(<Node> node)
Returns true, if the specified Node is a LogWeb mainframe host field. |
<static> _LogwebName_value
|
login()
Copy of the login parameters. |
<static> boolean
|
nsp3270(<boolean> value)
setter/getter/toggle for the 3270 Null/Space processing mode. |
<static> void
|
pos(<int_Field_String> row, <int> col)
Sets current position to host coordinates (row, col) or to host Field, and shows Cursor. |
<static> Object
|
posField(<lwh.Field_or_ix> field)
Sets current position to start of Field and shows Cursor. |
<static> String_Array
|
screen(<Object_row_col> start, <Object_row_col> end, <Object> options)
Returns the specified extract of the current screen text. |
<static> Object_row_col
|
screen2host(<int> x, <int> y)
Converts the specified screen pixel postion (x, y) to host coordinates (row, col). |
<static> String
|
session(<String> value)
setter/getter for the current session state. |
<static> void
|
statusline()
Updates host status line with current values. |
Field Detail |
<static> lwh.Field field
<static> int offset
Constructor Detail |
lwh.current()
Method Detail |
<static> Object_x_y host2screen(<int> row, <int> col)
row
- the host row, or the screen offset (if col is not specified)
col
- the host column; if missing: row is the screen offset
<static> boolean insert(<boolean> value)
value
- optional: the new value; if missing: simply returns the current value if null: inverts the current value
<static> boolean isHostNode(<Node> node)
node
- the Node under test
<static> _LogwebName_value login()
<static> boolean nsp3270(<boolean> value)
value
- optional: the new value; if missing: simply returns the current value if null: inverts the current value
<static> void pos(<int_Field_String> row, <int> col)
row
- the host row number (0..lwh.host.rows-1); if 2nd argument col is missing: specifies the host field instead, either per name (e.g. "__010010001", or per name including offset ("__010010001.4" ), or per index into lwh.host.fields[], or per host Field.
col
- the host column number, 0..lwh.host.cols-1; if missing: 1st argument (row) specifies the field
<static> Object posField(<lwh.Field_or_ix> field)
field
- the Field, or the name of the Field, or the index of the Field in lwh.host.fields[]
<static> String_Array screen(<Object_row_col> start, <Object_row_col> end, <Object> options)
start
- optional: the starting point ("anchor") of the extract; row = 0..rowMax, col = 0..colMax
end
- optional: the ending point of the extract; must be specified if start is specified; row = 0..rowMax, col = 0..colMax+1 (note: col is EXCLUSIVE).
options
- optional: <static> Object_row_col screen2host(<int> x, <int> y)
x
- the screen x position [px]; if argument y missing: the position object with elements x and y
y
- the screen y position [px]; if missing: argument x is the position object with elements x and y
<static> String session(<String> value)
value
- optional: the new value; if missing: simply returns the current value
<static> void statusline()
|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |