indexing description: "Constants for use by and with EV_TEXT_ALIGNABLE." status: "See notice at end of class" date: "$Date$" revision: "$Revision$" class EV_TEXT_ALIGNMENT_CONSTANTS feature -- Constants Ev_text_alignment_left: INTEGER is 1 -- Aligned left. Ev_text_alignment_center: INTEGER is 2 -- Aligned center. Ev_text_alignment_right: INTEGER is 3 -- Aligned right. feature -- Contract support valid_alignment (an_alignment: INTEGER): BOOLEAN is -- Is `an_alignment' a valid alignment? do Result := an_alignment = Ev_text_alignment_left or else an_alignment = Ev_text_alignment_center or else an_alignment = Ev_text_alignment_right end end -- class EV_TEXT_ALIGNMENT_CONSTANTS --|---------------------------------------------------------------- --| EiffelVision2: library of reusable components for ISE Eiffel. --| Copyright (C) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------