summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/shared/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/shared/ui')
-rw-r--r--src/com/vaadin/shared/ui/AbstractLayoutState.java19
-rw-r--r--src/com/vaadin/shared/ui/AbstractMediaState.java82
-rw-r--r--src/com/vaadin/shared/ui/AlignmentInfo.java89
-rw-r--r--src/com/vaadin/shared/ui/ClickRpc.java18
-rw-r--r--src/com/vaadin/shared/ui/Connect.java93
-rw-r--r--src/com/vaadin/shared/ui/JavaScriptComponentState.java39
-rw-r--r--src/com/vaadin/shared/ui/LayoutClickRpc.java22
-rw-r--r--src/com/vaadin/shared/ui/MediaControl.java24
-rw-r--r--src/com/vaadin/shared/ui/TabIndexState.java29
-rw-r--r--src/com/vaadin/shared/ui/VMarginInfo.java81
-rw-r--r--src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java11
-rw-r--r--src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.java29
-rw-r--r--src/com/vaadin/shared/ui/button/ButtonServerRpc.java28
-rw-r--r--src/com/vaadin/shared/ui/button/ButtonState.java120
-rw-r--r--src/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.java11
-rw-r--r--src/com/vaadin/shared/ui/checkbox/CheckBoxState.java19
-rw-r--r--src/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java11
-rw-r--r--src/com/vaadin/shared/ui/csslayout/CssLayoutState.java23
-rw-r--r--src/com/vaadin/shared/ui/customlayout/CustomLayoutState.java41
-rw-r--r--src/com/vaadin/shared/ui/dd/AcceptCriterion.java35
-rw-r--r--src/com/vaadin/shared/ui/dd/DragEventType.java9
-rw-r--r--src/com/vaadin/shared/ui/dd/HorizontalDropLocation.java8
-rw-r--r--src/com/vaadin/shared/ui/dd/VerticalDropLocation.java8
-rw-r--r--src/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java10
-rw-r--r--src/com/vaadin/shared/ui/form/FormState.java29
-rw-r--r--src/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java11
-rw-r--r--src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java37
-rw-r--r--src/com/vaadin/shared/ui/label/ContentMode.java46
-rw-r--r--src/com/vaadin/shared/ui/label/LabelState.java28
-rw-r--r--src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java12
-rw-r--r--src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.java56
-rw-r--r--src/com/vaadin/shared/ui/panel/PanelServerRpc.java11
-rw-r--r--src/com/vaadin/shared/ui/panel/PanelState.java36
-rw-r--r--src/com/vaadin/shared/ui/root/PageClientRpc.java13
-rw-r--r--src/com/vaadin/shared/ui/root/RootServerRpc.java11
-rw-r--r--src/com/vaadin/shared/ui/root/RootState.java28
-rw-r--r--src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.java28
-rw-r--r--src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java124
-rw-r--r--src/com/vaadin/shared/ui/textarea/TextAreaState.java36
-rw-r--r--src/com/vaadin/shared/ui/textfield/AbstractTextFieldState.java61
-rw-r--r--src/com/vaadin/shared/ui/video/VideoState.java20
-rw-r--r--src/com/vaadin/shared/ui/window/WindowServerRpc.java10
-rw-r--r--src/com/vaadin/shared/ui/window/WindowState.java73
43 files changed, 0 insertions, 1529 deletions
diff --git a/src/com/vaadin/shared/ui/AbstractLayoutState.java b/src/com/vaadin/shared/ui/AbstractLayoutState.java
deleted file mode 100644
index 9eaa11a9c6..0000000000
--- a/src/com/vaadin/shared/ui/AbstractLayoutState.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui;
-
-import com.vaadin.shared.ComponentState;
-
-public class AbstractLayoutState extends ComponentState {
- private int marginsBitmask;
-
- public int getMarginsBitmask() {
- return marginsBitmask;
- }
-
- public void setMarginsBitmask(int marginsBitmask) {
- this.marginsBitmask = marginsBitmask;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/AbstractMediaState.java b/src/com/vaadin/shared/ui/AbstractMediaState.java
deleted file mode 100644
index 8cee16575d..0000000000
--- a/src/com/vaadin/shared/ui/AbstractMediaState.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import com.vaadin.shared.ComponentState;
-import com.vaadin.shared.communication.URLReference;
-
-public class AbstractMediaState extends ComponentState {
- private boolean showControls;
-
- private String altText;
-
- private boolean htmlContentAllowed;
-
- private boolean autoplay;
-
- private boolean muted;
-
- private List<URLReference> sources = new ArrayList<URLReference>();
- private List<String> sourceTypes = new ArrayList<String>();
-
- public boolean isShowControls() {
- return showControls;
- }
-
- public void setShowControls(boolean showControls) {
- this.showControls = showControls;
- }
-
- public String getAltText() {
- return altText;
- }
-
- public void setAltText(String altText) {
- this.altText = altText;
- }
-
- public boolean isHtmlContentAllowed() {
- return htmlContentAllowed;
- }
-
- public void setHtmlContentAllowed(boolean htmlContentAllowed) {
- this.htmlContentAllowed = htmlContentAllowed;
- }
-
- public boolean isAutoplay() {
- return autoplay;
- }
-
- public void setAutoplay(boolean autoplay) {
- this.autoplay = autoplay;
- }
-
- public boolean isMuted() {
- return muted;
- }
-
- public void setMuted(boolean muted) {
- this.muted = muted;
- }
-
- public List<URLReference> getSources() {
- return sources;
- }
-
- public void setSources(List<URLReference> sources) {
- this.sources = sources;
- }
-
- public List<String> getSourceTypes() {
- return sourceTypes;
- }
-
- public void setSourceTypes(List<String> sourceTypes) {
- this.sourceTypes = sourceTypes;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/AlignmentInfo.java b/src/com/vaadin/shared/ui/AlignmentInfo.java
deleted file mode 100644
index ff800de646..0000000000
--- a/src/com/vaadin/shared/ui/AlignmentInfo.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui;
-
-public final class AlignmentInfo {
- /** Bitmask values for client server communication */
- public static class Bits {
- public static final int ALIGNMENT_LEFT = 1;
- public static final int ALIGNMENT_RIGHT = 2;
- public static final int ALIGNMENT_TOP = 4;
- public static final int ALIGNMENT_BOTTOM = 8;
- public static final int ALIGNMENT_HORIZONTAL_CENTER = 16;
- public static final int ALIGNMENT_VERTICAL_CENTER = 32;
- }
-
- public static final AlignmentInfo LEFT = new AlignmentInfo(
- Bits.ALIGNMENT_LEFT);
- public static final AlignmentInfo RIGHT = new AlignmentInfo(
- Bits.ALIGNMENT_RIGHT);
- public static final AlignmentInfo TOP = new AlignmentInfo(
- Bits.ALIGNMENT_TOP);
- public static final AlignmentInfo BOTTOM = new AlignmentInfo(
- Bits.ALIGNMENT_BOTTOM);
- public static final AlignmentInfo CENTER = new AlignmentInfo(
- Bits.ALIGNMENT_HORIZONTAL_CENTER);
- public static final AlignmentInfo MIDDLE = new AlignmentInfo(
- Bits.ALIGNMENT_VERTICAL_CENTER);
- public static final AlignmentInfo TOP_LEFT = new AlignmentInfo(
- Bits.ALIGNMENT_TOP + Bits.ALIGNMENT_LEFT);
-
- private final int bitMask;
-
- public AlignmentInfo(int bitMask) {
- this.bitMask = bitMask;
- }
-
- public AlignmentInfo(AlignmentInfo horizontal, AlignmentInfo vertical) {
- this(horizontal.getBitMask() + vertical.getBitMask());
- }
-
- public int getBitMask() {
- return bitMask;
- }
-
- public boolean isTop() {
- return (bitMask & Bits.ALIGNMENT_TOP) == Bits.ALIGNMENT_TOP;
- }
-
- public boolean isBottom() {
- return (bitMask & Bits.ALIGNMENT_BOTTOM) == Bits.ALIGNMENT_BOTTOM;
- }
-
- public boolean isLeft() {
- return (bitMask & Bits.ALIGNMENT_LEFT) == Bits.ALIGNMENT_LEFT;
- }
-
- public boolean isRight() {
- return (bitMask & Bits.ALIGNMENT_RIGHT) == Bits.ALIGNMENT_RIGHT;
- }
-
- public boolean isVerticalCenter() {
- return (bitMask & Bits.ALIGNMENT_VERTICAL_CENTER) == Bits.ALIGNMENT_VERTICAL_CENTER;
- }
-
- public boolean isHorizontalCenter() {
- return (bitMask & Bits.ALIGNMENT_HORIZONTAL_CENTER) == Bits.ALIGNMENT_HORIZONTAL_CENTER;
- }
-
- public String getVerticalAlignment() {
- if (isBottom()) {
- return "bottom";
- } else if (isVerticalCenter()) {
- return "middle";
- }
- return "top";
- }
-
- public String getHorizontalAlignment() {
- if (isRight()) {
- return "right";
- } else if (isHorizontalCenter()) {
- return "center";
- }
- return "left";
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/ClickRpc.java b/src/com/vaadin/shared/ui/ClickRpc.java
deleted file mode 100644
index 61bde1a5e9..0000000000
--- a/src/com/vaadin/shared/ui/ClickRpc.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui;
-
-import com.vaadin.shared.MouseEventDetails;
-import com.vaadin.shared.communication.ServerRpc;
-
-public interface ClickRpc extends ServerRpc {
- /**
- * Called when a click event has occurred and there are server side
- * listeners for the event.
- *
- * @param mouseDetails
- * Details about the mouse when the event took place
- */
- public void click(MouseEventDetails mouseDetails);
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/Connect.java b/src/com/vaadin/shared/ui/Connect.java
deleted file mode 100644
index aa60096eb9..0000000000
--- a/src/com/vaadin/shared/ui/Connect.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import com.vaadin.shared.Connector;
-import com.vaadin.terminal.gwt.server.ClientConnector;
-import com.vaadin.terminal.gwt.widgetsetutils.CustomWidgetMapGenerator;
-import com.vaadin.terminal.gwt.widgetsetutils.EagerWidgetMapGenerator;
-import com.vaadin.terminal.gwt.widgetsetutils.LazyWidgetMapGenerator;
-import com.vaadin.terminal.gwt.widgetsetutils.WidgetMapGenerator;
-
-/**
- * Annotation defining the server side connector that this ClientSideConnector
- * should connect to. The value must always by a class extending
- * {@link ClientConnector}.
- * <p>
- * With this annotation client side Vaadin connector is marked to have a server
- * side counterpart. The value of the annotation is the class of server side
- * implementation.
- *
- * @since 7.0
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
-public @interface Connect {
-
- /**
- * @return the server side counterpart for the annotated component connector
- */
- Class<? extends Connector> value();
-
- /**
- * Depending on the used WidgetMap generator, these optional hints may be
- * used to define how the client side components are loaded by the browser.
- * The default is to eagerly load all widgets
- * {@link EagerWidgetMapGenerator}, but if the {@link WidgetMapGenerator} is
- * used by the widgetset, these load style hints are respected.
- * <p>
- * Lazy loading of a widget implementation means the client side component
- * is not included in the initial JavaScript application loaded when the
- * application starts. Instead the implementation is loaded to the client
- * when it is first needed. Lazy loaded widget can be achieved by giving
- * {@link LoadStyle#LAZY} value in {@link Connect} annotation.
- * <p>
- * Lazy loaded widgets don't stress the size and startup time of the client
- * side as much as eagerly loaded widgets. On the other hand there is a
- * slight latency when lazy loaded widgets are first used as the client side
- * needs to visit the server to fetch the client side implementation.
- * <p>
- * The {@link LoadStyle#DEFERRED} will also not stress the initially loaded
- * JavaScript file. If this load style is defined, the widget implementation
- * is preemptively loaded to the browser after the application is started
- * and the communication to server idles. This load style kind of combines
- * the best of both worlds.
- * <p>
- * Fine tunings to widget loading can also be made by overriding
- * {@link WidgetMapGenerator} in the GWT module. Tunings might be helpful if
- * the end users have slow connections and especially if they have high
- * latency in their network. The {@link CustomWidgetMapGenerator} is an
- * abstract generator implementation for easy customization. Vaadin package
- * also includes {@link LazyWidgetMapGenerator} that makes as many widgets
- * lazily loaded as possible.
- *
- * @since 6.4
- *
- * @return the hint for the widget set generator how the client side
- * implementation should be loaded to the browser
- */
- LoadStyle loadStyle() default LoadStyle.DEFERRED;
-
- public enum LoadStyle {
- /**
- * The widget is included in the initial JS sent to the client.
- */
- EAGER,
- /**
- * Not included in the initial set of widgets, but added to queue from
- * which it will be loaded when network is not busy or the
- * implementation is required.
- */
- DEFERRED,
- /**
- * Loaded to the client only if needed.
- */
- LAZY
- }
-}
diff --git a/src/com/vaadin/shared/ui/JavaScriptComponentState.java b/src/com/vaadin/shared/ui/JavaScriptComponentState.java
deleted file mode 100644
index d20b4701c2..0000000000
--- a/src/com/vaadin/shared/ui/JavaScriptComponentState.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui;
-
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
-import com.vaadin.shared.ComponentState;
-import com.vaadin.shared.JavaScriptConnectorState;
-
-public class JavaScriptComponentState extends ComponentState implements
- JavaScriptConnectorState {
-
- private Set<String> callbackNames = new HashSet<String>();
- private Map<String, Set<String>> rpcInterfaces = new HashMap<String, Set<String>>();
-
- @Override
- public Set<String> getCallbackNames() {
- return callbackNames;
- }
-
- public void setCallbackNames(Set<String> callbackNames) {
- this.callbackNames = callbackNames;
- }
-
- @Override
- public Map<String, Set<String>> getRpcInterfaces() {
- return rpcInterfaces;
- }
-
- public void setRpcInterfaces(Map<String, Set<String>> rpcInterfaces) {
- this.rpcInterfaces = rpcInterfaces;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/LayoutClickRpc.java b/src/com/vaadin/shared/ui/LayoutClickRpc.java
deleted file mode 100644
index 48e62083b1..0000000000
--- a/src/com/vaadin/shared/ui/LayoutClickRpc.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui;
-
-import com.vaadin.shared.Connector;
-import com.vaadin.shared.MouseEventDetails;
-import com.vaadin.shared.communication.ServerRpc;
-
-public interface LayoutClickRpc extends ServerRpc {
- /**
- * Called when a layout click event has occurred and there are server side
- * listeners for the event.
- *
- * @param mouseDetails
- * Details about the mouse when the event took place
- * @param clickedConnector
- * The child component that was the target of the event
- */
- public void layoutClick(MouseEventDetails mouseDetails,
- Connector clickedConnector);
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/MediaControl.java b/src/com/vaadin/shared/ui/MediaControl.java
deleted file mode 100644
index 0a608a1685..0000000000
--- a/src/com/vaadin/shared/ui/MediaControl.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui;
-
-import com.vaadin.shared.communication.ClientRpc;
-
-/**
- * Server to client RPC interface for controlling playback of the media.
- *
- * @since 7.0
- */
-public interface MediaControl extends ClientRpc {
- /**
- * Start playing the media.
- */
- public void play();
-
- /**
- * Pause playback of the media.
- */
- public void pause();
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/TabIndexState.java b/src/com/vaadin/shared/ui/TabIndexState.java
deleted file mode 100644
index 774c9b33a0..0000000000
--- a/src/com/vaadin/shared/ui/TabIndexState.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui;
-
-/**
- * Interface implemented by state classes that support tab indexes.
- *
- * @author Vaadin Ltd
- * @version @VERSION@
- * @since 7.0.0
- *
- */
-public interface TabIndexState {
- /**
- * Gets the <i>tabulator index</i> of the field.
- *
- * @return the tab index for the Field
- */
- public int getTabIndex();
-
- /**
- * Sets the <i>tabulator index</i> of the field.
- *
- * @param tabIndex
- * the tab index to set
- */
- public void setTabIndex(int tabIndex);
-}
diff --git a/src/com/vaadin/shared/ui/VMarginInfo.java b/src/com/vaadin/shared/ui/VMarginInfo.java
deleted file mode 100644
index b17a03626f..0000000000
--- a/src/com/vaadin/shared/ui/VMarginInfo.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui;
-
-import java.io.Serializable;
-
-@SuppressWarnings("serial")
-public class VMarginInfo implements Serializable {
-
- private static final int TOP = 1;
- private static final int RIGHT = 2;
- private static final int BOTTOM = 4;
- private static final int LEFT = 8;
-
- private int bitMask;
-
- public VMarginInfo(int bitMask) {
- this.bitMask = bitMask;
- }
-
- public VMarginInfo(boolean top, boolean right, boolean bottom, boolean left) {
- setMargins(top, right, bottom, left);
- }
-
- public void setMargins(boolean top, boolean right, boolean bottom,
- boolean left) {
- bitMask = top ? TOP : 0;
- bitMask += right ? RIGHT : 0;
- bitMask += bottom ? BOTTOM : 0;
- bitMask += left ? LEFT : 0;
- }
-
- public void setMargins(VMarginInfo marginInfo) {
- bitMask = marginInfo.bitMask;
- }
-
- public boolean hasLeft() {
- return (bitMask & LEFT) == LEFT;
- }
-
- public boolean hasRight() {
- return (bitMask & RIGHT) == RIGHT;
- }
-
- public boolean hasTop() {
- return (bitMask & TOP) == TOP;
- }
-
- public boolean hasBottom() {
- return (bitMask & BOTTOM) == BOTTOM;
- }
-
- public int getBitMask() {
- return bitMask;
- }
-
- public void setMargins(boolean enabled) {
- if (enabled) {
- bitMask = TOP + RIGHT + BOTTOM + LEFT;
- } else {
- bitMask = 0;
- }
- }
-
- @Override
- public boolean equals(Object obj) {
- if (!(obj instanceof VMarginInfo)) {
- return false;
- }
-
- return ((VMarginInfo) obj).bitMask == bitMask;
- }
-
- @Override
- public int hashCode() {
- return bitMask;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java b/src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java
deleted file mode 100644
index 7d1f75f833..0000000000
--- a/src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutServerRpc.java
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.absolutelayout;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.LayoutClickRpc;
-
-public interface AbsoluteLayoutServerRpc extends LayoutClickRpc, ServerRpc {
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.java b/src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.java
deleted file mode 100644
index f57b2c0d67..0000000000
--- a/src/com/vaadin/shared/ui/absolutelayout/AbsoluteLayoutState.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.absolutelayout;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.vaadin.shared.Connector;
-import com.vaadin.shared.ui.AbstractLayoutState;
-
-public class AbsoluteLayoutState extends AbstractLayoutState {
- // Maps each component to a position
- private Map<String, String> connectorToCssPosition = new HashMap<String, String>();
-
- public String getConnectorPosition(Connector connector) {
- return connectorToCssPosition.get(connector.getConnectorId());
- }
-
- public Map<String, String> getConnectorToCssPosition() {
- return connectorToCssPosition;
- }
-
- public void setConnectorToCssPosition(
- Map<String, String> componentToCssPosition) {
- connectorToCssPosition = componentToCssPosition;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/button/ButtonServerRpc.java b/src/com/vaadin/shared/ui/button/ButtonServerRpc.java
deleted file mode 100644
index 0e55b07aea..0000000000
--- a/src/com/vaadin/shared/ui/button/ButtonServerRpc.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.button;
-
-import com.vaadin.shared.MouseEventDetails;
-import com.vaadin.shared.communication.ServerRpc;
-
-/**
- * RPC interface for calls from client to server.
- *
- * @since 7.0
- */
-public interface ButtonServerRpc extends ServerRpc {
- /**
- * Button click event.
- *
- * @param mouseEventDetails
- * serialized mouse event details
- */
- public void click(MouseEventDetails mouseEventDetails);
-
- /**
- * Indicate to the server that the client has disabled the button as a
- * result of a click.
- */
- public void disableOnClick();
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/button/ButtonState.java b/src/com/vaadin/shared/ui/button/ButtonState.java
deleted file mode 100644
index c423e18d46..0000000000
--- a/src/com/vaadin/shared/ui/button/ButtonState.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui.button;
-
-import com.vaadin.shared.ComponentState;
-import com.vaadin.shared.ui.TabIndexState;
-import com.vaadin.ui.Button;
-
-/**
- * Shared state for Button and NativeButton.
- *
- * @see ComponentState
- *
- * @since 7.0
- */
-public class ButtonState extends ComponentState implements TabIndexState {
- private boolean disableOnClick = false;
- private int clickShortcutKeyCode = 0;
- /**
- * The tab order number of this field.
- */
- private int tabIndex = 0;
- /**
- * If caption should be rendered in HTML
- */
- private boolean htmlContentAllowed = false;
-
- /**
- * Checks whether the button should be disabled on the client side on next
- * click.
- *
- * @return true if the button should be disabled on click
- */
- public boolean isDisableOnClick() {
- return disableOnClick;
- }
-
- /**
- * Sets whether the button should be disabled on the client side on next
- * click.
- *
- * @param disableOnClick
- * true if the button should be disabled on click
- */
- public void setDisableOnClick(boolean disableOnClick) {
- this.disableOnClick = disableOnClick;
- }
-
- /**
- * Returns the key code for activating the button via a keyboard shortcut.
- *
- * See {@link Button#setClickShortcut(int, int...)} for more information.
- *
- * @return key code or 0 for none
- */
- public int getClickShortcutKeyCode() {
- return clickShortcutKeyCode;
- }
-
- /**
- * Sets the key code for activating the button via a keyboard shortcut.
- *
- * See {@link Button#setClickShortcut(int, int...)} for more information.
- *
- * @param clickShortcutKeyCode
- * key code or 0 for none
- */
- public void setClickShortcutKeyCode(int clickShortcutKeyCode) {
- this.clickShortcutKeyCode = clickShortcutKeyCode;
- }
-
- /**
- * Set whether the caption text is rendered as HTML or not. You might need
- * to retheme button to allow higher content than the original text style.
- *
- * If set to true, the captions are passed to the browser as html and the
- * developer is responsible for ensuring no harmful html is used. If set to
- * false, the content is passed to the browser as plain text.
- *
- * @param htmlContentAllowed
- * <code>true</code> if caption is rendered as HTML,
- * <code>false</code> otherwise
- */
- public void setHtmlContentAllowed(boolean htmlContentAllowed) {
- this.htmlContentAllowed = htmlContentAllowed;
- }
-
- /**
- * Return HTML rendering setting.
- *
- * @return <code>true</code> if the caption text is to be rendered as HTML,
- * <code>false</code> otherwise
- */
- public boolean isHtmlContentAllowed() {
- return htmlContentAllowed;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.vaadin.terminal.gwt.client.ui.TabIndexState#getTabIndex()
- */
- @Override
- public int getTabIndex() {
- return tabIndex;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.vaadin.terminal.gwt.client.ui.TabIndexState#setTabIndex(int)
- */
- @Override
- public void setTabIndex(int tabIndex) {
- this.tabIndex = tabIndex;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.java b/src/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.java
deleted file mode 100644
index fafd9bf2ff..0000000000
--- a/src/com/vaadin/shared/ui/checkbox/CheckBoxServerRpc.java
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.checkbox;
-
-import com.vaadin.shared.MouseEventDetails;
-import com.vaadin.shared.communication.ServerRpc;
-
-public interface CheckBoxServerRpc extends ServerRpc {
- public void setChecked(boolean checked, MouseEventDetails mouseEventDetails);
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/checkbox/CheckBoxState.java b/src/com/vaadin/shared/ui/checkbox/CheckBoxState.java
deleted file mode 100644
index d43959327c..0000000000
--- a/src/com/vaadin/shared/ui/checkbox/CheckBoxState.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.checkbox;
-
-import com.vaadin.shared.AbstractFieldState;
-
-public class CheckBoxState extends AbstractFieldState {
- private boolean checked = false;
-
- public boolean isChecked() {
- return checked;
- }
-
- public void setChecked(boolean checked) {
- this.checked = checked;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java b/src/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java
deleted file mode 100644
index 0672aa32ce..0000000000
--- a/src/com/vaadin/shared/ui/csslayout/CssLayoutServerRpc.java
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.csslayout;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.LayoutClickRpc;
-
-public interface CssLayoutServerRpc extends LayoutClickRpc, ServerRpc {
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/csslayout/CssLayoutState.java b/src/com/vaadin/shared/ui/csslayout/CssLayoutState.java
deleted file mode 100644
index 03b4a947f5..0000000000
--- a/src/com/vaadin/shared/ui/csslayout/CssLayoutState.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.csslayout;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.vaadin.shared.Connector;
-import com.vaadin.shared.ui.AbstractLayoutState;
-
-public class CssLayoutState extends AbstractLayoutState {
- private Map<Connector, String> childCss = new HashMap<Connector, String>();
-
- public Map<Connector, String> getChildCss() {
- return childCss;
- }
-
- public void setChildCss(Map<Connector, String> childCss) {
- this.childCss = childCss;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/customlayout/CustomLayoutState.java b/src/com/vaadin/shared/ui/customlayout/CustomLayoutState.java
deleted file mode 100644
index 4399e0ece1..0000000000
--- a/src/com/vaadin/shared/ui/customlayout/CustomLayoutState.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.customlayout;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.vaadin.shared.Connector;
-import com.vaadin.shared.ui.AbstractLayoutState;
-
-public class CustomLayoutState extends AbstractLayoutState {
- Map<Connector, String> childLocations = new HashMap<Connector, String>();
- private String templateContents;
- private String templateName;
-
- public String getTemplateContents() {
- return templateContents;
- }
-
- public void setTemplateContents(String templateContents) {
- this.templateContents = templateContents;
- }
-
- public String getTemplateName() {
- return templateName;
- }
-
- public void setTemplateName(String templateName) {
- this.templateName = templateName;
- }
-
- public Map<Connector, String> getChildLocations() {
- return childLocations;
- }
-
- public void setChildLocations(Map<Connector, String> childLocations) {
- this.childLocations = childLocations;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/dd/AcceptCriterion.java b/src/com/vaadin/shared/ui/dd/AcceptCriterion.java
deleted file mode 100644
index 19c2e5f273..0000000000
--- a/src/com/vaadin/shared/ui/dd/AcceptCriterion.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui.dd;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterion;
-
-/**
- * An annotation type used to point the server side counterpart for client side
- * a {@link VAcceptCriterion} class.
- * <p>
- * Annotations are used at GWT compilation phase, so remember to rebuild your
- * widgetset if you do changes for {@link AcceptCriterion} mappings.
- *
- * Prior to Vaadin 7, the mapping was done with an annotation on server side
- * classes.
- *
- * @since 7.0
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
-public @interface AcceptCriterion {
- /**
- * @return the class of the server side counterpart for the annotated
- * criterion
- */
- Class<?> value();
-
-}
diff --git a/src/com/vaadin/shared/ui/dd/DragEventType.java b/src/com/vaadin/shared/ui/dd/DragEventType.java
deleted file mode 100644
index e03b347ada..0000000000
--- a/src/com/vaadin/shared/ui/dd/DragEventType.java
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui.dd;
-
-public enum DragEventType {
- ENTER, LEAVE, OVER, DROP
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/dd/HorizontalDropLocation.java b/src/com/vaadin/shared/ui/dd/HorizontalDropLocation.java
deleted file mode 100644
index 065b880953..0000000000
--- a/src/com/vaadin/shared/ui/dd/HorizontalDropLocation.java
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.dd;
-
-public enum HorizontalDropLocation {
- LEFT, RIGHT, CENTER
-}
diff --git a/src/com/vaadin/shared/ui/dd/VerticalDropLocation.java b/src/com/vaadin/shared/ui/dd/VerticalDropLocation.java
deleted file mode 100644
index 2658921124..0000000000
--- a/src/com/vaadin/shared/ui/dd/VerticalDropLocation.java
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.dd;
-
-public enum VerticalDropLocation {
- TOP, BOTTOM, MIDDLE
-}
diff --git a/src/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java b/src/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java
deleted file mode 100644
index 27af1623b0..0000000000
--- a/src/com/vaadin/shared/ui/embedded/EmbeddedServerRpc.java
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.embedded;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.ClickRpc;
-
-public interface EmbeddedServerRpc extends ClickRpc, ServerRpc {
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/form/FormState.java b/src/com/vaadin/shared/ui/form/FormState.java
deleted file mode 100644
index a3035491bf..0000000000
--- a/src/com/vaadin/shared/ui/form/FormState.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.form;
-
-import com.vaadin.shared.AbstractFieldState;
-import com.vaadin.shared.Connector;
-
-public class FormState extends AbstractFieldState {
- private Connector layout;
- private Connector footer;
-
- public Connector getLayout() {
- return layout;
- }
-
- public void setLayout(Connector layout) {
- this.layout = layout;
- }
-
- public Connector getFooter() {
- return footer;
- }
-
- public void setFooter(Connector footer) {
- this.footer = footer;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java b/src/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java
deleted file mode 100644
index 110b9c33f9..0000000000
--- a/src/com/vaadin/shared/ui/gridlayout/GridLayoutServerRpc.java
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.gridlayout;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.LayoutClickRpc;
-
-public interface GridLayoutServerRpc extends LayoutClickRpc, ServerRpc {
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java b/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
deleted file mode 100644
index 9179a61d27..0000000000
--- a/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.gridlayout;
-
-import com.vaadin.shared.ui.AbstractLayoutState;
-
-public class GridLayoutState extends AbstractLayoutState {
- private boolean spacing = false;
- private int rows = 0;
- private int columns = 0;
-
- public boolean isSpacing() {
- return spacing;
- }
-
- public void setSpacing(boolean spacing) {
- this.spacing = spacing;
- }
-
- public int getRows() {
- return rows;
- }
-
- public void setRows(int rows) {
- this.rows = rows;
- }
-
- public int getColumns() {
- return columns;
- }
-
- public void setColumns(int cols) {
- columns = cols;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/label/ContentMode.java b/src/com/vaadin/shared/ui/label/ContentMode.java
deleted file mode 100644
index a58f2cdebb..0000000000
--- a/src/com/vaadin/shared/ui/label/ContentMode.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.label;
-
-/**
- * Content modes defining how the client should interpret a Label's value.
- *
- * @since 7.0.0
- */
-public enum ContentMode {
- /**
- * Content mode, where the label contains only plain text.
- */
- TEXT,
-
- /**
- * Content mode, where the label contains pre formatted text. In this mode
- * newlines are preserved when rendered on the screen.
- */
- PREFORMATTED,
-
- /**
- * Content mode, where the label contains XHTML. Care should be taken to
- * ensure
- */
- XHTML,
-
- /**
- * Content mode, where the label contains well-formed or well-balanced XML.
- * This is handled in the same way as {@link #XHTML}.
- *
- * @deprecated Use {@link #XHTML} instead
- */
- @Deprecated
- XML,
-
- /**
- * Legacy content mode, where the label contains RAW output. This is handled
- * in exactly the same way as {@link #XHTML}.
- *
- * @deprecated Use {@link #XHTML} instead
- */
- @Deprecated
- RAW;
-}
diff --git a/src/com/vaadin/shared/ui/label/LabelState.java b/src/com/vaadin/shared/ui/label/LabelState.java
deleted file mode 100644
index 0298e40179..0000000000
--- a/src/com/vaadin/shared/ui/label/LabelState.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.label;
-
-import com.vaadin.shared.ComponentState;
-
-public class LabelState extends ComponentState {
- private ContentMode contentMode = ContentMode.TEXT;
- private String text = "";
-
- public ContentMode getContentMode() {
- return contentMode;
- }
-
- public void setContentMode(ContentMode contentMode) {
- this.contentMode = contentMode;
- }
-
- public String getText() {
- return text;
- }
-
- public void setText(String text) {
- this.text = text;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java b/src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java
deleted file mode 100644
index 3de8ec0220..0000000000
--- a/src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutServerRpc.java
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.orderedlayout;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.LayoutClickRpc;
-
-public interface AbstractOrderedLayoutServerRpc extends LayoutClickRpc,
- ServerRpc {
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.java b/src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.java
deleted file mode 100644
index c18a128912..0000000000
--- a/src/com/vaadin/shared/ui/orderedlayout/AbstractOrderedLayoutState.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.orderedlayout;
-
-import java.io.Serializable;
-import java.util.HashMap;
-
-import com.vaadin.shared.Connector;
-import com.vaadin.shared.ui.AbstractLayoutState;
-import com.vaadin.shared.ui.AlignmentInfo;
-
-public class AbstractOrderedLayoutState extends AbstractLayoutState {
- private boolean spacing = false;
-
- public HashMap<Connector, ChildComponentData> childData = new HashMap<Connector, ChildComponentData>();
-
- public static class ChildComponentData implements Serializable {
- private int alignmentBitmask = AlignmentInfo.TOP_LEFT.getBitMask();
- private float expandRatio = 0.0f;
-
- public int getAlignmentBitmask() {
- return alignmentBitmask;
- }
-
- public void setAlignmentBitmask(int alignmentBitmask) {
- this.alignmentBitmask = alignmentBitmask;
- }
-
- public float getExpandRatio() {
- return expandRatio;
- }
-
- public void setExpandRatio(float expandRatio) {
- this.expandRatio = expandRatio;
- }
-
- }
-
- public HashMap<Connector, ChildComponentData> getChildData() {
- return childData;
- }
-
- public void setChildData(HashMap<Connector, ChildComponentData> childData) {
- this.childData = childData;
- }
-
- public boolean isSpacing() {
- return spacing;
- }
-
- public void setSpacing(boolean spacing) {
- this.spacing = spacing;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/panel/PanelServerRpc.java b/src/com/vaadin/shared/ui/panel/PanelServerRpc.java
deleted file mode 100644
index 6ed4652070..0000000000
--- a/src/com/vaadin/shared/ui/panel/PanelServerRpc.java
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.panel;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.ClickRpc;
-
-public interface PanelServerRpc extends ClickRpc, ServerRpc {
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/panel/PanelState.java b/src/com/vaadin/shared/ui/panel/PanelState.java
deleted file mode 100644
index ed31ed1ea3..0000000000
--- a/src/com/vaadin/shared/ui/panel/PanelState.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.panel;
-
-import com.vaadin.shared.ComponentState;
-
-public class PanelState extends ComponentState {
- private int tabIndex;
- private int scrollLeft, scrollTop;
-
- public int getTabIndex() {
- return tabIndex;
- }
-
- public void setTabIndex(int tabIndex) {
- this.tabIndex = tabIndex;
- }
-
- public int getScrollLeft() {
- return scrollLeft;
- }
-
- public void setScrollLeft(int scrollLeft) {
- this.scrollLeft = scrollLeft;
- }
-
- public int getScrollTop() {
- return scrollTop;
- }
-
- public void setScrollTop(int scrollTop) {
- this.scrollTop = scrollTop;
- }
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/root/PageClientRpc.java b/src/com/vaadin/shared/ui/root/PageClientRpc.java
deleted file mode 100644
index c7d587938d..0000000000
--- a/src/com/vaadin/shared/ui/root/PageClientRpc.java
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.shared.ui.root;
-
-import com.vaadin.shared.communication.ClientRpc;
-
-public interface PageClientRpc extends ClientRpc {
-
- public void setTitle(String title);
-
-}
diff --git a/src/com/vaadin/shared/ui/root/RootServerRpc.java b/src/com/vaadin/shared/ui/root/RootServerRpc.java
deleted file mode 100644
index 2e670553b8..0000000000
--- a/src/com/vaadin/shared/ui/root/RootServerRpc.java
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.root;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.ClickRpc;
-
-public interface RootServerRpc extends ClickRpc, ServerRpc {
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/root/RootState.java b/src/com/vaadin/shared/ui/root/RootState.java
deleted file mode 100644
index 31c5a8f872..0000000000
--- a/src/com/vaadin/shared/ui/root/RootState.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.root;
-
-import com.vaadin.shared.ComponentState;
-import com.vaadin.shared.Connector;
-
-public class RootState extends ComponentState {
- private Connector content;
- private int heartbeatInterval;
-
- public Connector getContent() {
- return content;
- }
-
- public void setContent(Connector content) {
- this.content = content;
- }
-
- public int getHeartbeatInterval() {
- return heartbeatInterval;
- }
-
- public void setHeartbeatInterval(int heartbeatInterval) {
- this.heartbeatInterval = heartbeatInterval;
- }
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.java b/src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.java
deleted file mode 100644
index e2ebcb0de3..0000000000
--- a/src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelRpc.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.splitpanel;
-
-import com.vaadin.shared.MouseEventDetails;
-import com.vaadin.shared.communication.ServerRpc;
-
-public interface AbstractSplitPanelRpc extends ServerRpc {
-
- /**
- * Called when the position has been updated by the user.
- *
- * @param position
- * The new position in % if the current unit is %, in px
- * otherwise
- */
- public void setSplitterPosition(float position);
-
- /**
- * Called when a click event has occurred on the splitter.
- *
- * @param mouseDetails
- * Details about the mouse when the event took place
- */
- public void splitterClick(MouseEventDetails mouseDetails);
-
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java b/src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java
deleted file mode 100644
index d94d5d8608..0000000000
--- a/src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.splitpanel;
-
-import java.io.Serializable;
-
-import com.vaadin.shared.ComponentState;
-import com.vaadin.shared.Connector;
-
-public class AbstractSplitPanelState extends ComponentState {
-
- private Connector firstChild = null;
- private Connector secondChild = null;
- private SplitterState splitterState = new SplitterState();
-
- public boolean hasFirstChild() {
- return firstChild != null;
- }
-
- public boolean hasSecondChild() {
- return secondChild != null;
- }
-
- public Connector getFirstChild() {
- return firstChild;
- }
-
- public void setFirstChild(Connector firstChild) {
- this.firstChild = firstChild;
- }
-
- public Connector getSecondChild() {
- return secondChild;
- }
-
- public void setSecondChild(Connector secondChild) {
- this.secondChild = secondChild;
- }
-
- public SplitterState getSplitterState() {
- return splitterState;
- }
-
- public void setSplitterState(SplitterState splitterState) {
- this.splitterState = splitterState;
- }
-
- public static class SplitterState implements Serializable {
- private float position;
- private String positionUnit;
- private float minPosition;
- private String minPositionUnit;
- private float maxPosition;
- private String maxPositionUnit;
- private boolean positionReversed = false;
- private boolean locked = false;
-
- public float getPosition() {
- return position;
- }
-
- public void setPosition(float position) {
- this.position = position;
- }
-
- public String getPositionUnit() {
- return positionUnit;
- }
-
- public void setPositionUnit(String positionUnit) {
- this.positionUnit = positionUnit;
- }
-
- public float getMinPosition() {
- return minPosition;
- }
-
- public void setMinPosition(float minPosition) {
- this.minPosition = minPosition;
- }
-
- public String getMinPositionUnit() {
- return minPositionUnit;
- }
-
- public void setMinPositionUnit(String minPositionUnit) {
- this.minPositionUnit = minPositionUnit;
- }
-
- public float getMaxPosition() {
- return maxPosition;
- }
-
- public void setMaxPosition(float maxPosition) {
- this.maxPosition = maxPosition;
- }
-
- public String getMaxPositionUnit() {
- return maxPositionUnit;
- }
-
- public void setMaxPositionUnit(String maxPositionUnit) {
- this.maxPositionUnit = maxPositionUnit;
- }
-
- public boolean isPositionReversed() {
- return positionReversed;
- }
-
- public void setPositionReversed(boolean positionReversed) {
- this.positionReversed = positionReversed;
- }
-
- public boolean isLocked() {
- return locked;
- }
-
- public void setLocked(boolean locked) {
- this.locked = locked;
- }
-
- }
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/textarea/TextAreaState.java b/src/com/vaadin/shared/ui/textarea/TextAreaState.java
deleted file mode 100644
index 3b3bd42f87..0000000000
--- a/src/com/vaadin/shared/ui/textarea/TextAreaState.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.textarea;
-
-import com.vaadin.shared.ui.textfield.AbstractTextFieldState;
-
-public class TextAreaState extends AbstractTextFieldState {
-
- /**
- * Number of visible rows in the text area. The default is 5.
- */
- private int rows = 5;
-
- /**
- * Tells if word-wrapping should be used in the text area.
- */
- private boolean wordwrap = true;
-
- public int getRows() {
- return rows;
- }
-
- public void setRows(int rows) {
- this.rows = rows;
- }
-
- public boolean isWordwrap() {
- return wordwrap;
- }
-
- public void setWordwrap(boolean wordwrap) {
- this.wordwrap = wordwrap;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/textfield/AbstractTextFieldState.java b/src/com/vaadin/shared/ui/textfield/AbstractTextFieldState.java
deleted file mode 100644
index d980eccae2..0000000000
--- a/src/com/vaadin/shared/ui/textfield/AbstractTextFieldState.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.textfield;
-
-import com.vaadin.shared.AbstractFieldState;
-
-public class AbstractTextFieldState extends AbstractFieldState {
- /**
- * Maximum character count in text field.
- */
- private int maxLength = -1;
-
- /**
- * Number of visible columns in the TextField.
- */
- private int columns = 0;
-
- /**
- * The prompt to display in an empty field. Null when disabled.
- */
- private String inputPrompt = null;
-
- /**
- * The text in the field
- */
- private String text = null;
-
- public int getMaxLength() {
- return maxLength;
- }
-
- public void setMaxLength(int maxLength) {
- this.maxLength = maxLength;
- }
-
- public int getColumns() {
- return columns;
- }
-
- public void setColumns(int columns) {
- this.columns = columns;
- }
-
- public String getInputPrompt() {
- return inputPrompt;
- }
-
- public void setInputPrompt(String inputPrompt) {
- this.inputPrompt = inputPrompt;
- }
-
- public String getText() {
- return text;
- }
-
- public void setText(String text) {
- this.text = text;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/video/VideoState.java b/src/com/vaadin/shared/ui/video/VideoState.java
deleted file mode 100644
index 1dc8d07b7c..0000000000
--- a/src/com/vaadin/shared/ui/video/VideoState.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.video;
-
-import com.vaadin.shared.communication.URLReference;
-import com.vaadin.shared.ui.AbstractMediaState;
-
-public class VideoState extends AbstractMediaState {
- private URLReference poster;
-
- public URLReference getPoster() {
- return poster;
- }
-
- public void setPoster(URLReference poster) {
- this.poster = poster;
- }
-
-}
diff --git a/src/com/vaadin/shared/ui/window/WindowServerRpc.java b/src/com/vaadin/shared/ui/window/WindowServerRpc.java
deleted file mode 100644
index 11abfae4be..0000000000
--- a/src/com/vaadin/shared/ui/window/WindowServerRpc.java
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.window;
-
-import com.vaadin.shared.communication.ServerRpc;
-import com.vaadin.shared.ui.ClickRpc;
-
-public interface WindowServerRpc extends ClickRpc, ServerRpc {
-} \ No newline at end of file
diff --git a/src/com/vaadin/shared/ui/window/WindowState.java b/src/com/vaadin/shared/ui/window/WindowState.java
deleted file mode 100644
index 428bd75167..0000000000
--- a/src/com/vaadin/shared/ui/window/WindowState.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.vaadin.shared.ui.window;
-
-import com.vaadin.shared.ui.panel.PanelState;
-
-public class WindowState extends PanelState {
- private boolean modal = false;
- private boolean resizable = true;
- private boolean resizeLazy = false;
- private boolean draggable = true;
- private boolean centered = false;;
- private int positionX = -1;
- private int positionY = -1;
-
- public boolean isModal() {
- return modal;
- }
-
- public void setModal(boolean modal) {
- this.modal = modal;
- }
-
- public boolean isResizable() {
- return resizable;
- }
-
- public void setResizable(boolean resizable) {
- this.resizable = resizable;
- }
-
- public boolean isResizeLazy() {
- return resizeLazy;
- }
-
- public void setResizeLazy(boolean resizeLazy) {
- this.resizeLazy = resizeLazy;
- }
-
- public boolean isDraggable() {
- return draggable;
- }
-
- public void setDraggable(boolean draggable) {
- this.draggable = draggable;
- }
-
- public boolean isCentered() {
- return centered;
- }
-
- public void setCentered(boolean centered) {
- this.centered = centered;
- }
-
- public int getPositionX() {
- return positionX;
- }
-
- public void setPositionX(int positionX) {
- this.positionX = positionX;
- }
-
- public int getPositionY() {
- return positionY;
- }
-
- public void setPositionY(int positionY) {
- this.positionY = positionY;
- }
-
-} \ No newline at end of file