Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "SD_INNER_STATE which is docking in SD_MULTI_DOCK_AREA." 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_DOCKING_STATE create make (a_content: SD_CONTENT; a_direction: INTEGER_32; a_width_height: INTEGER_32) -- Creation method require a_content_not_void: a_content /= Void a_content_attached: a_content.is_docking_manager_attached ensure set: internal_content = a_content set: direction = a_direction set: width_height = a_width_height make_for_tab_zone (a_content: SD_CONTENT; a_container: EV_CONTAINER; a_direction: INTEGER_32) -- Creation method for SD_TAB_STATE require a_content_not_void: a_content /= Void a_content_attached: a_content.is_docking_manager_attached a_container_not_void: a_container /= Void a_container_not_full: not a_container.full ensure extended: a_container.has (zone) create {SD_PLACE_HOLDER_ZONE} make_for_place_holder_zone (a_content: SD_CONTENT; a_zone: SD_PLACE_HOLDER_ZONE) -- Creation method for SD_PLACE_HOLDER_ZONE require a_content_not_void: a_content /= Void a_content_attached: a_content.is_docking_manager_attached a_zone_not_void: a_zone /= Void a_zone_not_destroyed: not a_zone.is_destroyed a_zone_parented: a_zone.parent /= Void feature -- Access auto_hide_tab_slide_timer_interval: INTEGER_32 -- Auto hide tab slide timer interval -- 0 means no animation. -- (from SD_SHARED) default_screen_x: INTEGER_32 -- Default floating screen x/y position for the zone's float feature first time be called -- (from SD_SHARED) default_screen_y: INTEGER_32 -- Default floating screen x/y position for the zone's float feature first time be called -- (from SD_SHARED) Feedback: SD_FEEDBACK_DRAWER -- SD_DRAW_FEEDBACK instance which is draw things on the desktop. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void generating_type: TYPE [detachable SD_DOCKING_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 hot_zone_factory: detachable SD_HOT_ZONE_ABSTRACT_FACTORY -- Factory for different style hot zones. -- (from SD_SHARED) require -- from SD_SHARED set: is_hot_zone_factory_set ensure -- from SD_SHARED not_void: Result /= Void icons: SD_ICONS_SINGLETON -- SD_ICONS_SINGLETON instance. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void interface_names: SD_INTERFACE_NAMES -- All interface names -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void Notebook_tab_drawer (a_tab: SD_NOTEBOOK_TAB): SD_NOTEBOOK_TAB_DRAWER_I -- Drawer for notebook tabs with initial tab a_tab. -- The tab needs to be changed by calling {SD_NOTEBOOK_TAB_DRAWER_I}.set_drawing_area. -- (from SD_SHARED) Setter: SD_SYSTEM_SETTER -- System special handler -- (from SD_SHARED) Tool_bar_docker_mediator_cell: CELL [detachable SD_TOOL_BAR_DOCKER_MEDIATOR] -- Tool bar docker mediator when user dragging a SD_TOOL_BAR_ZONE. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void Tool_bar_drawer: SD_TOOL_BAR_DRAWER -- Drawer for tool bars -- (from SD_SHARED) tool_bar_font: EV_FONT -- Tool bar font. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void Widget_factory: SD_WIDGET_FACTORY -- SD_WIDGET_FACTORY instance. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void zone_navigation_accelerator_key: INTEGER_32 -- Accelerator key setting for zone navigation dialog -- On Windows by default is Ctlr + Tab -- (from SD_SHARED) 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_DOCKING_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_DOCKING_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_DOCKING_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 allow_window_to_back: BOOLEAN -- Does allow SD_FLOATING_ZONE or SD_FLOATING_TOOL_BAR_ZONE to go to back of main window? -- (from SD_SHARED) 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 content_void: BOOLEAN -- If current a_content void? -- (from SD_STATE_WITH_CONTENT) 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 has (a_content: SD_CONTENT): BOOLEAN -- If Current has a_content? -- (from SD_STATE_WITH_CONTENT) require -- from SD_STATE_WITH_CONTENT a_content_not_void: a_content /= Void icons_set: BOOLEAN -- Is `icons` has been set? -- (from SD_SHARED) 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) is_hot_zone_factory_set: BOOLEAN -- Is `hot_zone_factory` has been set? -- (from SD_SHARED) 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)) show_all_feedback_indicator: BOOLEAN -- If show all indicators same time when use transparent rectangle style feedback? -- (from SD_SHARED) show_all_tab_stub_text: BOOLEAN -- When more than one tab stubs stay together at side of main window, show inactive tab stub text? -- (from SD_SHARED) zone_navigation_accelerator_alt: BOOLEAN -- Accelerator alt setting for zone navigation dialog. -- On Windows by default is Ctlr + Tab. -- (from SD_SHARED) zone_navigation_accelerator_ctrl: BOOLEAN -- Accelerator ctrl setting for zone navigation dialog. -- On Windows by default is Ctlr + Tab. -- (from SD_SHARED) zone_navigation_accelerator_shift: BOOLEAN -- Accelerator shift setting for zone navigation dialog. -- On Windows by default is Ctlr + Tab. -- (from SD_SHARED) feature -- Status setting set_allow_window_to_back (a_bool: BOOLEAN) -- Set `allow_window_to_back` with a_bool -- (from SD_SHARED) ensure -- from SD_SHARED set: allow_window_to_back = a_bool set_auto_hide_tab_slide_timer_interval (a_int: INTEGER_32) -- Set `auto_hide_tab_slide_timer_interval` with a_int. -- (from SD_SHARED) ensure -- from SD_SHARED set: Auto_hide_tab_slide_timer_interval_cell.item = a_int set_default_screen_x (a_x: INTEGER_32) -- Set `default_screen_x` -- (from SD_SHARED) require -- from SD_SHARED valid: default_screen_x >= 0 ensure -- from SD_SHARED set: default_screen_x = a_x set_default_screen_y (a_y: INTEGER_32) -- Set `default_screen_y` -- (from SD_SHARED) require -- from SD_SHARED valid: default_screen_y >= 0 ensure -- from SD_SHARED set: default_screen_y = a_y set_hot_zone_factory (a_factory: like hot_zone_factory) -- Set `hot_zone_factory` -- (from SD_SHARED) require -- from SD_SHARED a_factory_not_void: a_factory /= Void ensure -- from SD_SHARED set: hot_zone_factory = a_factory set_icons (a_icons: like icons) -- Set the SD_ICONS_SINGLETON instance -- Client programmers don't have to call this feature since SD_DEFAULT_ICONS will be used by default. -- (from SD_SHARED) require -- from SD_SHARED a_icons_not_void: a_icons /= Void ensure -- from SD_SHARED set: Internal_icons_cell.item = a_icons set_interface_names (a_names: like interface_names) -- Set internal_interface_names with a_names -- (from SD_SHARED) require -- from SD_SHARED not_void: a_names /= Void ensure -- from SD_SHARED set: Internal_interface_names_cell.item = a_names set_show_all_feedback_indicator (a_bool: BOOLEAN) -- Set `show_all_feedback_indicator` -- (from SD_SHARED) ensure -- from SD_SHARED set: show_all_feedback_indicator = a_bool set_show_tab_stub_text (a_bool: BOOLEAN) -- Set `show_tab_stub_text_cell` with a_bool -- (from SD_SHARED) ensure -- from SD_SHARED set: show_all_tab_stub_text = a_bool set_zone_navigation_accelerator_alt (a_bool: BOOLEAN) -- Set `zone_navigation_accelerator_alt` with a_bool. -- (from SD_SHARED) ensure -- from SD_SHARED set: zone_navigation_accelerator_alt = a_bool set_zone_navigation_accelerator_ctrl (a_bool: BOOLEAN) -- Set `zone_navigation_accelerator_ctrl` with a_bool. -- (from SD_SHARED) ensure -- from SD_SHARED set: zone_navigation_accelerator_ctrl = a_bool set_zone_navigation_accelerator_key (a_key: INTEGER_32) -- Set `zone_navigation_accelerator_key` with a_key. -- (from SD_SHARED) ensure -- from SD_SHARED set: zone_navigation_accelerator_key = a_key set_zone_navigation_accelerator_shift (a_bool: BOOLEAN) -- Set `zone_navigation_accelerator_shift` with a_bool. -- (from SD_SHARED) ensure -- from SD_SHARED set: zone_navigation_accelerator_shift = a_bool feature -- Duplication copy (other: SD_DOCKING_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_DOCKING_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_DOCKING_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_DOCKING_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_DOCKING_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_DOCKING_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_DOCKING_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 -- Colors border_color: EV_COLOR -- Border color, used by SD_TAB_STUB, SD_NOTEBOOK_TAB... -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void default_background_color: EV_COLOR -- Default background color. -- Changed when theme changed -- (from SD_SHARED) feedback_indicator_region_window_discard_color: EV_COLOR -- Feedback indicator window region discard color. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void focused_color: EV_COLOR -- Focused color. Used by SD_TITLE_BAR... -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void focused_title_text_color: EV_COLOR -- Focused title bar text color. Used bt SD_TITLE_BAR. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void non_focused_color: EV_COLOR -- Non focuse color. Used by SD_TITLE_BAR... -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void non_focused_color_lightness: EV_COLOR -- Lighter `non_focused_color`. -- (from SD_SHARED) non_focused_title_color: EV_COLOR -- Non focused color of window title bar. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void non_focused_title_text_color: EV_COLOR -- Non focused title text color -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void tab_text_color: EV_COLOR -- Text color -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void tool_bar_title_bar_color: EV_COLOR -- Tool bar tilte bar color when tool bar floating. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void tool_tip_color: EV_COLOR -- Tooltip color which is used by SD_NOTEBOOK_HIDE_DIALOG. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void 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 feature -- Commands close -- Handle close zone -- (from SD_STATE_WITH_CONTENT) 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_focus (a_content: SD_CONTENT) -- Set focus -- (from SD_STATE_WITH_CONTENT) require -- from SD_STATE_WITH_CONTENT has_content: has (a_content) set_split_proportion (a_proportion: REAL_32) -- Set parent splitter proportion to a_proportion if is possible -- (from SD_STATE) feature -- Constants Auto_hide_delay: INTEGER_32 = 2000 -- When SD_AUTO_HIDE_ZONE show but no focused, time to hide SD_AUTO_HIDE_ZONE. -- (from SD_SHARED) Auto_hide_panel_gap_size: INTEGER_32 = 4 -- Auto hide panel's Gap size. -- (from SD_SHARED) Auto_hide_panel_lightness: REAL_32 = 0.5 -- Auto hide panel lightness value. Used by SD_AUTO_HIDE_PANEL. -- (from SD_SHARED) auto_hide_panel_size: INTEGER_32 -- Width of auto hide panel. -- (from SD_SHARED) Auto_hide_tab_stub_show_delay: INTEGER_32 = 1000 -- Auto hide tab stub delay time in milliseconds. -- (from SD_SHARED) Border_width: INTEGER_32 = 1 -- Border widht, used by SD_TITLE_BARs, SD_TAB_STUBs, SD_NOTEBOOK_TABs.... -- (from SD_SHARED) Default_docking_height_rate: REAL_32 = 0.25 -- When change from floating to docking, height := main container height * `default_docking_height_rate`. -- (from SD_SHARED) Default_docking_width_rate: REAL_32 = 0.2 -- When change from floating to docking, width := main container width * `default_docking_width_rate`. -- (from SD_SHARED) Default_floating_window_height: INTEGER_32 = 280 -- Default floating window height. -- (from SD_SHARED) Default_floating_window_width: INTEGER_32 = 470 -- Default floating window width. -- (from SD_SHARED) Editor_place_holder_content_name: STRING_32 = "docking manager editor place holder" -- Content name for place_holder_content in SD_DOCKING_MANAGER_ZONES. -- (from SD_SHARED) Feedback_tab_width: INTEGER_32 = 60 -- When user dragging, the width of feedback rectangle for tab. -- (from SD_SHARED) Focuse_border_width: INTEGER_32 = 1 -- Border width of a zone. This is width show focus color surround a zone. -- (from SD_SHARED) Hide_tab_indicator_size: INTEGER_32 = 20 -- Hide tab indicator size. Hide tabs are tabs in SD_NOTEBOOK_TAB_AREA. -- (from SD_SHARED) Highlight_before_width: INTEGER_32 = 4 -- Title highlight area width before drawn title texts. -- (from SD_SHARED) Highlight_tail_width: INTEGER_32 = 30 -- Tilte highlight area width which shown color chang gradually. -- (from SD_SHARED) Line_width: INTEGER_32 = 4 -- Width of feedback line. -- (from SD_SHARED) Notebook_minimum_width: INTEGER_32 = 77 -- Minimumu width for SD_NOTEBOOK, it's useful when a zone is minimized. -- (from SD_SHARED) notebook_tab_height: INTEGER_32 -- Notebook tab height. -- (from SD_SHARED) notebook_tab_maximum_size: INTEGER_32 -- Maximum size of a notebook tab. -- If the title on the tab would exceed this size, it is cropped. -- (from SD_SHARED) Padding_width: INTEGER_32 = 4 -- Padding width used by whole system. -- (from SD_SHARED) Resize_bar_width_height: INTEGER_32 = 5 -- Resize bar width or height which is used by SD_RESIZE_BAR. -- (from SD_SHARED) tab_zone_upper_minimum_height: INTEGER_32 -- SD_TAB_ZONE_UPPER and SD_DOCKING_ZONE_UPPER's minimum height. -- (from SD_SHARED) title_bar_height: INTEGER_32 -- Size of zone's title bar. -- (from SD_SHARED) Title_bar_text_start_x: INTEGER_32 = 0 -- When title bar drawing text, start x position. -- (from SD_SHARED) title_bar_text_start_y: INTEGER_32 -- When title bar drawing text, start y position. -- (from SD_SHARED) tool_bar_border_width: INTEGER_32 -- Tool bar border width. -- (from SD_SHARED) Tool_bar_customize_dialog_default_height: INTEGER_32 = 360 -- Tool bar customize dialog default height. -- (from SD_SHARED) Tool_bar_customize_dialog_default_width: INTEGER_32 = 560 -- Tool bar customize dialog default width. -- (from SD_SHARED) Tool_bar_hidden_item_dialog_max_width: INTEGER_32 = 400 -- Tool bar hidden item dialog maximum allowed width. -- (from SD_SHARED) tool_bar_size: INTEGER_32 -- Size of tool bar. When horizontal the size is height. When vertical the size is width. -- Note: SD_WIDGET_TOOL_BAR's size may bigger than this size when font size is very small. -- For example, on Linux Desktop when using font Scans 8. -- (from SD_SHARED) zone_minimum_height: INTEGER_32 -- Minimum height of a zone. -- (from SD_SHARED) zone_minimum_width: INTEGER_32 -- Minimum width of a zone. -- (from SD_SHARED) Zone_navigation_column_count: INTEGER_32 = 8 -- How many items per column in zone navigation dialog which is normally activated by Ctrl + Tab. -- (from SD_SHARED) feature -- Contract support initialized: BOOLEAN -- If ready to be used? -- (from SD_STATE) feature -- Markers fixme (comment: READABLE_STRING_8) -- Mark code that has to be "fixed" with comment. -- (from REFACTORING_HELPER) require -- from REFACTORING_HELPER comment_not_void: comment /= Void ensure -- from REFACTORING_HELPER instance_free: class to_implement (comment: READABLE_STRING_8) -- Mark code that has to be "implemented" with comment. -- (from REFACTORING_HELPER) require -- from REFACTORING_HELPER comment_not_void: comment /= Void ensure -- from REFACTORING_HELPER instance_free: class to_implement_assertion (comment: READABLE_STRING_8): BOOLEAN -- Mark assertion that has to be "implemented" with comment. -- (from REFACTORING_HELPER) require -- from REFACTORING_HELPER comment_not_void: comment /= Void ensure -- from REFACTORING_HELPER instance_free: class 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 content: SD_CONTENT -- Content managed by Current. -- (from SD_STATE_WITH_CONTENT) 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) is_docking_manager_attached: BOOLEAN -- If `docking_manager` has been set? -- (from SD_DOCKING_MANAGER_HOLDER) feature -- Redefine auto_hide_tab_with (a_target_content: SD_CONTENT) -- When a_tartget_content is auto hide state, `content`'s auto hide tab dock at side of -- a_target_content auto hide tab require -- from SD_STATE_WITH_CONTENT a_target_content_not_void: a_target_content /= Void change_long_title (a_title: READABLE_STRING_GENERAL; a_content: SD_CONTENT) -- Change long title require -- from SD_STATE a_title_not_void: a_title /= Void ensure then set: attached content as l_content and then l_content.type = {SD_ENUMERATION}.tool and then a_title /= Void implies zone.title.same_string_general (a_title) change_pixmap (a_pixmap: EV_PIXMAP; a_content: SD_CONTENT) -- Change pixmap require -- from SD_STATE a_pixmap_not_void: a_pixmap /= Void change_short_title (a_title: READABLE_STRING_GENERAL; a_content: SD_CONTENT) -- Change short title require -- from SD_STATE a_title_not_void: a_title /= Void ensure then set: attached content as l_content and then l_content.type = {SD_ENUMERATION}.editor and then a_title /= Void implies zone.title.same_string_general (a_title) change_tab_tooltip (a_text: detachable READABLE_STRING_GENERAL) -- Set notebook tab tooltip if possible 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 ensure then parent_changed: old zone.parent /= zone.parent 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 ensure then is_dock_at_top: old a_multi_dock_area.full implies is_dock_at_top (a_multi_dock_area) float (a_x, a_y: INTEGER_32) -- Make current window floating hide -- Handle hide 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 ensure then state_changed: content.state /= Current 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 ensure then state_changed: content.state /= Current record_state -- Record current state restore (a_data: SD_INNER_CONTAINER_DATA; a_container: EV_CONTAINER) -- titles is content name -- -- a_container is zone parent require -- from SD_STATE_WITH_CONTENT more_than_one_title: attached a_data.titles as lr_titles and then content_count_valid (lr_titles) a_container_not_void: a_container /= Void a_container_not_full: not a_container.full a_direction_valid: a_data.direction = {SD_ENUMERATION}.top or a_data.direction = {SD_ENUMERATION}.bottom or a_data.direction = {SD_ENUMERATION}.left or a_data.direction = {SD_ENUMERATION}.right set_mini_toolbar (a_toolbar_widget: 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 show -- Handle show zone stick (a_direction: INTEGER_32) -- Stick/Unstick a zone require -- from SD_STATE True ensure then state_changed: content.state /= Current zone: SD_DOCKING_ZONE -- Zone which is managed by Current (if any). feature -- Right click menu items notebook_tab_area_menu_items: ARRAYED_LIST [EV_MENU_ITEM] -- Menu items shown at notebook tab area. -- Client programmers can customize the menu items here -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void notebook_tab_area_menu_items_agent: detachable FUNCTION [SD_CONTENT, ARRAYED_LIST [EV_MENU_ITEM]] -- Menu items shown at notebook tab area -- Client programmers can customize the menu items here -- Same as `notebook_tab_area_menu_items` but has higer priority than `notebook_tab_area_menu_items` -- (from SD_SHARED) set_notebook_tab_area_menu_items_agent (a_agent: like notebook_tab_area_menu_items_agent) -- Set `notebook_tab_area_menu_items_agent` with a_gent -- (from SD_SHARED) ensure -- from SD_SHARED set: notebook_tab_area_menu_items_agent = a_agent set_title_bar_area_menu_items_agent (a_agent: like title_bar_area_menu_items_agent) -- Set `title_bar_area_menu_items_agent_cell` with a_agent -- (from SD_SHARED) ensure -- from SD_SHARED set: title_bar_area_menu_items_agent = a_agent title_bar_area_menu_items: ARRAYED_LIST [EV_MENU_ITEM] -- Menu items shown at {SD_CONTENT}'s title bar. -- Client programmers can customize the menu items here. -- (from SD_SHARED) ensure -- from SD_SHARED not_void: Result /= Void title_bar_area_menu_items_agent: detachable FUNCTION [SD_CONTENT, ARRAYED_LIST [EV_MENU_ITEM]] -- Menu items shown at {SD_CONTENT}'s title bar. -- Client programmers can customize the menu items here. -- Same as `title_bar_area_menu_items` but has higer priority than `title_bar_area_menu_items -- Note: parameter SD_CONTENT maybe void if not found -- (from SD_SHARED) 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 ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) -- from SD_STATE last_floating_height_valid: initialized implies last_floating_height >= 0 last_floating_width_valid: initialized implies last_floating_width >= 0 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_DOCKING_STATE
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

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