|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--lwh.select
These functions replace the Browser select functions:
Field Summary | |
<static> {Object_row_col} |
base
the base host position: row, col. |
<static> {boolean} |
isBlock
true if block select mode; else: lines select mode. |
<static> lw.Popup |
popup
the select popup, or null. |
<static> {String_Array} |
text
the currently selected screen text. |
Constructor Summary | |
lwh.select
()
The select functions for host screens. |
Method Summary | |
<static> String
|
get(<boolean> isHidden)
Returns the currently selected text String. |
<static> void
|
make(start, end, <boolean> isBlock)
Shows the specified selection of the current screen text. |
<static> boolean
|
show(mode)
Shows or hides the current selection. |
<static> void
|
start(<boolean> isBlock, <String_Function> action)
Starts text selection via mouse dragging. |
Field Detail |
<static> {Object_row_col} base
<static> {boolean} isBlock
<static> lw.Popup popup
<static> {String_Array} text
Constructor Detail |
lwh.select()
Method Detail |
<static> String get(<boolean> isHidden)
isHidden
- optional: if true, returns text String even if selection is not visible; else: returns empty String if selection is hidden.
<static> void make(start, end, <boolean> isBlock)
isBlock
- if true, shows a text block selection around the starting point; else: shows a text lines selection.
rowStart
- the first row of the selection; 0..rowMax
colStart
- the first column of the selection; 0..colMax
rowEnd
- the last row of the selection; 0..rowMax
colEnd
- the last column of the selection (EXCLUSIVE); 0..colMax+1
<static> boolean show(mode)
optional
- mode if true: shows the selection on the screen (if any); else: hides the selection. If not specified: returns current visibility.
<static> void start(<boolean> isBlock, <String_Function> action)
isBlock
- if true, selects a text block; else, selects lines of text
action
- the function or the Menu name to be called on completion
|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |