indexing
description: "The TV_DISPINFO structure retrieves and sets information about a scroll bar item."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_SCROLL_BAR_INFO
create
make
feature
item: POINTER
WEL_ANY
mask: INTEGER
fmask
require
exists: exists
ensure
valid_mask: valid_sif_constant (Result)
maximum: INTEGER
nMax
require
exists: exists
minimum: INTEGER
nMin
require
exists: exists
page: INTEGER
nMax
require
exists: exists
position: INTEGER
nPos
require
exists: exists
track_position: INTEGER
nTrackPos
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_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
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
valid_sif_constant (i: INTEGER): BOOLEAN
i
WEL_SCROLL_BAR_CONSTANTS
feature
set_mask (i: INTEGER)
ifmask
require
exists: exists
valid_mask: valid_sif_constant (i)
set_maximum (i: INTEGER)
nMax
require
exists: exists
set_minimum (i: INTEGER)
nMin
require
exists: exists
set_page (i: INTEGER)
npage
require
exists: exists
set_position (i: INTEGER)
nPos
require
exists: exists
set_track_position (i: INTEGER)
nTrackPos
require
exists: exists
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_SCROLL_BAR_INFO