indexing
description: "Contains information about a rebar control band."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_REBARBANDINFO
create
make
make_with_id (an_id: INTEGER)
an_id
make_by_pointer (a_pointer: POINTER)
itema_pointer
item
a_pointer
WEL_ANY
ensure WEL_ANY
item_set: item = a_pointer
shared: shared
feature
background_color: WEL_COLOR_REF
require
exists: exists
ensure
color_not_void: Result /= void
child: WEL_WINDOW
require
exists: exists
child_minimum_height: INTEGER
require
exists: exists
ensure
positive_result: Result >= 0
child_minimum_width: INTEGER
require
exists: exists
ensure
positive_result: Result >= 0
foreground_color: WEL_COLOR_REF
require
exists: exists
ensure
color_not_void: Result /= void
id: INTEGER
id
require
exists: exists
item: POINTER
WEL_ANY
length: INTEGER
length
require
exists: exists
ensure
positive_result: Result >= 0
mask: INTEGER
WEL_RBBIM_CONSTANTS
require
exists: exists
style: INTEGER
WEL_RBBS_CONSTANTS
require
exists: exists
text: STRING
require
exists: exists
feature
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
set_background_bitmap (bmp: WEL_BITMAP)
background_bitmapbmp
require
exists: exists
bitmap_not_void: bmp /= void
set_background_color (color: WEL_COLOR_REF)
background_colorcolor
require
exists: exists
color_not_void: color /= void
ensure
color_set: background_color.is_equal (color)
set_child (window: WEL_WINDOW)
childwindow
set_reposition_child
require
exists: exists
window_not_void: window /= void
window_is_inside: window.is_inside
ensure
window_set: child.is_equal (window)
set_child_minimum_height (value: INTEGER)
child_minimum_heightvalue
require
exists: exists
valid_value: value >= 0
ensure
value_set: child_minimum_height = value
set_child_minimum_width (value: INTEGER)
child_minimum_widthvalue
require
exists: exists
valid_value: value >= 0
ensure
value_set: child_minimum_width = value
set_foreground_color (color: WEL_COLOR_REF)
foreground_colorcolor
require
exists: exists
color_not_void: color /= void
ensure
color_set: foreground_color.is_equal (color)
set_id (value: INTEGER)
idvalue
require
exists: exists
ensure
id_set: id = value
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_length (value: INTEGER)
lengthvalue
require
exists: exists
valid_value: value >= 0
ensure
length_set: length = value
set_style (value: INTEGER)
cbSizevalue
require
exists: exists
ensure
style_set: style = value
set_text (txt: STRING)
texttxt
require
exists: exists
a_text_not_void: txt /= void
ensure
text_set: text.is_equal (txt)
set_unpositionable_child (window: WEL_WINDOW)
childwindow
set_reposition_child
require
exists: exists
window_not_void: window /= void
window_is_inside: window.is_inside
ensure
window_set: child.is_equal (window.parent)
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
memory_copy (source_pointer: POINTER; length: INTEGER)
lengthsource_pointeritem
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
feature
clear_mask
mask
require
exists: exists
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_REBARBANDINFO