Automatic generation produced by ISE Eiffel
note description: "SD_ZONE that contains mulit SD_CONTENTs." 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 $" deferred class interface SD_MULTI_CONTENT_ZONE feature -- Access generating_type: TYPE [detachable SD_MULTI_CONTENT_ZONE] -- 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_MULTI_CONTENT_ZONE): 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_MULTI_CONTENT_ZONE): 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_MULTI_CONTENT_ZONE): 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 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_MULTI_CONTENT_ZONE) -- 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_MULTI_CONTENT_ZONE) -- 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_MULTI_CONTENT_ZONE -- 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_MULTI_CONTENT_ZONE) -- 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_MULTI_CONTENT_ZONE -- 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_MULTI_CONTENT_ZONE -- 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_MULTI_CONTENT_ZONE -- 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 change_tab_tooltip (a_content: SD_CONTENT; a_tooltip: detachable READABLE_STRING_GENERAL) -- Change a_content tab's tooltip to a_tooltip require not_void: a_content /= Void has: has (a_content) clear_docking_manager -- Clear `docking_manager`. -- (from SD_DOCKING_MANAGER_HOLDER) close -- Close window. -- (from SD_ZONE) extend (a_content: SD_CONTENT) -- Set a_content with Current. require -- from SD_ZONE a_content_not_void: a_content /= Void ensure then extended: contents.has (a_content) internal_notebook.has (a_content) selected: internal_notebook.selected_item_index = internal_notebook.index_of (a_content) extend_contents (a_contents: LIST [SD_CONTENT]) -- Extend a_contents -- This feature is faster than extend one by one require not_void: a_contents /= Void on_normal_max_window -- Normal or max Current -- (from SD_ZONE) prune (a_content: SD_CONTENT; a_focus: BOOLEAN) -- Prune a_content from Current require a_content_not_void: a_content /= Void has_content: has (a_content) ensure pruned: not has (a_content) pruned: not internal_notebook.has (a_content) recover_to_normal_state -- If Current maximized, then normal Current. -- (from SD_ZONE) replace_user_widget (a_content: SD_CONTENT) -- Replace user_widget which is related to a_content require has: has (a_content) 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_focus_color (a_focus: BOOLEAN) -- Set title bar focuse color -- (from SD_ZONE) set_last_floating_height (a_height: INTEGER_32) -- Set last_floating_height of a zone's state require -- from SD_ZONE valid: a_height >= 0 ensure -- from SD_ZONE set: has_content implies content.state.last_floating_height = a_height set_last_floating_width (a_width: INTEGER_32) -- Set last_floating_width of zone's state require -- from SD_ZONE vaild: a_width >= 0 ensure -- from SD_ZONE set: has_content implies content.state.last_floating_width = a_width set_max (a_max: BOOLEAN) -- Set if current is maximized -- (from SD_ZONE) set_non_focus_selection_color -- Set title bar non-focuse color -- (from SD_ZONE) update_mini_tool_bar (a_content: SD_CONTENT) -- Replace mini_toolbar which is related to a_content update_mini_tool_bar_size -- Update mini tool bar size since client programmers mini tool bar widget size changed -- (from SD_ZONE) 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 -- Query child_zone_count: INTEGER_32 -- How many zones in Current? -- (from SD_ZONE) content: SD_CONTENT -- Content which Current holds require -- from SD_ZONE has_content: has_content valid: is_floating_zone implies child_zone_count = 1 ensure -- from SD_ZONE not_void: Result /= Void ensure then not_void: Result /= Void contents: ARRAYED_LIST [SD_CONTENT] -- SD_CONTENTs managed by Current count: INTEGER_32 -- How many SD_CONTENT in Current? docking_manager: SD_DOCKING_MANAGER -- Docking manager instance. -- (from SD_DOCKING_MANAGER_HOLDER) has_content: BOOLEAN -- Has content? is_docking_manager_attached: BOOLEAN -- If `docking_manager` has been set? -- (from SD_DOCKING_MANAGER_HOLDER) is_floating_zone: BOOLEAN -- Is current an instance of SD_FLOATING_ZONE? -- (from SD_ZONE) is_maximized: BOOLEAN -- If current maximized? -- (from SD_ZONE) last_content: SD_CONTENT -- Last content when there is at least one widget require only_one_content: count > 0 ensure not_void: Result /= Void state: SD_STATE -- State which Current is -- (from SD_ZONE) ensure -- from SD_ZONE not_void: Result /= Void tabs_shown: HASH_TABLE [SD_NOTEBOOK_TAB, INTEGER_32] -- Tabs which is shown type: INTEGER_32 -- Type -- (from SD_ZONE) feature -- States report has (a_content: SD_CONTENT): BOOLEAN -- Current has a_content? require -- from SD_ZONE a_content_not_void: a_content /= Void index_of (a_content: SD_CONTENT): INTEGER_32 -- Index of ith occurrence of a_content require a_content_not_void: a_content /= Void only_one_content: BOOLEAN -- If there only one SD_CONTENT in Current? invariant -- from SD_ZONE is_widget: attached {EV_WIDGET} Current internal_shared_not_void: internal_shared /= Void -- 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_MULTI_CONTENT_ZONE -- Generated by Eiffel Studio --
For more details: eiffel.org