*
* @since 8.0
*/
+@FunctionalInterface
public interface BinderValidationStatusHandler<BEAN>
extends Consumer<BinderValidationStatus<BEAN>>, Serializable {
* @since 8.0
*
*/
+@FunctionalInterface
public interface ValidationStatusHandler
extends Consumer<ValidationStatus<?>>, Serializable {
* Action.Handler interface.<br/>
*
*/
+ @FunctionalInterface
public interface Listener extends Serializable {
public void handleAction(Object sender, Object target);
}
/**
* Listener for {@link ContextClickEvent ContextClickEvents}.
*/
+ @FunctionalInterface
public interface ContextClickListener extends Serializable {
/**
* @see FocusEvent
* @since 6.2
*/
+ @FunctionalInterface
public interface FocusListener extends ConnectorEventListener {
public static final Method focusMethod = ReflectTools
* @see BlurEvent
* @since 6.2
*/
+ @FunctionalInterface
public interface BlurListener extends ConnectorEventListener {
public static final Method blurMethod = ReflectTools
public interface LayoutEvents {
+ @FunctionalInterface
public interface LayoutClickListener extends ConnectorEventListener {
public static final Method clickMethod = ReflectTools.findMethod(
* @author Vaadin Ltd.
* @since 6.2
*/
+ @FunctionalInterface
public interface ClickListener extends ConnectorEventListener {
public static final Method clickMethod = ReflectTools
* @author Vaadin Ltd.
* @since 6.2
*/
+ @FunctionalInterface
public interface DoubleClickListener extends ConnectorEventListener {
public static final Method doubleClickMethod = ReflectTools.findMethod(
/**
* Listener for sort order change events.
*/
+ @FunctionalInterface
public interface SortListener extends Serializable {
/**
* Called when the sort order has changed.
* @since 7.2
* @author Vaadin Ltd
*/
+ @FunctionalInterface
public interface PollListener extends Serializable {
public static final Method POLL_METHOD = ReflectTools
.findMethod(PollListener.class, "poll", PollEvent.class);
* @param <T>
* the data type of the selection model
*/
+@FunctionalInterface
public interface MultiSelectionListener<T>
extends Consumer<MultiSelectionEvent<T>>, Serializable {
@Override
* @author Vaadin Ltd
* @since 7.0
*/
+@FunctionalInterface
public interface ViewDisplay extends Serializable {
/**
* Remove previously shown view and show the newly selected view in its
* Interface for listening {@link AttachEvent connector attach events}.
*
*/
+ @FunctionalInterface
public static interface AttachListener extends ConnectorEventListener {
public static final Method attachMethod = ReflectTools
.findMethod(AttachListener.class, "attach", AttachEvent.class);
* Interface for listening {@link DetachEvent connector detach events}.
*
*/
+ @FunctionalInterface
public static interface DetachListener extends ConnectorEventListener {
public static final Method detachMethod = ReflectTools
.findMethod(DetachListener.class, "detach", DetachEvent.class);
/**
* Interface for listening to errors in the application.
*/
+@FunctionalInterface
public interface ErrorHandler extends Serializable {
/**
*
* @see UI#addListener(BrowserWindowResizeListener)
*/
+ @FunctionalInterface
public interface BrowserWindowResizeListener extends Serializable {
/**
* Invoked when the browser window containing a UI has been resized.
*
* @see Page#addUriFragmentChangedListener(UriFragmentChangedListener)
*/
+ @FunctionalInterface
public interface UriFragmentChangedListener extends Serializable {
/**
* Event handler method invoked when the URI fragment of the page
}
}
+ @FunctionalInterface
private static interface InjectedStyle extends Serializable {
public void paint(int id, PaintTarget target) throws PaintException;
}
* added on a {@link VaadinService service} level, common for all users, or on a
* {@link VaadinSession session} level for only a single user.
*/
+@FunctionalInterface
public interface RequestHandler extends Serializable {
/**
* @since 7.2
* @author Vaadin Ltd
*/
+@FunctionalInterface
public interface ServiceDestroyListener extends Serializable {
/**
* Invoked when a service is destroyed
* @author Vaadin Ltd
* @since 7.0.0
*/
+@FunctionalInterface
public interface SessionDestroyListener extends Serializable {
/**
* Called when a Vaadin service session is no longer used.
* @author Vaadin Ltd
* @since 7.0.0
*/
+@FunctionalInterface
public interface SessionInitListener extends Serializable {
/**
* Invoked when a new Vaadin service session is initialized for that
* @author Vaadin Ltd.
* @since 3.0
*/
+ @FunctionalInterface
public interface StreamSource extends Serializable {
/**
* @author Vaadin Ltd
* @since 7.0.0
*/
+@FunctionalInterface
public interface SystemMessagesProvider extends Serializable {
/**
* Gets the system messages to use in the given context. The
* @since
* @author Vaadin Ltd
*/
+@FunctionalInterface
public interface VaadinServiceInitListener extends EventListener, Serializable {
/**
* Run when a {@link VaadinService} instance is initialized.
*
* @author Vaadin Ltd
*/
+@FunctionalInterface
public interface ViewportGenerator extends Serializable {
/**
* Generates a viewport tag based on a request.
* @author Vaadin Ltd
* @since 8.0
*/
+@FunctionalInterface
public interface DataProviderListener extends Serializable {
/**
* @see SplitterClickEvent
* @since 6.2
*/
+ @FunctionalInterface
public interface SplitterClickListener extends ConnectorEventListener {
public static final Method clickMethod = ReflectTools.findMethod(
*
* @since 7.5.0
*/
+ @FunctionalInterface
public interface SplitPositionChangeListener
extends ConnectorEventListener {
* @author Vaadin Ltd.
* @since 3.0
*/
+ @FunctionalInterface
public interface ClickListener extends Serializable {
public static final Method BUTTON_CLICK_METHOD = ReflectTools
* An event containing information about the click.
*/
public void buttonClick(ClickEvent event);
-
}
/**
/**
* Component attach listener interface.
*/
+ @FunctionalInterface
public interface ComponentAttachListener extends Serializable {
public static final Method attachMethod = ReflectTools.findMethod(
/**
* Component detach listener interface.
*/
+ @FunctionalInterface
public interface ComponentDetachListener extends Serializable {
public static final Method detachMethod = ReflectTools.findMethod(
* @author Vaadin Ltd
* @since 7.0.0
*/
+@FunctionalInterface
public interface JavaScriptFunction extends Serializable {
/**
* Invoked whenever the corresponding JavaScript function is called in the
/**
* Listener triggered when a login occurs in a {@link LoginForm}.
*/
+ @FunctionalInterface
public interface LoginListener extends Serializable {
/**
* Event method invoked when the login button is pressed in a login
* clicks on the containing {@link com.vaadin.ui.MenuBar.MenuItem}. The
* selected item is given as an argument.
*/
+ @FunctionalInterface
public interface Command extends Serializable {
public void menuSelected(MenuBar.MenuItem selectedItem);
}
* visibility of the popup changes.
*
*/
+ @FunctionalInterface
public interface PopupVisibilityListener extends Serializable {
/**
* Pass to {@link PopupView#PopupVisibilityEvent} to start listening for
*
* @since 3.0
*/
+ @FunctionalInterface
public interface SelectedTabChangeListener extends Serializable {
/**
* @since 6.2.0
*
*/
+ @FunctionalInterface
public interface CloseHandler extends Serializable {
/**
*
* @see Window.WindowOrderChangeEvent
*/
+ @FunctionalInterface
public interface WindowOrderUpdateListener extends ConnectorEventListener {
public static final Method windowOrderUpdateMethod = ReflectTools
* @author Vaadin Ltd.
* @since 3.0
*/
+ @FunctionalInterface
public interface Receiver extends Serializable {
/**
* @return Stream to which the uploaded file should be written.
*/
public OutputStream receiveUpload(String filename, String mimeType);
-
}
/* Upload events */
* @author Vaadin Ltd.
* @since 5.0
*/
+ @FunctionalInterface
public interface StartedListener extends Serializable {
/**
* @author Vaadin Ltd.
* @since 3.0
*/
+ @FunctionalInterface
public interface FinishedListener extends Serializable {
/**
* @author Vaadin Ltd.
* @since 3.0
*/
+ @FunctionalInterface
public interface FailedListener extends Serializable {
/**
* @author Vaadin Ltd.
* @since 3.0
*/
+ @FunctionalInterface
public interface SucceededListener extends Serializable {
/**
*
* @since 7.2
*/
+ @FunctionalInterface
public interface ChangeListener extends Serializable {
Method FILENAME_CHANGED = ReflectTools.findMethod(ChangeListener.class,
/**
* ProgressListener receives events to track progress of upload.
*/
+ @FunctionalInterface
public interface ProgressListener extends Serializable {
/**
* Updates progress to listener
*
* @see UI.WindowOrderUpdateListener
*/
+ @FunctionalInterface
public interface WindowOrderChangeListener extends ConnectorEventListener {
public static final Method windowOrderChangeMethod = ReflectTools
* fires the CloseListener.
* </p>
*/
+ @FunctionalInterface
public interface CloseListener extends Serializable {
/**
* Called when the user closes a window. Use
* will be called whenever the window is maximized (
* {@link WindowMode#MAXIMIZED}) or restored ({@link WindowMode#NORMAL} ).
*/
+ @FunctionalInterface
public interface WindowModeChangeListener extends Serializable {
public static final Method windowModeChangeMethod = ReflectTools
*
* @see com.vaadin.ui.Window.ResizeEvent
*/
+ @FunctionalInterface
public interface ResizeListener extends Serializable {
public void windowResized(ResizeEvent e);
}
*
* @author Vaadin Ltd
*/
+ @FunctionalInterface
public interface ComponentCreationListener extends Serializable {
/**
* @since 7.5.0
* @author Vaadin Ltd
*/
+@FunctionalInterface
public interface ShouldWriteDataDelegate extends Serializable {
/**
*
* @see ButtonRenderer#addClickListener(RendererClickListener)
*/
+ @FunctionalInterface
public interface RendererClickListener<T> extends ConnectorEventListener {
static final Method CLICK_METHOD = ReflectTools.findMethod(