*/
package com.vaadin.data;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
*
* @since 7.0
*/
-public class ContainerHelpers {
+public class ContainerHelpers implements Serializable {
/**
* Get a range of item ids from the container using
package com.vaadin.server;
-public class EncodeResult {
+import java.io.Serializable;
+
+public class EncodeResult implements Serializable {
private final Object encodedValue;
private final Object diff;
*/
public class JsonCodec implements Serializable {
- public static interface BeanProperty {
+ public static interface BeanProperty extends Serializable {
public Object getValue(Object bean) throws Exception;
public void setValue(Object bean, Object value) throws Exception;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
+import java.io.Serializable;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.security.GeneralSecurityException;
*
* @author peholmst
*/
-public class VaadinPortlet extends GenericPortlet implements Constants {
+public class VaadinPortlet extends GenericPortlet implements Constants,
+ Serializable {
/**
* @deprecated As of 7.0. Will likely change or be removed in a future
package com.vaadin.server;
+import java.io.Serializable;
import java.util.Set;
import javax.portlet.PortletSession;
* @version @VERSION@
* @since 7.0.0
*/
-public interface WrappedSession {
+public interface WrappedSession extends Serializable {
/**
* Returns the maximum time interval, in seconds, that this session will be
* kept open between client accesses.
*/
package com.vaadin.ui;
+import java.io.Serializable;
import java.lang.reflect.Method;
import com.vaadin.shared.ui.colorpicker.Color;
/**
* Interface for converting 2d-coordinates to a Color
*/
- public interface Coordinates2Color {
+ public interface Coordinates2Color extends Serializable {
/**
* Calculate color from coordinates
*/
package com.vaadin.ui.components.colorpicker;
-public interface HasColorChangeListener {
+import java.io.Serializable;
+
+public interface HasColorChangeListener extends Serializable {
/**
* Adds a {@link ColorChangeListener} to the component.
package com.vaadin.util;
+import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
* @version @VERSION@
* @since 7.0.0
*/
-public class CurrentInstance {
+public class CurrentInstance implements Serializable {
private final Object instance;
private final boolean inheritable;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
+import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
*
* @since 6.2
*/
-public class ReflectTools {
+public class ReflectTools implements Serializable {
/**
* Locates the method in the given class. Returns null if the method is not
* found. Throws an ExceptionInInitializerError if there is a problem
*/
package com.vaadin.shared;
-public class ApplicationConstants {
+import java.io.Serializable;
+
+public class ApplicationConstants implements Serializable {
// This indicates the whole page is generated by us (not embedded)
public static final String GENERATED_BODY_CLASSNAME = "v-generated-body";
package com.vaadin.shared;
-public class ComponentConstants {
+import java.io.Serializable;
+
+public class ComponentConstants implements Serializable {
public static final String ICON_RESOURCE = "icon";
}
*/
package com.vaadin.shared;
-public interface EventId {
+import java.io.Serializable;
+
+public interface EventId extends Serializable {
public static final String BLUR = "blur";
public static final String FOCUS = "focus";
public static final String CLICK_EVENT_IDENTIFIER = "click";
package com.vaadin.shared;
+import java.io.Serializable;
import java.util.Map;
import java.util.Set;
-public interface JavaScriptConnectorState {
+public interface JavaScriptConnectorState extends Serializable {
public Set<String> getCallbackNames();
public Map<String, Set<String>> getRpcInterfaces();
*/
package com.vaadin.shared;
-public class JsonConstants {
+import java.io.Serializable;
+
+public class JsonConstants implements Serializable {
public static final String VTYPE_CONNECTOR = "c";
public static final String VTYPE_BOOLEAN = "b";
public static final String VTYPE_DOUBLE = "d";
*/
package com.vaadin.shared.annotations;
+import java.io.Serializable;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
public @interface DelegateToWidget {
public String value() default "";
- public static class Helper {
+ public static class Helper implements Serializable {
public static String getDelegateTarget(String propertyName,
String annotationValue) {
String name = annotationValue;
*/
package com.vaadin.shared.communication;
-public class FieldRpc {
+import java.io.Serializable;
+
+public class FieldRpc implements Serializable {
public interface FocusServerRpc extends ServerRpc {
public void focus();
}
package com.vaadin.shared.ui;
-public final class AlignmentInfo {
+import java.io.Serializable;
+
+public final class AlignmentInfo implements Serializable {
/** Bitmask values for client server communication */
- public static class Bits {
+ public static class Bits implements Serializable {
public static final int ALIGNMENT_LEFT = 1;
public static final int ALIGNMENT_RIGHT = 2;
public static final int ALIGNMENT_TOP = 4;
*/
package com.vaadin.shared.ui;
+import java.io.Serializable;
import java.util.HashSet;
import com.vaadin.shared.AbstractComponentState;
import com.vaadin.shared.communication.SharedState;
-public final class ComponentStateUtil {
+public final class ComponentStateUtil implements Serializable {
private ComponentStateUtil() {
// Util class is not instantiable
*/
package com.vaadin.shared.ui;
-public class ShortCutConstants {
+import java.io.Serializable;
+
+public class ShortCutConstants implements Serializable {
public static final String ACTION_TARGET_ATTRIBUTE = "sat";
public static final String ACTION_TARGET_ACTION_ATTRIBUTE = "sata";
public static final String ACTION_CAPTION_ATTRIBUTE = "caption";
*/
package com.vaadin.shared.ui.colorpicker;
+import java.io.Serializable;
+
/**
* Default implementation for color.
*
* @since 7.0.0
*/
-public class Color {
+public class Color implements Serializable {
public static final Color WHITE = new Color(255, 255, 255);
public static final Color BLACK = new Color(0, 0, 0);
*/
package com.vaadin.shared.ui.combobox;
+import java.io.Serializable;
+
@Deprecated
-public class ComboBoxConstants {
+public class ComboBoxConstants implements Serializable {
@Deprecated
public static final String ATTR_INPUTPROMPT = "prompt";
@Deprecated
*/
package com.vaadin.shared.ui.datefield;
+import java.io.Serializable;
+
@Deprecated
-public class DateFieldConstants {
+public class DateFieldConstants implements Serializable {
@Deprecated
public static final String ATTR_WEEK_NUMBERS = "wn";
*/
package com.vaadin.shared.ui.draganddropwrapper;
+import java.io.Serializable;
+
@Deprecated
-public class DragAndDropWrapperConstants {
+public class DragAndDropWrapperConstants implements Serializable {
@Deprecated
public static final String HTML5_DATA_FLAVORS = "html5-data-flavors";
*/
package com.vaadin.shared.ui.embedded;
+import java.io.Serializable;
+
@Deprecated
-public class EmbeddedConstants {
+public class EmbeddedConstants implements Serializable {
@Deprecated
public static final String ALTERNATE_TEXT = "alt";
package com.vaadin.shared.ui.link;
-public class LinkConstants {
+import java.io.Serializable;
+
+public class LinkConstants implements Serializable {
public static String HREF_RESOURCE = "href";
}
*/
package com.vaadin.shared.ui.menubar;
+import java.io.Serializable;
+
@Deprecated
-public class MenuBarConstants {
+public class MenuBarConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_CHECKED = "checked";
@Deprecated
*/
package com.vaadin.shared.ui.optiongroup;
-public class OptionGroupConstants {
+import java.io.Serializable;
+
+public class OptionGroupConstants implements Serializable {
public static final String HTML_CONTENT_ALLOWED = "usehtml";
public static final String ATTRIBUTE_OPTION_DISABLED = "disabled";
*/
package com.vaadin.shared.ui.table;
-public class TableConstants {
+import java.io.Serializable;
+
+public class TableConstants implements Serializable {
public static final String ITEM_CLICK_EVENT_ID = "itemClick";
public static final String HEADER_CLICK_EVENT_ID = "handleHeaderClick";
public static final String FOOTER_CLICK_EVENT_ID = "handleFooterClick";
*/
package com.vaadin.shared.ui.tabsheet;
+import java.io.Serializable;
+
@Deprecated
-public class TabsheetBaseConstants {
+public class TabsheetBaseConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_TAB_DISABLED = "disabled";
@Deprecated
*/
package com.vaadin.shared.ui.tabsheet;
+import java.io.Serializable;
+
@Deprecated
-public class TabsheetConstants {
+public class TabsheetConstants implements Serializable {
@Deprecated
public static final String TAB_STYLE_NAME = "tabstyle";
*/
package com.vaadin.shared.ui.textfield;
-public class TextFieldConstants {
+import java.io.Serializable;
+
+public class TextFieldConstants implements Serializable {
public static final String VAR_CUR_TEXT = "curText";
public static final String ATTR_NO_VALUE_CHANGE_BETWEEN_PAINTS = "nvc";
public static final String ATTR_TEXTCHANGE_TIMEOUT = "iet";
*/
package com.vaadin.shared.ui.tree;
+import java.io.Serializable;
+
@Deprecated
-public class TreeConstants {
+public class TreeConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_NODE_STYLE = "style";
*/
package com.vaadin.shared.ui.treetable;
+import java.io.Serializable;
+
@Deprecated
-public class TreeTableConstants {
+public class TreeTableConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_HIERARCHY_COLUMN_INDEX = "hci";
*/
package com.vaadin.shared.ui.twincolselect;
+import java.io.Serializable;
+
@Deprecated
-public class TwinColSelectConstants {
+public class TwinColSelectConstants implements Serializable {
@Deprecated
public static final String ATTRIBUTE_LEFT_CAPTION = "lc";
@Deprecated
*/
package com.vaadin.shared.ui.ui;
-public class UIConstants {
+import java.io.Serializable;
+
+public class UIConstants implements Serializable {
/**
* Attribute name for the lazy resize setting .
*/
package com.vaadin.shared.ui.video;
-public class VideoConstants {
+import java.io.Serializable;
+
+public class VideoConstants implements Serializable {
public static final String POSTER_RESOURCE = "poster";
}