indexing
description: "Contains information about the placement of a window on the screen."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_WINDOW_PLACEMENT
create
make (a_window: WEL_WINDOW)
a_window
require
a_window_not_void: a_window /= void
a_window_exists: a_window.exists
feature
flags: INTEGER
WEL_WPF_CONSTANTS
item: POINTER
WEL_ANY
maximum_position: WEL_POINT
ensure
result_not_void: Result /= void
minimum_position: WEL_POINT
ensure
result_not_void: Result /= void
normal_position: WEL_RECT
ensure
result_not_void: Result /= void
show_command: INTEGER
WEL_SW_CONSTANTS
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_flags (a_flags: INTEGER)
flagsa_flags
ensure
flags_set: flags = a_flags
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_maximum_position (a_point: WEL_POINT)
maximum_positiona_point
require
a_point_not_void: a_point /= void
set_minimum_position (a_point: WEL_POINT)
minimum_positiona_point
require
a_point_not_void: a_point /= void
set_normal_position (a_rect: WEL_RECT)
normal_positiona_rect
require
a_rect_not_void: a_rect /= void
set_show_command (a_show_command: INTEGER)
show_commanda_show_command
ensure
show_command_set: show_command = a_show_command
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_WINDOW_PLACEMENT