summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-11-11 09:49:50 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-11-11 09:49:50 +0000
commit1a22cc813db4db1cfa107469d658facad3728a8e (patch)
tree49fac5535a074411c9f1941d21a6370ea5a6d5d5 /src/com/vaadin/terminal
parent02db804b9c48d5b0d54658212732a379ae26a6af (diff)
downloadvaadin-framework-1a22cc813db4db1cfa107469d658facad3728a8e.tar.gz
vaadin-framework-1a22cc813db4db1cfa107469d658facad3728a8e.zip
fixed javadocs
svn changeset:15961/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/terminal')
-rw-r--r--src/com/vaadin/terminal/StreamVariable.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/com/vaadin/terminal/StreamVariable.java b/src/com/vaadin/terminal/StreamVariable.java
index aeadaad611..99eb2417ef 100644
--- a/src/com/vaadin/terminal/StreamVariable.java
+++ b/src/com/vaadin/terminal/StreamVariable.java
@@ -4,6 +4,9 @@ import java.io.OutputStream;
import java.io.Serializable;
import com.vaadin.Application;
+import com.vaadin.terminal.StreamVariable.StreamingEndedEvent;
+import com.vaadin.terminal.StreamVariable.StreamingFailedEvent;
+import com.vaadin.terminal.StreamVariable.StreamingStartedEvent;
/**
* StreamVariable is a special kind of variable whose value is streamed to an
@@ -45,9 +48,9 @@ public interface StreamVariable extends Serializable {
* {@link #uploadStarted(StreamingStartedEvent)} event, but not after
* reading each buffer.
*
- * @return true if this ReceiverOwner wants to by notified during the upload
- * of the progress of streaming.
- * @see ReceiverOwner#onProgress(int, int)
+ * @return true if this {@link StreamVariable} wants to by notified during
+ * the upload of the progress of streaming.
+ * @see #onProgress(StreamingProgressedEvent)
*/
boolean listenProgress();
@@ -69,8 +72,8 @@ public interface StreamVariable extends Serializable {
* without the restriction.
*/
/**
- * ReceiverOwner can set this flag to true if it wants the Terminal to stop
- * receiving current upload.
+ * If this method returns true while the content is being streamed the
+ * Terminal to stop receiving current upload.
* <p>
* Note, the usage of this method is not synchronized over the Application
* instance by the terminal like other methods. The implementation should