Change-Id: I00401560e345c82a5d967cd71d611605d9b96d92tags/7.4.0.beta2
@@ -42,7 +42,7 @@ import elemental.json.JsonValue; | |||
* @param <T> | |||
* the presentation type of the renderer | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public abstract class AbstractRendererConnector<T> extends |
@@ -25,7 +25,7 @@ import elemental.json.JsonObject; | |||
/** | |||
* A connector for {@link ButtonRenderer}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.renderer.ButtonRenderer.class) |
@@ -29,7 +29,7 @@ import elemental.json.JsonObject; | |||
* @param <T> | |||
* the presentation type of the renderer | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public abstract class ClickableRendererConnector<T> extends |
@@ -25,7 +25,7 @@ import com.vaadin.shared.ui.Connect; | |||
* string, and displayed as-is on the client side. This is to be able to support | |||
* the server's locale. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.renderer.DateRenderer.class) |
@@ -87,7 +87,7 @@ import elemental.json.JsonValue; | |||
* at {@link com.vaadin.shared.data.DataProviderRpc#setRowData(int, List) | |||
* DataProviderRpc.setRowData(int, List)}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.Grid.class) |
@@ -29,7 +29,7 @@ import elemental.json.JsonValue; | |||
/** | |||
* A connector for {@link ImageRenderer}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.renderer.ImageRenderer.class) |
@@ -26,7 +26,7 @@ import com.vaadin.shared.ui.Connect; | |||
* string, and displayed as-is on the client side. This is to be able to support | |||
* the server's locale. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.renderer.NumberRenderer.class) |
@@ -21,7 +21,7 @@ import com.vaadin.shared.ui.Connect; | |||
/** | |||
* A connector for {@link ProgressBarRenderer}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.renderer.ProgressBarRenderer.class) |
@@ -39,7 +39,7 @@ import elemental.json.JsonValue; | |||
* connector type. This will be changed once framework support for something | |||
* more flexible has been implemented. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.data.RpcDataProviderExtension.class) |
@@ -21,7 +21,7 @@ import com.vaadin.shared.ui.Connect; | |||
/** | |||
* A connector for {@link TextRenderer}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.renderer.TextRenderer.class) |
@@ -22,7 +22,7 @@ import com.vaadin.shared.ui.Connect; | |||
/** | |||
* A connector for {@link UnsafeHtmlRenderer} | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
@Connect(com.vaadin.ui.renderer.HtmlRenderer.class) |
@@ -35,7 +35,7 @@ import com.vaadin.shared.ui.grid.Range; | |||
* {@link #requestRows(int, int, RequestRowsCallback)} to trigger asynchronously | |||
* loading of data and then pass the loaded data into the provided callback. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
* @param <T> | |||
* the row type |
@@ -22,7 +22,7 @@ import com.vaadin.shared.ui.grid.Range; | |||
* Determines what data an {@link AbstractRemoteDataSource} should fetch and | |||
* keep cached. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface CacheStrategy { |
@@ -20,7 +20,7 @@ package com.vaadin.client.data; | |||
* Callback interface used by {@link DataSource} to inform its user about | |||
* updates to the data. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface DataChangeHandler { |
@@ -21,7 +21,7 @@ package com.vaadin.client.data; | |||
* items (e.g. rows) of a specified type. The data source is a lazy view into a | |||
* larger data set. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
* @param <T> | |||
* the row type |
@@ -24,7 +24,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
* corresponding column are used as the captions. Click handlers can be added to | |||
* the renderer, invoked when any of the rendered buttons is clicked. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ButtonRenderer extends ClickableRenderer<String, Button> { |
@@ -44,7 +44,7 @@ import com.vaadin.client.widgets.Grid; | |||
* @param <W> | |||
* the widget type | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public abstract class ClickableRenderer<T, W extends Widget> extends |
@@ -25,7 +25,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
/** | |||
* A renderer for rendering dates into cells | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class DateRenderer implements Renderer<Date> { |
@@ -27,7 +27,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
* contract. For more information see | |||
* {@link SafeHtmlUtils#fromSafeConstant(String)}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
* @see SafeHtmlUtils#fromSafeConstant(String) | |||
*/ |
@@ -24,7 +24,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
* the renderer, invoked every time any of the images rendered by that rendered | |||
* is clicked. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ImageRenderer extends ClickableRenderer<String, Image> { |
@@ -23,7 +23,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
* default uses the default number format returned by | |||
* {@link NumberFormat#getDecimalFormat()}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
* @param <T> | |||
* The number type to render. |
@@ -22,7 +22,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
/** | |||
* A Renderer that represents a double value as a graphical progress bar. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ProgressBarRenderer extends WidgetRenderer<Double, VProgressBar> { |
@@ -29,7 +29,7 @@ import com.vaadin.client.widgets.Grid; | |||
* @param <T> | |||
* The column type | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface Renderer<T> { |
@@ -20,7 +20,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
/** | |||
* Renderer that renders text into a cell. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class TextRenderer implements Renderer<String> { |
@@ -23,7 +23,7 @@ import com.vaadin.client.widget.grid.RendererCellReference; | |||
/** | |||
* A renderer for rendering widgets into cells. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
* @param <T> | |||
* the row data type |
@@ -20,7 +20,7 @@ package com.vaadin.ui.renderer; | |||
* corresponding property is used as the caption. Click listeners can be added | |||
* to the renderer, invoked when any of the rendered buttons is clicked. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ButtonRenderer extends ClickableRenderer<String> { |
@@ -34,7 +34,7 @@ import com.vaadin.util.ReflectTools; | |||
* @param <T> | |||
* the type presented by the renderer | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ClickableRenderer<T> extends AbstractRenderer<T> { |
@@ -26,7 +26,7 @@ import elemental.json.JsonValue; | |||
/** | |||
* A renderer for presenting date values. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class DateRenderer extends AbstractRenderer<Date> { |
@@ -20,7 +20,7 @@ import com.vaadin.ui.Grid.AbstractRenderer; | |||
/** | |||
* A renderer for presenting HTML content. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class HtmlRenderer extends AbstractRenderer<String> { |
@@ -30,7 +30,7 @@ import elemental.json.JsonValue; | |||
* the data source. Only {@link ExternalResource}s and {@link ThemeResource}s | |||
* are currently supported. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ImageRenderer extends ClickableRenderer<Resource> { |
@@ -25,7 +25,7 @@ import elemental.json.JsonValue; | |||
/** | |||
* A renderer for presenting number values. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class NumberRenderer extends AbstractRenderer<Number> { |
@@ -22,7 +22,7 @@ import elemental.json.JsonValue; | |||
/** | |||
* A renderer that represents a double values as a graphical progress bar. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ProgressBarRenderer extends AbstractRenderer<Double> { |
@@ -30,7 +30,7 @@ import elemental.json.JsonValue; | |||
* @param <T> | |||
* the type this renderer knows how to present | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface Renderer<T> extends Extension { |
@@ -20,7 +20,7 @@ import com.vaadin.ui.Grid.AbstractRenderer; | |||
/** | |||
* A renderer for presenting simple plain-text string values. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class TextRenderer extends AbstractRenderer<String> { |
@@ -32,7 +32,7 @@ import java.lang.annotation.Target; | |||
* the potential of causing sizes to change with appropriate style definitions | |||
* in the application theme. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* | |||
* @author Vaadin Ltd | |||
*/ |
@@ -22,7 +22,7 @@ import com.vaadin.shared.communication.ClientRpc; | |||
/** | |||
* RPC interface used for pushing container data to the client. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface DataProviderRpc extends ClientRpc { |
@@ -22,7 +22,7 @@ import com.vaadin.shared.communication.ServerRpc; | |||
/** | |||
* RPC interface used for requesting container data to the client. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface DataRequestRpc extends ServerRpc { |
@@ -20,7 +20,7 @@ import java.io.Serializable; | |||
/** | |||
* Describes sorting direction. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public enum SortDirection implements Serializable { |
@@ -23,7 +23,7 @@ import java.util.List; | |||
/** | |||
* The column group data shared between the server and the client | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class ColumnGroupState implements Serializable { |
@@ -20,7 +20,7 @@ import com.vaadin.shared.communication.ClientRpc; | |||
/** | |||
* An RPC interface for the grid editor server-to-client communications. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface EditorClientRpc extends ClientRpc { |
@@ -20,7 +20,7 @@ import com.vaadin.shared.communication.ServerRpc; | |||
/** | |||
* An RPC interface for the grid editor client-to-server communications. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface EditorServerRpc extends ServerRpc { |
@@ -20,7 +20,7 @@ import com.vaadin.shared.communication.ClientRpc; | |||
/** | |||
* Server-to-client RPC interface for the Grid component. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface GridClientRpc extends ClientRpc { |
@@ -23,7 +23,7 @@ import com.vaadin.shared.Connector; | |||
* Column state DTO for transferring column properties from the server to the | |||
* client | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class GridColumnState implements Serializable { |
@@ -21,7 +21,7 @@ import java.io.Serializable; | |||
* Container class for common constants and default values used by the Grid | |||
* component. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public final class GridConstants implements Serializable { |
@@ -23,7 +23,7 @@ import com.vaadin.shared.data.sort.SortDirection; | |||
/** | |||
* Client-to-server RPC interface for the Grid component | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public interface GridServerRpc extends ServerRpc { |
@@ -26,7 +26,7 @@ import com.vaadin.shared.data.sort.SortDirection; | |||
/** | |||
* The shared state for the {@link com.vaadin.ui.components.grid.Grid} component | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class GridState extends AbstractComponentState { |
@@ -18,7 +18,7 @@ package com.vaadin.shared.ui.grid; | |||
/** | |||
* Enumeration, specifying the content type of a Cell in a GridStaticSection. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public enum GridStaticCellType { | |||
@@ -36,4 +36,4 @@ public enum GridStaticCellType { | |||
* Widget content | |||
*/ | |||
WIDGET; | |||
} | |||
} |
@@ -27,7 +27,7 @@ import com.vaadin.shared.Connector; | |||
/** | |||
* Shared state for Grid headers and footers. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class GridStaticSectionState implements Serializable { |
@@ -21,7 +21,7 @@ package com.vaadin.shared.ui.grid; | |||
* {@link com.vaadin.ui.components.grid.Grid server}) / | |||
* {@link com.vaadin.client.ui.grid.Escalator Escalator}. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
* @see com.vaadin.client.ui.grid.Grid#setHeightMode(HeightMode) | |||
* @see com.vaadin.ui.components.grid.Grid#setHeightMode(HeightMode) |
@@ -27,7 +27,7 @@ import java.io.Serializable; | |||
* The range is considered {@link #isEmpty() empty} if the start is the same as | |||
* the end. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public final class Range implements Serializable { |
@@ -19,7 +19,7 @@ package com.vaadin.shared.ui.grid; | |||
* Enumeration, specifying the destinations that are supported when scrolling | |||
* rows or columns into view. | |||
* | |||
* @since | |||
* @since 7.4 | |||
* @author Vaadin Ltd | |||
*/ | |||
public enum ScrollDestination { |