INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Control that displays a hierarchical list of items. ", "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_TREE_VIEW
inherit

WEL_CONTROL
end

WEL_TVS_CONSTANTS
export
{NONE}
all
end

WEL_TVM_CONSTANTS
export
{NONE}
all
end

WEL_TVGN_CONSTANTS
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 a tree view control.
require
a_parent_not_void: a_parent /= void
ensure
exists: exists
parent_set: parent = a_parent
id_set: id = an_id
feature -- Access

last_item: INTEGER
feature -- Status report

count: INTEGER
-- Number of items in the tree view window
require
exists: exists
ensure
positive_result: Result >= 0

visible_count: INTEGER
-- Number of items that will fit into the tree
-- view window
require
exists: exists
ensure
positive_result: Result >= 0

indent: INTEGER
-- Amout, in pixels, that child items are indented
-- relative to their parent items.
require
exists: exists
feature -- Status setting

select_item (an_item: WEL_TREE_VIEW_ITEM)
-- Set the selection to the given `an_item'.
require
exists: exists

select_first_visible (an_item: WEL_TREE_VIEW_ITEM)
-- Scrolls the tree view vertically so that
-- the given `an_item' is the first visible item.
require
exists: exists

select_drop_target (an_item: WEL_TREE_VIEW_ITEM)
-- Redraw the given `an_item' in the style used to
-- indicate the target of a drag and drop operation.
require
exists: exists

set_indent (an_indent: INTEGER)
-- Set `indent' with `an_indent'.
require
exists: exists
feature -- Element change

insert_item (an_item: WEL_TREE_VIEW_INSERT_STRUCT)
-- Insert `an_item'.
require
exists: exists
an_item_not_void: an_item /= void
ensure
new_count: count = count + 1
end -- class WEL_TREE_VIEW

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES