/**
* A connector for DataCommunicator class.
*
- * @since
+ * @since 8.0
*/
@Connect(DataCommunicator.class)
public class DataCommunicatorConnector extends AbstractExtensionConnector {
assert false : "Parent not implementing HasDataSource";
}
}
-}
\ No newline at end of file
+}
* A connector class for columns of the Grid component.
*
* @author Vaadin Ltd
- * @since
+ * @since 8.0
*/
@Connect(com.vaadin.ui.Grid.Column.class)
public class ColumnConnector extends AbstractExtensionConnector {
* Connector class for {@link DetailsManager} of the Grid component.
*
* @author Vaadin Ltd
- * @since
+ * @since 8.0
*/
@Connect(DetailsManager.class)
public class DetailsManagerConnector extends AbstractExtensionConnector {
* A connector class for the typed Grid component.
*
* @author Vaadin Ltd
- * @since
+ * @since 8.0
*/
@Connect(com.vaadin.ui.Grid.class)
public class GridConnector
* not support lazy loading.
*
* @author Vaadin Ltd
- * @since
+ * @since 8.0
*/
public class SimpleDataChangeHandler implements DataChangeHandler {
* Interface for SelectionModels that wants Grid to display a selection column.
*
* @author Vaadin Ltd
- * @since
+ * @since 8.0
*
* @param <T>
* selected item type
* This class is still subject to change and should not be considered as
* public stable API.
*
- * @since
+ * @since 8.0
*/
public class DataReceivedHandler {
* This method is for internal use only and may be removed in future
* versions.
*
- * @since
+ * @since 8.0
* @param itemValue
* user entered string value for the new item
*/
* This method is for internal use only and may be removed in future
* versions.
*
- * @since
+ * @since 8.0
*/
public void requestFirstPage() {
sendSelection(null);
* This method is for internal use only and may be removed in future
* versions.
*
- * @since
+ * @since 8.0
* @param filter
* the current filter string
* @param page
* This method is for internal use only and may be removed in future
* versions.
*
- * @since
+ * @since 8.0
* @param selection
* the current selection
*/
* This method is for internal use only and may be removed in future
* versions.
*
- * @since
+ * @since 8.0
*/
public void sendFocusEvent() {
boolean registeredListeners = hasEventListener(EventId.FOCUS);
* This method is for internal use only and may be removed in future
* versions.
*
- * @since
+ * @since 8.0
*/
public void sendBlurEvent() {
boolean registeredListeners = hasEventListener(EventId.BLUR);
* A class representing an item in a ComboBox for server to client
* communication. This class is for internal use only and subject to change.
*
- * @since
+ * @since 8.0
*/
private static class ComboBoxItem implements Serializable {
String key = "";
/**
* Client to server RPC interface for ComboBox.
*
- * @since
+ * @since 8.0
*/
public interface ComboBoxServerRpc extends ServerRpc {
/**
* NativeSelect - the user can not enter any text and clicking the text
* field opens the drop down with options.
*
- * @since
+ * @since 8.0
*/
public boolean textInputAllowed = true;
* A textual prompt that is displayed when the select would otherwise be
* empty, to prompt the user for input.
*
- * @since
+ * @since 8.0
*/
public String inputPrompt = null;
* @param <BEAN>
* the bean type
*
- * @since
+ * @since 8.0
*/
public class BeanBinder<BEAN> extends Binder<BEAN> {
* @see Binding
* @see HasValue
*
- * @since
+ * @since 8.0
*/
public class Binder<BEAN> implements Serializable {
* Interface implemented by field which can be marked as required. A required
* status is handled by the parent layout.
*
- * @since
+ * @since 8.0
* @author Vaadin Ltd
*/
public interface HasRequired extends Component {
* @param <V>
* the value type
*
- * @since
+ * @since 8.0
*/
public interface HasValue<V> extends Serializable {
* the item data type
* @param <SELECTIONMODEL>
* the selection logic supported by this listing
- * @since
+ * @since 8.0
*/
public interface Listing<T, SELECTIONMODEL extends SelectionModel<T>>
extends Serializable {
* @param <T>
* type of selected data
*
- * @since
+ * @since 8.0
*/
public abstract class AbstractSelectionModel<T> extends
AbstractListingExtension<T> implements SelectionModel<T> {
* @param <T>
* the type of the items to select
*
- * @since
+ * @since 8.0
*/
public class SingleSelection<T> extends AbstractSelectionModel<T>
implements Single<T> {
* {@link JsonObject}s representing each data object to be sent to the
* client-side.
*
- * @since
+ * @since 8.0
*/
public class DataCommunicator<T> extends AbstractExtension {
* @param <T>
* the data type
*
- * @since
+ * @since 8.0
*/
@FunctionalInterface
public interface DataGenerator<T> extends Serializable {
/**
* DataKeyMapper to map data objects to key strings.
*
- * @since
+ * @since 8.0
* @param <T>
* data type
*/
* Dropped keys are not reused.
*/
void removeAll();
-}
\ No newline at end of file
+}
* @see ListDataSource
* @see BackEndDataSource
*
- * @since
+ * @since 8.0
*/
public interface DataSource<T>
extends Function<Query, Stream<T>>, Serializable {
* Query object used to request data from a backend. Contains index limits,
* sorting and filtering information.
*
- * @since
+ * @since 8.0
*/
public class Query implements Serializable {
* purposes.
*
* @author Vaadin Ltd.
- * @since
+ * @since 8.0
*
* @param <T>
* the input value type
* @param <SELECTIONMODEL>
* the selection logic supported by this listing
*
- * @since
+ * @since 8.0
*/
public abstract class AbstractListing<T, SELECTIONMODEL extends SelectionModel<T>>
extends AbstractComponent implements Listing<T, SELECTIONMODEL> {
* A grid component for displaying tabular data.
*
* @author Vaadin Ltd
- * @since
+ * @since 8.0
*
* @param <T>
* the grid bean type
* A registration object for removing an event listener added to a source.
*
* @author Vaadin Ltd.
- * @since
+ * @since 8.0
*/
@FunctionalInterface
public interface Registration extends Serializable {
/**
* RPC interface used by DataProvider to send data to the client-side.
*
- * @since
+ * @since 8.0
*/
public interface DataCommunicatorClientRpc extends ClientRpc {
void updateData(JsonArray data);
// TODO: Notify add / remove
-}
\ No newline at end of file
+}
* Set of contants used by DataCommunicator. These are commonly used JsonObject
* keys which are considered to be reserved for internal use.
*
- * @since
+ * @since 8.0
*/
public final class DataCommunicatorConstants implements Serializable {
public static final String KEY = "k";
public static final String SELECTED = "s";
public static final String NAME = "n";
public static final String DATA = "d";
-}
\ No newline at end of file
+}
*
* @param <T>
* the type of the items to select
- * @since
+ * @since 8.0
*/
public interface SelectionModel<T> extends Serializable {
/**
* The shared state for the {@link com.vaadin.ui.Grid} component.
*
- * @since
+ * @since 8.0
* @author Vaadin Ltd
*/
public class GridState extends TabIndexState {
/**
* Gets the element that contains the details of a row.
*
- * @since
+ * @since 8.0
* @param rowIndex
* the index of the row for the details
* @return the element that contains the details of a row. <code>null</code>
/**
* TestBench Element API for Grid
*
- * @since
+ * @since 8.0
* @author Vaadin Ltd
*/
@ServerClass("com.vaadin.v7.ui.Grid")
/**
* Gets the element that contains the details of a row.
*
- * @since
+ * @since 8.0
* @param rowIndex
* the index of the row for the details
* @return the element that contains the details of a row. <code>null</code>