Ver código fonte

added serializable to interfaces

svn changeset:15488/svn branch:6.5
tags/6.7.0.beta1
Matti Tahvonen 13 anos atrás
pai
commit
01fe9dbc7d

+ 1
- 2
src/com/vaadin/terminal/ReceiverOwner.java Ver arquivo

@@ -3,7 +3,6 @@ package com.vaadin.terminal;
import java.io.Serializable;

import com.vaadin.Application;
import com.vaadin.terminal.ReceiverOwner.ReceivingController;

/**
* Special kind of {@link VariableOwner} that can send and receive information
@@ -109,7 +108,7 @@ public interface ReceiverOwner extends VariableOwner {

}

public interface ReceivingController {
public interface ReceivingController extends Serializable {
/**
* Whether the {@link #onProgress(long, long)} method should be called
* during the upload.

+ 5
- 5
src/com/vaadin/ui/Html5File.java Ver arquivo

@@ -90,8 +90,8 @@ public class Html5File implements Serializable {
}

/**
* Gets the {@link Html5FileUploadListener} that is used to track the progress of
* streaming the file contents to given {@link Receiver}.
* Gets the {@link Html5FileUploadListener} that is used to track the
* progress of streaming the file contents to given {@link Receiver}.
*
* @return
*/
@@ -100,8 +100,8 @@ public class Html5File implements Serializable {
}

/**
* Sets the {@link Html5FileUploadListener} that can be used to track the progress of
* streaming the file contents to given {@link Receiver}.
* Sets the {@link Html5FileUploadListener} that can be used to track the
* progress of streaming the file contents to given {@link Receiver}.
*
* @param listener
* @see #setReceiver(Receiver)
@@ -123,7 +123,7 @@ public class Html5File implements Serializable {
this.interrupted = interrupted;
}

public interface Html5FileUploadListener {
public interface Html5FileUploadListener extends Serializable {

void onProgress(ReceivingProgressedEvent event);


Carregando…
Cancelar
Salvar