Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "SD_STATE that manage SD_FLOATING_ZONE." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2018-12-18 09:07:47 -0900 (Tue, 18 Dec 2018) $" revision: "$Revision: 102628 $" class interface SD_FLOATING_STATE create make (a_screen_x, a_screen_y: INTEGER_32; a_docking_manager: SD_DOCKING_MANAGER; a_visible: BOOLEAN) -- Creation method require a_docking_manager_not_void: a_docking_manager /= Void ensure set: docking_manager = a_docking_manager feature -- Access generating_type: TYPE [detachable SD_FLOATING_STATE] -- Type of current object -- (type of which it is a direct instance) -- (from ANY) ensure -- from ANY generating_type_not_void: Result /= Void generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) ensure -- from ANY generator_not_void: Result /= Void generator_not_empty: not Result.is_empty feature -- Comparison frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY instance_free: class shallow_implies_deep: standard_equal (a, b) implies Result both_or_none_void: (a = Void) implies (Result = (b = Void)) same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b)) symmetric: Result implies deep_equal (b, a) frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b)) frozen is_deep_equal alias "≡≡≡" (other: SD_FLOATING_STATE): BOOLEAN -- Are Current and other attached to isomorphic object structures? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY shallow_implies_deep: standard_is_equal (other) implies Result same_type: Result implies same_type (other) symmetric: Result implies other.is_deep_equal (Current) is_equal (other: SD_FLOATING_STATE): BOOLEAN -- Is other attached to an object considered -- equal to current object? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY symmetric: Result implies other ~ Current consistent: standard_is_equal (other) implies Result frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached to -- field-by-field identical objects of the same type? -- Always uses default object comparison criterion. -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b)) frozen standard_is_equal alias "" (other: SD_FLOATING_STATE): BOOLEAN -- Is other attached to an object of the same type -- as current object, and field-by-field identical to it? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY same_type: Result implies same_type (other) symmetric: Result implies other.standard_is_equal (Current) feature -- Status report conforms_to (other: ANY): BOOLEAN -- Does type of current object conform to type -- of other (as per Eiffel: The Language, chapter 13)? -- (from ANY) require -- from ANY other_not_void: other /= Void content_count_valid (a_titles: ARRAYED_LIST [READABLE_STRING_GENERAL]): BOOLEAN -- If a_titles vaild? -- (from SD_STATE) require -- from SD_STATE a_titles_not_void: a_titles /= Void debug_output: STRING_32 -- String that should be displayed in debugger to represent Current. -- (from SD_STATE) ensure -- from DEBUG_OUTPUT result_not_void: Result /= Void is_dock_at_top (a_multi_dock_area: SD_MULTI_DOCK_AREA): BOOLEAN -- If `zone` dock at top level of a_multi_dock_area? -- (from SD_STATE) same_type (other: ANY): BOOLEAN -- Is type of current object identical to type of other? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY definition: Result = (conforms_to (other) and other.conforms_to (Current)) feature -- Duplication copy (other: SD_FLOATING_STATE) -- Update current object using fields of object attached -- to other, so as to yield equal objects. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_equal: Current ~ other frozen deep_copy (other: SD_FLOATING_STATE) -- Effect equivalent to that of: -- `copy` (other . `deep_twin`) -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY deep_equal: deep_equal (Current, other) frozen deep_twin: SD_FLOATING_STATE -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_twin_not_void: Result /= Void deep_equal: deep_equal (Current, Result) frozen standard_copy (other: SD_FLOATING_STATE) -- Copy every field of other onto corresponding field -- of current object. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_standard_equal: standard_is_equal (other) frozen standard_twin: SD_FLOATING_STATE -- New object field-by-field identical to other. -- Always uses default copying semantics. -- (from ANY) ensure -- from ANY standard_twin_not_void: Result /= Void equal: standard_equal (Result, Current) frozen twin: SD_FLOATING_STATE -- New object equal to Current -- `twin` calls `copy`; to change copying/twinning semantics, redefine `copy`. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result ~ Current feature -- Basic operations frozen default: detachable SD_FLOATING_STATE -- Default value of object's type -- (from ANY) frozen default_pointer: POINTER -- Default value of type POINTER -- (Avoid the need to write p.`default` for -- some p of type POINTER.) -- (from ANY) ensure -- from ANY instance_free: class default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) ensure -- from ANY instance_free: class feature -- Command clear_docking_manager -- Clear `docking_manager`. -- (from SD_DOCKING_MANAGER_HOLDER) set_docking_manager (a_docking_manager: like docking_manager) -- Set `docking_manager` with a_docking_manager -- (from SD_DOCKING_MANAGER_HOLDER) require -- from SD_DOCKING_MANAGER_HOLDER not_void: a_docking_manager /= Void ensure -- from SD_DOCKING_MANAGER_HOLDER set: is_docking_manager_attached set_size (a_width, a_height: INTEGER_32) -- Set floating zone size update_title_bar -- Update title bar feature -- Commands float (a_x, a_y: INTEGER_32) -- Make current window floating -- (from SD_STATE) hide -- Handle hide zone -- (from SD_STATE) minimize -- Minimize if possible -- (from SD_STATE) on_normal_max_window -- Handle normal\max zone -- (from SD_STATE) require -- from SD_STATE set: attached zone set_split_proportion (a_proportion: REAL_32) -- Set parent splitter proportion to a_proportion if is possible -- (from SD_STATE) show -- Handle show zone -- (from SD_STATE) feature -- Contract support initialized: BOOLEAN -- If ready to be used? -- (from SD_STATE) feature -- Output Io: STD_FILES -- Handle to standard file setup -- (from ANY) ensure -- from ANY instance_free: class io_not_void: Result /= Void out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY out_not_void: Result /= Void print (o: detachable ANY) -- Write terse external representation of o -- on standard output. -- (from ANY) ensure -- from ANY instance_free: class frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY tagged_out_not_void: Result /= Void feature -- Platform Operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) ensure -- from ANY instance_free: class operating_environment_not_void: Result /= Void feature -- Properties change_tab_tooltip (a_tooltip: detachable READABLE_STRING_GENERAL) -- Set notebook tab tooltip if possible -- (from SD_STATE) direction: INTEGER_32 -- Dock top or dock bottom or dock left or dock right? One enumeration from {SD_DOCKING_MANAGER} -- (from SD_STATE) floating_zone: detachable SD_FLOATING_ZONE -- When Current is floating, this is floating zone which Current is in -- Otherwise is Void -- (from SD_STATE) last_floating_height: INTEGER_32 -- Last floating height (At the beginning the height is default floating height from SD_SHARED) -- (from SD_STATE) last_floating_width: INTEGER_32 -- Last floating width (At the beginning the width is default floating width from SD_SHARED) -- (from SD_STATE) set_direction (a_direction: INTEGER_32) -- Set `direction` -- (from SD_STATE) set_last_floating_height (a_height: INTEGER_32) -- Set `last_floating_height` -- (from SD_STATE) require -- from SD_STATE valid: a_height >= 0 ensure -- from SD_STATE set: last_floating_height = a_height set_last_floating_width (a_width: INTEGER_32) -- Set `last_floating_width` -- (from SD_STATE) require -- from SD_STATE valid: a_width >= 0 ensure -- from SD_STATE set: last_floating_width = a_width set_width_height (a_width_height: INTEGER_32) -- Set `width_height` -- (from SD_STATE) require -- from SD_STATE a_widht_height_valid: a_width_height >= 0 ensure -- from SD_STATE set: width_height = a_width_height width_height: INTEGER_32 -- Width of zone if dock_left or dock_right -- Height of zone if dock_top or dock_bottom -- (from SD_STATE) width_height_by_direction: INTEGER_32 -- Width of zone if dock left/right, Height of zone if dock top/bottom -- (from SD_STATE) feature -- Query docking_manager: SD_DOCKING_MANAGER -- Docking manager instance. -- (from SD_DOCKING_MANAGER_HOLDER) inner_container: SD_MULTI_DOCK_AREA -- Main container of Current ensure not_void: Result /= Void is_docking_manager_attached: BOOLEAN -- If `docking_manager` has been set? -- (from SD_DOCKING_MANAGER_HOLDER) feature -- Redefine change_zone_split_area (a_target_zone: SD_ZONE; a_direction: INTEGER_32) -- Change zone position to a_target_zone's parent at a_direction require -- from SD_STATE a_target_zone_not_void: a_target_zone /= Void content_void: BOOLEAN -- If current a_content void? dock_at_top_level (a_multi_dock_area: SD_MULTI_DOCK_AREA) -- Perform a restore require -- from SD_STATE internal_content_not_void: not content_void internal_zone: SD_FLOATING_ZONE move_to_docking_zone (a_target_zone: SD_DOCKING_ZONE; a_first: BOOLEAN) -- Move to a SD_DOCKING_ZONE, then a_target_zone and Current became SD_TAB_ZONE require -- from SD_STATE a_target_zone_not_void: a_target_zone /= Void move_to_tab_zone (a_target_zone: SD_TAB_ZONE; a_index: INTEGER_32) -- Move to a tab zone require -- from SD_STATE a_target_zone_not_void: a_target_zone /= Void record_state -- Record current state set_mini_toolbar (a_toolbar: EV_WIDGET) -- After SD_CONTENT changed mini_toolbar, we update related container's mini toolbar set_user_widget (a_widget: EV_WIDGET) -- After SD_CONTENT changed user_widget, we update related container's widget stick (a_direction: INTEGER_32) -- Stick/Unstick a zone zone: SD_ZONE -- Zone which is managed by Current (if any). feature -- States report value: INTEGER_32 -- State value, see {SD_ENUMERATION} -- State ensure -- from SD_STATE valid: (create {SD_ENUMERATION} end).is_state_valid (Result) invariant -- from SD_STATE last_floating_height_valid: initialized implies last_floating_height >= 0 last_floating_width_valid: initialized implies last_floating_width >= 0 -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) note library: "SmartDocking: Library of reusable components for Eiffel." copyright: "Copyright (c) 1984-2018, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class SD_FLOATING_STATE
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

-- Generated by Eiffel Studio --
For more details: eiffel.org