A scrollable editable text area. An CONTENT_CHANGED_EVENT is generated whenever the contents are changed by the user, a CURSOR_MOVED_EVENT when the cursor moves, and a SELECTION_CHANGED_EVENT whenver the selection changes.
| Class summary |
| Methods inherited from gui::LineBasedScrollArea |
| ensure_row_visible(row) get_curr_lines() get_first_line() get_last_line() get_left_pos() get_line_under_pointer() get_max_lines() get_subject_height() get_subject_horizontal_increment() get_subject_vertical_increment() goto_pos(line, horiz) init() |
| Variables inherited from gui::LineBasedScrollArea |
| line_height |
| Methods inherited from gui::DrawScrollArea |
| create_view() |
| Methods inherited from gui::ScrollArea |
| compute_and_invalidate() create_view() display(buffer_flag) get_areax() get_areay() get_subject_height() get_subject_horizontal_increment() get_subject_vertical_increment() refresh(redraw) |
| Variables inherited from gui::ScrollArea |
| hsb last_refresh_x last_refresh_y view vsb |
| Variables inherited from gui::Component |
| accel accepts_focus_flag allow_drag_flag allow_drop_flag attribs cbwin children cwin draw_border_flag h h_spec has_focus is_shaded_flag parent parent_dialog pointer ticker tooltip valid w w_spec x x_align x_spec y y_align y_spec |
| Methods inherited from lang::Object |
| clone(seen) equals(other, seen) get_class() get_class_name() get_id() hash_code(depth, seen) is_instance(name) to_string(depth, seen) |
| Methods inherited from util::Connectable |
| connect(obj, meth, type) disconnect(l) fire(type, param) fire_event(e) |
| Variables inherited from util::Connectable |
| listeners |
| Variables defined in this class |
| changed contents cursor_x cursor_y direction is_held line_splitter long_line mark_x mark_y old_cursor_x old_cursor_y old_has_region old_mw old_view_list_size printable tab_width undo_manager view_list wrap_mode |
| Method detail |
&null, "false", "off", "no", meaning don't do word-wrap (the default).
an integer (eg 20), meaning wrap at that line length.
"width", meaning wrap at the width of the component.
| Variable detail |