note description: "A text editor for one line of text without echo. % %Characters are shown as '*' (stars)." legal: "See notice at end of class."; status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" class PASSWORD inherit TEXT_FIELD redefine create_ev_widget end create make, make_unmanaged feature {NONE} -- Initialization create_ev_widget (a_name: STRING; a_parent: COMPOSITE; man: BOOLEAN) -- Create a password field with `a_name' as identifier, -- `a_parent' as parent and call `set_default'. do depth := a_parent.depth+1; widget_manager.new (Current, a_parent); if a_name /= Void then identifier := a_name.twin else identifier := Void end create {PASSWORD_IMP} implementation.make (Current, man, a_parent); implementation.set_widget_default; set_default end; note 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 -- class PASSWORD