INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "This control is a pair of arrow buttons that the user ", "can click to increment or decrement a value. ", "note: The common controls dll (WEL_COMMON_CONTROLS_DLL) ", " needs to be loaded to use this control. ", "WEL: library of reusable components for Eiffel. ", "Based on WEL library for ISE Eiffel, used with permission. "
project: "Windows Eiffel Library"
copyright: "(c) 1986-1997 Interactive Software Engineering Inc. ", "Modifications and extensions: ", "(c) 1997-2001 Object Tools ", "All rights reserved. Duplication and distribution prohibited", "May be used only with Visual Eiffel under terms of user ", "license "
cluster: wel
class WEL_UP_DOWN_CONTROL
inherit

WEL_BAR
end

WEL_UDM_CONSTANTS
export
{NONE}
all
end

WEL_UDS_CONSTANTS
export
{NONE}
all
end

WEL_WINDOW_MANAGER
export
{NONE}
all
end
creation

make,
make_by_id
feature {NONE}-- Initialization

make (a_parent: WEL_WINDOW; a_x, a_y, a_width, a_height, an_id: INTEGER)
-- Make an up-down control.
require
a_parent_not_void: a_parent /= void
ensure
exists: exists
parent_set: parent = a_parent
id_set: id = an_id
feature -- Access

position: INTEGER
-- Current position

minimum: INTEGER
-- Minimum position

maximum: INTEGER
-- Maximum position

buddy_window: WEL_WINDOW
-- Current buddy window
require
exists: exists
feature -- Element change

set_position (a_position: INTEGER)
-- Set `position' with `new_position'.

set_range (a_minimum, a_maximum: INTEGER)
-- Set `minimum' and `maximum' with `a_minimum' and
-- `a_maximum'.

set_buddy_window (a_window: WEL_WINDOW)
-- Set the buddy window with `a_window'.
require
exists: exists
a_window_not_void: a_window /= void
a_window_exists: a_window.exists
ensure
window_set: buddy_window = a_window
feature -- Status setting

set_decimal_base
-- Set the radix base to decimal.
require
exists: exists
ensure
decimal_base: decimal_base

set_hexadecimal_base
-- Set the radix base to hexadecimal.
require
exists: exists
ensure
hexadecimal_base: hexadecimal_base
feature -- Status report

decimal_base: BOOLEAN
-- Is the base decimal?
require
exists: exists

hexadecimal_base: BOOLEAN
-- Is the base hexadecimal?
require
exists: exists
end -- class WEL_UP_DOWN_CONTROL

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES