Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "Objects that responsible for drawing SD_NOTEBOOK_TAB." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2017-02-26 05:18:00 -0900 (Sun, 26 Feb 2017) $" revision: "$Revision: 99858 $" deferred class interface SD_NOTEBOOK_TAB_DRAWER_I feature -- Access generating_type: TYPE [detachable SD_NOTEBOOK_TAB_DRAWER_I] -- 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_DRAWER_I): 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_DRAWER_I): 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_DRAWER_I): 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_NOTEBOOK_TAB_DRAWER_I) -- 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_DRAWER_I) -- 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_DRAWER_I -- 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_DRAWER_I) -- 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_DRAWER_I -- 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_DRAWER_I -- 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_DRAWER_I -- 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 draw_focus_rect (a_rect: EV_RECTANGLE) -- Draw focus rectangle require not_void: a_rect /= Void expose_hot (a_width: INTEGER_32; a_tab_info: SD_NOTEBOOK_TAB_INFO) -- Draw hot tab require setted: pixmap /= Void vaild: a_width > 0 not_void: a_tab_info /= Void expose_selected (a_width: INTEGER_32; a_tab_info: SD_NOTEBOOK_TAB_INFO) -- Draw selected tab require setted: pixmap /= Void vaild: a_width > 0 not_void: a_tab_info /= Void expose_unselected (a_width: INTEGER_32; a_tab_info: SD_NOTEBOOK_TAB_INFO) -- Draw unselected tab require setted: pixmap /= Void vaild: a_width > 0 not_void: a_tab_info /= Void feature -- Key setting set_drawing_area (a_tab: SD_NOTEBOOK_TAB) -- Set `tab` to a_tab. require not_void: a_tab /= Void ensure set: tab = a_tab set_is_draw_at_top (a_draw_at_top: BOOLEAN) -- Set `is_top_side_tab` with a_draw_at_top ensure set: is_top_side_tab = a_draw_at_top 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 current_total_width: INTEGER_32 -- Current total width during one drawing tab action gap_height: INTEGER_32 -- Gap height height: INTEGER_32 -- Height of Current will draw is_draw_pixmap: BOOLEAN -- If Current will draw pixmap? is_enough_space: BOOLEAN -- Enough space now? is_selected: BOOLEAN -- Draw selected? is_top_side_tab: BOOLEAN -- If Current the tabs which at top side -- Otherwise it's bottom side tabs padding_width: INTEGER_32 -- Padding width pixmap: EV_PIXMAP -- Pixmap Current will draw set_draw_pixmap (a_draw: BOOLEAN) -- Set `is_draw_pixmap` ensure set: is_draw_pixmap = a_draw set_enough_space (a_enough: BOOLEAN) -- Set `is_enough_space`. ensure set: is_enough_space = a_enough set_padding_width (a_width: INTEGER_32) -- Set `padding_width` require valid: a_width >= 0 ensure set: padding_width = a_width set_pixmap (a_pixmap: EV_PIXMAP) -- Set `pixmap` require not_void: a_pixmap /= Void ensure set: pixmap = a_pixmap set_selected (a_selected: BOOLEAN; a_focused: BOOLEAN) -- Set `is_selected` ensure set: is_selected = a_selected set_text (a_text: READABLE_STRING_GENERAL) -- Set `text` require not_void: a_text /= Void ensure set: text.same_string_general (a_text) text: STRING_32 -- Text width: INTEGER_32 -- Width of Current will draw feature -- Size issues close_clipping_width (a_total_width: INTEGER_32): INTEGER_32 -- Clipping width of text when close button exist require has_close_button: is_top_side_tab ensure positive: Result >= 0 close_rectangle: EV_RECTANGLE -- Close button rectangle require has_close_button: is_top_side_tab ensure not_void: Result /= Void close_rectangle_parent_box: EV_RECTANGLE -- Close button rectangle relative to parent box close_width: INTEGER_32 -- Width of the close button require has_close_button: is_top_side_tab start_x_close: INTEGER_32 -- Start x position where should draw close require avialable: is_top_side_tab start_x_pixmap_internal: INTEGER_32 -- Start x position where should draw `pixmap` start_x_separator_after_internal: INTEGER_32 -- Start x position where should draw separator after start_x_separator_before_internal: INTEGER_32 -- Start x position where should draw separator before start_x_tail_internal: INTEGER_32 -- Start x position where should draw tail area ensure non_negative: Result >= 0 start_x_text_internal: INTEGER_32 -- Start x position where should draw `text` start_y_close: INTEGER_32 -- Start y position of drawing a close button start_y_position: INTEGER_32 -- Start y position of drawing a pixmap start_y_position_text: INTEGER_32 -- Start y position of drawing a pixmap text_clipping_width (a_total_width: INTEGER_32): INTEGER_32 -- Clipping width of text when close button not exist ensure positive: Result >= 0 invariant -- 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-2016, 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_DRAWER_I
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

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