indexing
description: "Contains information about a tab control item."
note: "There are two creation procedure. If you want to create the item with make, you will then have to add a wel window by yourself. This window must be create with the tab control as parent and it must be added to the item before the item is added to the tab_control. If you use `make_with_window', you still can set another window, but you will have to do this before to add the item to the tab_control."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_TAB_CONTROL_ITEM
create
make
make_with_window (a_parent: WEL_TAB_CONTROL)
make_by_pointer (a_pointer: POINTER)
itema_pointer
item
a_pointer
WEL_ANY
ensure WEL_ANY
item_set: item = a_pointer
shared: shared
feature
item: POINTER
WEL_ANY
mask: INTEGER
WEL_TCIF_CONSTANTS
text: STRING
ensure
result_not_void: Result /= void
window: WEL_WINDOW
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_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_mask (a_mask: INTEGER)
maska_mask
ensure
mask_set: mask = a_mask
set_text (a_text: STRING)
texta_text
require
a_text_not_void: a_text /= void
ensure
text_set: text.is_equal (a_text)
set_window (a_window: WEL_WINDOW)
a_window
require
a_window_not_void: a_window /= void
inside_window: a_window.is_inside
ensure
window_set: window = a_window
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
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_TAB_CONTROL_ITEM