aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/Field.java
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2007-11-19 14:03:05 +0000
committerMarc Englund <marc.englund@itmill.com>2007-11-19 14:03:05 +0000
commitf2e3722df9676436680afc0f1991e91e1696fb99 (patch)
tree6f255ff78abaf96f1e71a1f2c9ecd3b66647f4a2 /src/com/itmill/toolkit/ui/Field.java
parent93291f532db9d545cf2a8dd98e2671f27cd197b0 (diff)
downloadvaadin-framework-f2e3722df9676436680afc0f1991e91e1696fb99.tar.gz
vaadin-framework-f2e3722df9676436680afc0f1991e91e1696fb99.zip
MASS REFORMAT.
According to http://toolkit.intra.itmill.com/trac/itmilltoolkit/wiki/CodingConventions svn changeset:2864/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/Field.java')
-rw-r--r--src/com/itmill/toolkit/ui/Field.java150
1 files changed, 75 insertions, 75 deletions
diff --git a/src/com/itmill/toolkit/ui/Field.java b/src/com/itmill/toolkit/ui/Field.java
index 8b11f93b26..e4248f8e9b 100644
--- a/src/com/itmill/toolkit/ui/Field.java
+++ b/src/com/itmill/toolkit/ui/Field.java
@@ -37,79 +37,79 @@ import com.itmill.toolkit.ui.Component.Focusable;
*
*/
public interface Field extends Component, BufferedValidatable, Property,
- Property.ValueChangeNotifier, Property.ValueChangeListener,
- Property.Editor, Focusable {
-
- /**
- * Sets the Caption.
- *
- * @param caption
- */
- void setCaption(String caption);
-
- String getDescription();
-
- /**
- * Sets the Description.
- *
- * @param caption
- */
- void setDescription(String caption);
-
- /**
- * Is this field required.
- *
- * Required fields must filled by the user.
- *
- * @return <code>true</code> if the field is required,otherwise
- * <code>false</code>.
- * @since 3.1
- */
- public boolean isRequired();
-
- /**
- * Sets the field required. Required fields must filled by the user.
- *
- * @param required
- * Is the field required.
- * @since 3.1
- */
- public void setRequired(boolean required);
-
- /**
- * An <code>Event</code> object specifying the Field whose value has been
- * changed.
- *
- * @author IT Mill Ltd.
- * @version
- * @VERSION@
- * @since 3.0
- */
- public class ValueChangeEvent extends Component.Event implements
- Property.ValueChangeEvent {
-
- /**
- * Serial generated by eclipse.
- */
- private static final long serialVersionUID = 3545803169444672816L;
-
- /**
- * Constructs a new event object with the specified source field object.
- *
- * @param source
- * the field that caused the event.
- */
- public ValueChangeEvent(Field source) {
- super(source);
- }
-
- /**
- * Gets the Property which triggered the event.
- *
- * @return the Source Property of the event.
- */
- public Property getProperty() {
- return (Property) getSource();
- }
- }
+ Property.ValueChangeNotifier, Property.ValueChangeListener,
+ Property.Editor, Focusable {
+
+ /**
+ * Sets the Caption.
+ *
+ * @param caption
+ */
+ void setCaption(String caption);
+
+ String getDescription();
+
+ /**
+ * Sets the Description.
+ *
+ * @param caption
+ */
+ void setDescription(String caption);
+
+ /**
+ * Is this field required.
+ *
+ * Required fields must filled by the user.
+ *
+ * @return <code>true</code> if the field is required,otherwise
+ * <code>false</code>.
+ * @since 3.1
+ */
+ public boolean isRequired();
+
+ /**
+ * Sets the field required. Required fields must filled by the user.
+ *
+ * @param required
+ * Is the field required.
+ * @since 3.1
+ */
+ public void setRequired(boolean required);
+
+ /**
+ * An <code>Event</code> object specifying the Field whose value has been
+ * changed.
+ *
+ * @author IT Mill Ltd.
+ * @version
+ * @VERSION@
+ * @since 3.0
+ */
+ public class ValueChangeEvent extends Component.Event implements
+ Property.ValueChangeEvent {
+
+ /**
+ * Serial generated by eclipse.
+ */
+ private static final long serialVersionUID = 3545803169444672816L;
+
+ /**
+ * Constructs a new event object with the specified source field object.
+ *
+ * @param source
+ * the field that caused the event.
+ */
+ public ValueChangeEvent(Field source) {
+ super(source);
+ }
+
+ /**
+ * Gets the Property which triggered the event.
+ *
+ * @return the Source Property of the event.
+ */
+ public Property getProperty() {
+ return (Property) getSource();
+ }
+ }
}