Class TableColumn

Summary

#
  This class provides one column within a {Table}, which
  displays a table of data.  A column has a label with a
  button which produces an event when clicked.  The column may
  be expanded or contracted by dragging the right edge of the
  button.

  The label is set by calling the {set_label(x)} method of the
  parent class, {TextButton}.

Superclasses:
TextButton

Package:
(main)
File:
tablecolumn.icn
Methods:
check_width, display, handle_event, in_region, resize, set_column_width, set_parent_table

Methods inherited from Button:
clear_is_checked, go_down, go_up, set_img, set_imgs, set_is_checked, set_label, set_no_keyboard, set_parent_button_group, tick, toggle_is_checked

Methods inherited from Component:
accepts_tab_focus, attrib, clear_accepts_tab_focus, clear_draw_border, clear_is_shaded, clear_no_updates, do_shading, error, final_setup, finally, firstly, generate_all_components, generate_components, get_cbwin_reference, get_cwin_reference, get_h_reference, get_parent_Dialog, get_parent_buffer_win, get_parent_win, get_visible_reference, get_w_reference, get_x_reference, get_y_reference, got_focus, handle_notify, is_hidden, is_shaded, is_unhidden, is_unshaded, lost_focus, parse_pos, redisplay, set_abs_coords, set_abs_size, set_accepts_tab_focus, set_align, set_attribs, set_attribs_list, set_draw_border, set_is_shaded, set_no_updates, set_parent_Dialog, set_pos, set_size, set_tooltip, toggle_draw_border, toggle_is_shaded, unique_end, unique_start

Methods inherited from MetaComponent:
set_fields

Methods inherited from TextButton:
set_internal_alignment

Methods inherited from Ticker:
is_ticking, retime_ticker, set_ticker, stop_ticker

Methods inherited from Toggle:
get_status, into_cbg, is_checked, set_parent_check_box_group

Fields:
change_size_mode, column_width, parent_table, temp_pointer

Source code.

Details
Constructor

TableColumn(argv)

Methods:

check_width()


display(buffer_flag)

This method overrides display in class TextButton

handle_event(e)

This method overrides handle_event in class Button

in_region()

This method overrides in_region in class Component

resize()

This method overrides resize in class TextButton

set_column_width(x)

#
  Set the initial width of the column, in pixels; this must be
  specified.
  @param x  The width


set_parent_table(x)


Fields:
change_size_mode

column_width

parent_table

temp_pointer


This page produced by UniDoc on 2021/04/15 @ 23:59:54.