[Buix-commits] r624 - trunk/lutinui/src/main/java/org/codelutin/ui
Author: tchemit Date: 2008-04-27 08:25:42 +0000 (Sun, 27 Apr 2008) New Revision: 624 Added: trunk/lutinui/src/main/java/org/codelutin/ui/FormElement.java Log: debut d'un element de formulaire d'ui Added: trunk/lutinui/src/main/java/org/codelutin/ui/FormElement.java =================================================================== --- trunk/lutinui/src/main/java/org/codelutin/ui/FormElement.java (rev 0) +++ trunk/lutinui/src/main/java/org/codelutin/ui/FormElement.java 2008-04-27 08:25:42 UTC (rev 624) @@ -0,0 +1,29 @@ +/** + * # #% Copyright (C) 2008 Code Lutin, Tony Chemit + * This program is free software; you + * can redistribute it and/or modify it under the terms of the GNU General + * Public License as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. This program is + * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + * PARTICULAR PURPOSE. See the GNU General Public License for more details. You + * should have received a copy of the GNU General Public License along with this + * program; if not, write to the Free Software Foundation, Inc., 59 Temple Place + * - Suite 330, Boston, MA 02111-1307, USA. + * # #% + */ +package org.codelutin.ui; + +/** @author chemit */ +public interface FormElement<U extends DialogUI> { + + String name(); + + int ordinal(); + + Object getValue(U ui); + + void setValue(U ui, String value); + + javax.swing.JLabel getLabel(U ui); +}
participants (1)
-
tchemit@users.labs.libre-entreprise.org