Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "Tabs in SD_NOTEBOOK" legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2021-10-27 08:43:29 -0800 (Wed, 27 Oct 2021) $" revision: "$Revision: 105898 $" class interface SD_NOTEBOOK_TAB create make (a_notebook: SD_NOTEBOOK; a_top: BOOLEAN; a_docking_manager: SD_DOCKING_MANAGER) -- Creation method require not_void: a_notebook /= Void not_void: a_docking_manager /= Void ensure set: internal_notebook = a_notebook set: docking_manager = a_docking_manager feature -- Access generating_type: TYPE [detachable SD_NOTEBOOK_TAB] -- 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_NOTEBOOK_TAB): 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_NOTEBOOK_TAB): 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_NOTEBOOK_TAB): 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 is_hashable: BOOLEAN -- May current object be hashed? -- (True by default.) -- (from HASHABLE) 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_NOTEBOOK_TAB) -- 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_NOTEBOOK_TAB) -- 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_NOTEBOOK_TAB -- 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_NOTEBOOK_TAB) -- 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_NOTEBOOK_TAB -- 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_NOTEBOOK_TAB -- 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_NOTEBOOK_TAB -- 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) clear_pressed_flag -- Set `is_pointer_pressed` to False -- Clear `first_press_position` data require not_destroyed: not is_destroyed destroy -- Destory ensure cleared: parent = Void destroyed: is_destroyed hide -- Hide require not_destroyed: not is_destroyed is_enough_space: BOOLEAN -- If Current have enough space? 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_draw_pixmap -- Set `internal_draw_pixmap`. require not_destroyed: not is_destroyed set_drop_actions (a_actions: SD_CONTENT_PND_ACTION_SEQUENCE) -- Set drop actions to Current require not_destroyed: not is_destroyed a_actions_not_void: a_actions /= Void ensure set: drop_actions = a_actions set_enough_space -- Set current is enought space to show require not_destroyed: not is_destroyed ensure set: is_enough_space set_tool_tip (a_text: detachable READABLE_STRING_GENERAL) -- Set `tool_tip` with a_text require not_destroyed: not is_destroyed ensure set: a_text /= Void implies (attached tool_tip as l_tooltip and then l_tooltip.same_string_general (a_text)) set_width_not_enough_space (a_width: INTEGER_32) -- Set current width require not_destroyed: not is_destroyed a_width_valid: a_width >= 0 ensure set: not is_enough_space show -- Show require not_destroyed: not is_destroyed 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 font: detachable EV_FONT -- Font info: SD_NOTEBOOK_TAB_INFO -- Information used for draw tabs is_focused: BOOLEAN -- If Current focused? is_selected: BOOLEAN -- If Current tab selected? on_expose -- Handle expose actions require not_destroyed: not is_destroyed pixmap: EV_PIXMAP -- Pixmap shown on Current set_font (a_font: like font) -- Set `font` with a_font require not_destroyed: not is_destroyed not_void: a_font /= Void ensure set: font = a_font set_pixmap (a_pixmap: EV_PIXMAP) -- Set a_pixmap require not_destroyed: not is_destroyed a_pixmap_not_void: a_pixmap /= Void ensure set: pixmap = a_pixmap set_selected (a_selected: BOOLEAN; a_focused: BOOLEAN) -- Set selected require not_destroyed: not is_destroyed ensure set: is_selected = a_selected set_selection_color (a_focused: BOOLEAN) -- Set color of selection color to focused selection color or non-focused color require not_destroyed: not is_destroyed selected: is_selected set_text (a_text: READABLE_STRING_GENERAL) -- Set `text` require not_destroyed: not is_destroyed a_text_not_void: a_text /= Void ensure set: text.same_string_general (a_text) text: STRING_32 -- Text shown on Current feature -- Query close_actions: EV_NOTIFY_ACTION_SEQUENCE -- Close actions docking_manager: SD_DOCKING_MANAGER -- Docking manager instance. -- (from SD_DOCKING_MANAGER_HOLDER) drag_actions: EV_POINTER_MOTION_ACTION_SEQUENCE -- Drag tab actions drop_actions: detachable SD_CONTENT_PND_ACTION_SEQUENCE -- Drop actions hash_code: INTEGER_32 -- Hash code ensure -- from HASHABLE good_hash_value: Result >= 0 height: INTEGER_32 -- Height. require not_destroyed: not is_destroyed parented: parent /= Void internal_draw_pixmap: BOOLEAN -- If draw `pixmap`? is_destroyed: BOOLEAN -- If Current destroyed? is_displayed: BOOLEAN -- If Current displayed? is_docking_manager_attached: BOOLEAN -- If `docking_manager` has been set? -- (from SD_DOCKING_MANAGER_HOLDER) is_hot: BOOLEAN -- If Current hot? is_pointer_in_close_area: BOOLEAN -- If pointer in close button area? is_pointer_pressed: BOOLEAN -- Is pointer button pressed? parent: detachable SD_NOTEBOOK_TAB_BOX -- Parent tab box preferred_size: INTEGER_32 -- If current is displayed, size should take require not_destroyed: not is_destroyed rectangle: EV_RECTANGLE -- Current tab rectangle relative to `parent` require not_destroyed: not is_destroyed ensure not_void: Result /= Void screen_x: INTEGER_32 -- Screen x position. require not_destroyed: not is_destroyed parented: parent /= Void screen_y: INTEGER_32 -- Screen y position. require not_destroyed: not is_destroyed parented: parent /= Void select_actions: EV_NOTIFY_ACTION_SEQUENCE -- Select actions tool_tip: detachable STRING_32 -- Tool tip width: INTEGER_32 -- Width. require not_destroyed: not is_destroyed x: INTEGER_32 -- X position relative to parent box. require not_destroyed: not is_destroyed not_void: parent /= Void invariant internal_shared_not_void: internal_shared /= Void select_actions_not_void: select_actions /= Void drag_actions_not_void: drag_actions /= Void internal_tab_drawer_not_void: internal_tab_drawer /= Void info_not_void: info /= Void close_actions_not_void: close_actions /= 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-2021, 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_NOTEBOOK_TAB
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

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