diff options
6 files changed, 30 insertions, 13 deletions
diff --git a/client/src/main/java/com/vaadin/client/communication/MessageHandler.java b/client/src/main/java/com/vaadin/client/communication/MessageHandler.java index c9cbf5737f..25b51f3788 100644 --- a/client/src/main/java/com/vaadin/client/communication/MessageHandler.java +++ b/client/src/main/java/com/vaadin/client/communication/MessageHandler.java @@ -1701,6 +1701,7 @@ public class MessageHandler { * establishing a push connection with the client. * * @return the push connection identifier string + * @since 8.0.6 */ public String getPushId() { return pushId; diff --git a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java index 08e11b96b5..88974715cd 100644 --- a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java +++ b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java @@ -225,7 +225,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Set the range of rows to push for next response. * * @param pushRows - * @since + * @since 8.0.6 */ protected void setPushRows(Range pushRows) { this.pushRows = pushRows; @@ -235,7 +235,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Get the current range of rows to push in the next response. * * @return the range of rows to push - * @since + * @since 8.0.6 */ protected Range getPushRows() { return pushRows; @@ -245,7 +245,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Get the object used for filtering in this data communicator. * * @return the filter object of this data communicator - * @since + * @since 8.0.6 */ protected Object getFilter() { return filter; @@ -255,7 +255,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Get the client rpc interface for this data communicator. * * @return the client rpc interface for this data communicator - * @since + * @since 8.0.6 */ protected DataCommunicatorClientRpc getClientRpc() { return rpc; @@ -272,7 +272,7 @@ public class DataCommunicator<T> extends AbstractExtension { * the index of the first cached row * @param cacheSize * the number of cached rows - * @since + * @since 8.0.6 */ protected void onRequestRows(int firstRowIndex, int numberOfRows, int firstCachedRowIndex, int cacheSize) { @@ -285,7 +285,7 @@ public class DataCommunicator<T> extends AbstractExtension { * * @param keys * the keys of the rows that have been dropped - * @since + * @since 8.0.6 */ protected void onDropRows(JsonArray keys) { for (int i = 0; i < keys.length(); ++i) { @@ -309,7 +309,7 @@ public class DataCommunicator<T> extends AbstractExtension { * * @param initial * {@code true} if initial data load, {@code false} if not - * @since + * @since 8.0.6 */ protected void sendDataToClient(boolean initial) { if (getDataProvider() == null) { @@ -437,7 +437,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Returns the active data handler. * * @return the active data handler - * @since + * @since 8.0.6 */ protected ActiveDataHandler getActiveDataHandler() { return handler; @@ -505,7 +505,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Returns the currently set updated data. * * @return the set of data that should be updated on the next response - * @since + * @since 8.0.6 */ protected Set<T> getUpdatedData() { return updatedData; @@ -526,7 +526,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Returns the {@link Comparator} to use with in-memory sorting. * * @return comparator used to sort data - * @since + * @since 8.0.6 */ public Comparator<T> getInMemorySorting() { return inMemorySorting; @@ -548,7 +548,7 @@ public class DataCommunicator<T> extends AbstractExtension { * Returns the {@link QuerySortOrder} to use with backend sorting. * * @return list of sort order information to pass to a query - * @since + * @since 8.0.6 */ public List<QuerySortOrder> getBackEndSorting() { return backEndSorting; diff --git a/server/src/main/java/com/vaadin/server/VaadinSession.java b/server/src/main/java/com/vaadin/server/VaadinSession.java index 46a11d3826..1fe2dc0044 100644 --- a/server/src/main/java/com/vaadin/server/VaadinSession.java +++ b/server/src/main/java/com/vaadin/server/VaadinSession.java @@ -1424,6 +1424,7 @@ public class VaadinSession implements HttpSessionBindingListener, Serializable { * establishing a push connection with the client. * * @return the push connection identifier string + * @since 8.0.6 */ public String getPushId() { assert hasLock(); diff --git a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java index e238dadb1a..5d091a026d 100644 --- a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java @@ -55,6 +55,9 @@ public class ApplicationConstants implements Serializable { public static final String UIDL_SECURITY_TOKEN_ID = "Vaadin-Security-Key"; + /** + * @since 8.0.6 + */ public static final String UIDL_PUSH_ID = "Vaadin-Push-ID"; @Deprecated @@ -126,6 +129,8 @@ public class ApplicationConstants implements Serializable { /** * Name of the parameter used to transmit the push connection identifier. + * + * @since 8.0.6 */ public static final String PUSH_ID_PARAMETER = "v-pushId"; diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java index 945678ac2d..5371d81273 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java @@ -444,6 +444,13 @@ public class GridElement extends AbstractComponentElement { return getSubPart("#details[" + rowIndex + "]"); } + /** + * Toggles the column visibility. Column is identified by its hiding toggle + * caption. + * + * @param toggleCaption + * @since 8.0.6 + */ public void toggleColumnHidden(String toggleCaption) { if (!isElementPresent(By.className("v-grid-sidebar-content"))) { // Open sidebar menu diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java index 4f3106356a..395f6d1af9 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java @@ -25,7 +25,8 @@ public class GridLayoutElement extends AbstractLayoutElement { /** * Gets the total number of rows in the layout. * - * @return the number of rows in the layout, + * @return the number of rows in the layout + * @since 8.0.6 */ public long getRowCount() { Long res = (Long) getCommandExecutor() @@ -40,7 +41,8 @@ public class GridLayoutElement extends AbstractLayoutElement { /** * Gets the total number of columns in the layout. * - * @return the number of columns in the layout, + * @return the number of columns in the layout + * @since 8.0.6 */ public long getColumnCount() { Long res = (Long) getCommandExecutor() @@ -62,6 +64,7 @@ public class GridLayoutElement extends AbstractLayoutElement { * @return the cell element at the given position * @throws NoSuchElementException * if no cell was found at the given position + * @since 8.0.6 */ public WebElement getCell(int row, int column) { WebElement res = (WebElement) getCommandExecutor().executeScript( |