aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/event/FieldEvents.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-11-23 14:15:17 +0000
committerArtur Signell <artur.signell@itmill.com>2009-11-23 14:15:17 +0000
commite5caa74cc45cdd63a0edae9989010699dfaea1be (patch)
tree26aef9bf51080fb5c94df0b1ba81dbad865c0115 /src/com/vaadin/event/FieldEvents.java
parentab4e63b78dd81ccc99d81d3fc4cb9f9455d5fce6 (diff)
downloadvaadin-framework-e5caa74cc45cdd63a0edae9989010699dfaea1be.tar.gz
vaadin-framework-e5caa74cc45cdd63a0edae9989010699dfaea1be.zip
Patch #4 from #3234 "JavaDoc and ClientEventList Update"
svn changeset:9959/svn branch:event-framework-3234
Diffstat (limited to 'src/com/vaadin/event/FieldEvents.java')
-rw-r--r--src/com/vaadin/event/FieldEvents.java49
1 files changed, 40 insertions, 9 deletions
diff --git a/src/com/vaadin/event/FieldEvents.java b/src/com/vaadin/event/FieldEvents.java
index ab81ac85c0..3becb58aef 100644
--- a/src/com/vaadin/event/FieldEvents.java
+++ b/src/com/vaadin/event/FieldEvents.java
@@ -1,3 +1,7 @@
+/*
+@ITMillApache2LicenseForJavaFiles@
+ */
+
package com.vaadin.event;
import java.lang.reflect.Method;
@@ -7,10 +11,12 @@ import com.vaadin.ui.Component;
public interface FieldEvents {
- /*
- * component focus event and listener
+ /**
+ * <code>FocusEvent</code> class for holding additional event information.
+ * Fired when a <code>Field</code> receives keyboard focus.
+ *
+ * @since 6.2
*/
-
public class FocusEvent extends Component.Event {
private static final long serialVersionUID = -7644184999481404162L;
@@ -20,6 +26,13 @@ public interface FieldEvents {
}
}
+ /**
+ * <code>FocusListener</code> interface for listening for
+ * <code>FocusEvent</code> fired by a <code>Field</code>.
+ *
+ * @see FocusEvent
+ * @since 6.2
+ */
public interface FocusListener extends ComponentEventListener {
public static final Method focusMethod = ReflectTools.findMethod(
@@ -34,10 +47,12 @@ public interface FieldEvents {
public void focus(FocusEvent event);
}
- /*
- * component blur event and listener
+ /**
+ * <code>BlurEvent</code> class for holding additional event information.
+ * Fired when a <code>Field</code> loses keyboard focus.
+ *
+ * @since 6.2
*/
-
public class BlurEvent extends Component.Event {
private static final long serialVersionUID = -7644184999481404162L;
@@ -47,6 +62,13 @@ public interface FieldEvents {
}
}
+ /**
+ * <code>BlurListener</code> interface for listening for
+ * <code>BlurEvent</code> fired by a <code>Field</code>.
+ *
+ * @see BlurEvent
+ * @since 6.2
+ */
public interface BlurListener extends ComponentEventListener {
public static final Method blurMethod = ReflectTools.findMethod(
@@ -61,10 +83,12 @@ public interface FieldEvents {
public void blur(BlurEvent event);
}
- /*
- * component value change event
+ /**
+ * <code>ValueChangeEvent</code> class for holding additional event
+ * information. Fired when the value of a <code>Field</code> changes.
+ *
+ * @since 6.2
*/
-
public class ValueChangeEvent extends Component.Event {
private static final long serialVersionUID = -7644184999481404162L;
@@ -74,6 +98,13 @@ public interface FieldEvents {
}
}
+ /**
+ * <code>ValueChangeListener</code> interface for listening for
+ * <code>ValueChangeEvent</code> fired by a <code>Field</code>.
+ *
+ * @see ValueChangeEvent
+ * @since 6.2
+ */
public interface ValueChangeListener extends ComponentEventListener {
public static final Method valueChangeMethod = ReflectTools.findMethod(