indexing description: "Enumerations used by client programmers and internals." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class SD_ENUMERATION feature -- Direction top: INTEGER is 1 -- Top bottom: INTEGER is 2 -- Bottom left: INTEGER is 3 -- Left right: INTEGER is 4 -- Right feature {SD_SIZABLE_POPUP_WINDOW} -- Extended directions top_left: INTEGER is 5 -- Top left top_right: INTEGER is 6 -- Top right bottom_left: INTEGER is 7 -- Bottom left bottom_right: INTEGER is 8 -- Bottom right feature -- Content Type tool: INTEGER is 1 -- Tool editor: INTEGER is 2 -- Editor feature -- {SD_STATE, SD_HOT_ZONE} place_holder: INTEGER is 3 -- Place holder for eidtor. feature -- State state_void: INTEGER is 1 -- FIXIT: not a good name? -- Initial state. docking: INTEGER is 2 -- Docking state. tab: INTEGER is 3 -- Tab state which content is in notebook container. auto_hide: INTEGER is 4 -- Auto hide state which content will hide at side of main container. feature -- Contract support is_direction_valid (a_direction: INTEGER): BOOLEAN is -- If `a_direction' valid? do Result := a_direction = top or a_direction = bottom or a_direction = left or a_direction = right end is_type_valid (a_type: INTEGER): BOOLEAN is -- If `a_type' valid? do Result := a_type = editor or a_type = tool or a_type = place_holder end is_state_valid (a_state: INTEGER): BOOLEAN is -- If `a_state' valid? do Result := a_state = state_void or a_state = docking or a_state = tab or a_state = auto_hide end indexing library: "SmartDocking: Library of reusable components for Eiffel." copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end