Change-Id: Iacf3864f6902e810591e2085adb44d0a6848f51ctags/8.0.0.alpha1
@@ -37,7 +37,7 @@ import elemental.json.JsonObject; | |||
/** | |||
* A connector for DataCommunicator class. | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
@Connect(DataCommunicator.class) | |||
public class DataCommunicatorConnector extends AbstractExtensionConnector { | |||
@@ -133,4 +133,4 @@ public class DataCommunicatorConnector extends AbstractExtensionConnector { | |||
assert false : "Parent not implementing HasDataSource"; | |||
} | |||
} | |||
} | |||
} |
@@ -31,7 +31,7 @@ import elemental.json.JsonValue; | |||
* 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 { |
@@ -39,7 +39,7 @@ import elemental.json.JsonObject; | |||
* Connector class for {@link DetailsManager} of the Grid component. | |||
* | |||
* @author Vaadin Ltd | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
@Connect(DetailsManager.class) | |||
public class DetailsManagerConnector extends AbstractExtensionConnector { |
@@ -49,7 +49,7 @@ import elemental.json.JsonObject; | |||
* A connector class for the typed Grid component. | |||
* | |||
* @author Vaadin Ltd | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
@Connect(com.vaadin.ui.Grid.class) | |||
public class GridConnector |
@@ -25,7 +25,7 @@ import com.vaadin.shared.Range; | |||
* not support lazy loading. | |||
* | |||
* @author Vaadin Ltd | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public class SimpleDataChangeHandler implements DataChangeHandler { | |||
@@ -22,7 +22,7 @@ import com.vaadin.shared.data.selection.SelectionModel; | |||
* Interface for SelectionModels that wants Grid to display a selection column. | |||
* | |||
* @author Vaadin Ltd | |||
* @since | |||
* @since 8.0 | |||
* | |||
* @param <T> | |||
* selected item type |
@@ -1337,7 +1337,7 @@ public class VFilterSelect extends Composite | |||
* This class is still subject to change and should not be considered as | |||
* public stable API. | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public class DataReceivedHandler { | |||
@@ -274,7 +274,7 @@ public class ComboBoxConnector extends AbstractFieldConnector | |||
* 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 | |||
*/ | |||
@@ -290,7 +290,7 @@ public class ComboBoxConnector extends AbstractFieldConnector | |||
* This method is for internal use only and may be removed in future | |||
* versions. | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public void requestFirstPage() { | |||
sendSelection(null); | |||
@@ -304,7 +304,7 @@ public class ComboBoxConnector extends AbstractFieldConnector | |||
* 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 | |||
@@ -321,7 +321,7 @@ public class ComboBoxConnector extends AbstractFieldConnector | |||
* This method is for internal use only and may be removed in future | |||
* versions. | |||
* | |||
* @since | |||
* @since 8.0 | |||
* @param selection | |||
* the current selection | |||
*/ | |||
@@ -339,7 +339,7 @@ public class ComboBoxConnector extends AbstractFieldConnector | |||
* 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); | |||
@@ -358,7 +358,7 @@ public class ComboBoxConnector extends AbstractFieldConnector | |||
* 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); |
@@ -227,7 +227,7 @@ public class ComboBox extends AbstractSelect | |||
* 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 = ""; |
@@ -20,7 +20,7 @@ import com.vaadin.shared.communication.ServerRpc; | |||
/** | |||
* Client to server RPC interface for ComboBox. | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public interface ComboBoxServerRpc extends ServerRpc { | |||
/** |
@@ -32,7 +32,7 @@ public class ComboBoxState extends AbstractSelectState { | |||
* 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; | |||
@@ -40,7 +40,7 @@ public class ComboBoxState extends AbstractSelectState { | |||
* 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; | |||
@@ -42,7 +42,7 @@ import com.vaadin.ui.UI; | |||
* @param <BEAN> | |||
* the bean type | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public class BeanBinder<BEAN> extends Binder<BEAN> { | |||
@@ -75,7 +75,7 @@ import com.vaadin.ui.Label; | |||
* @see Binding | |||
* @see HasValue | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public class Binder<BEAN> implements Serializable { | |||
@@ -21,7 +21,7 @@ import com.vaadin.ui.Component; | |||
* 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 { |
@@ -32,7 +32,7 @@ import com.vaadin.shared.Registration; | |||
* @param <V> | |||
* the value type | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public interface HasValue<V> extends Serializable { | |||
@@ -31,7 +31,7 @@ import com.vaadin.shared.data.selection.SelectionModel; | |||
* 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 { |
@@ -29,7 +29,7 @@ import elemental.json.JsonObject; | |||
* @param <T> | |||
* type of selected data | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public abstract class AbstractSelectionModel<T> extends | |||
AbstractListingExtension<T> implements SelectionModel<T> { |
@@ -37,7 +37,7 @@ import com.vaadin.util.ReflectTools; | |||
* @param <T> | |||
* the type of the items to select | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public class SingleSelection<T> extends AbstractSelectionModel<T> | |||
implements Single<T> { |
@@ -46,7 +46,7 @@ import elemental.json.JsonObject; | |||
* {@link JsonObject}s representing each data object to be sent to the | |||
* client-side. | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public class DataCommunicator<T> extends AbstractExtension { | |||
@@ -28,7 +28,7 @@ import elemental.json.JsonObject; | |||
* @param <T> | |||
* the data type | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
@FunctionalInterface | |||
public interface DataGenerator<T> extends Serializable { |
@@ -20,7 +20,7 @@ import java.io.Serializable; | |||
/** | |||
* DataKeyMapper to map data objects to key strings. | |||
* | |||
* @since | |||
* @since 8.0 | |||
* @param <T> | |||
* data type | |||
*/ | |||
@@ -59,4 +59,4 @@ public interface DataKeyMapper<T> extends Serializable { | |||
* Dropped keys are not reused. | |||
*/ | |||
void removeAll(); | |||
} | |||
} |
@@ -33,7 +33,7 @@ import java.util.stream.Stream; | |||
* @see ListDataSource | |||
* @see BackEndDataSource | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public interface DataSource<T> | |||
extends Function<Query, Stream<T>>, Serializable { |
@@ -24,7 +24,7 @@ import java.util.Set; | |||
* 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 { | |||
@@ -43,7 +43,7 @@ import com.vaadin.util.ReflectTools; | |||
* purposes. | |||
* | |||
* @author Vaadin Ltd. | |||
* @since | |||
* @since 8.0 | |||
* | |||
* @param <T> | |||
* the input value type |
@@ -35,7 +35,7 @@ import com.vaadin.shared.data.selection.SelectionModel; | |||
* @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> { |
@@ -56,7 +56,7 @@ import elemental.json.JsonValue; | |||
* A grid component for displaying tabular data. | |||
* | |||
* @author Vaadin Ltd | |||
* @since | |||
* @since 8.0 | |||
* | |||
* @param <T> | |||
* the grid bean type |
@@ -21,7 +21,7 @@ import java.io.Serializable; | |||
* 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 { |
@@ -22,7 +22,7 @@ import elemental.json.JsonArray; | |||
/** | |||
* RPC interface used by DataProvider to send data to the client-side. | |||
* | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public interface DataCommunicatorClientRpc extends ClientRpc { | |||
@@ -57,4 +57,4 @@ public interface DataCommunicatorClientRpc extends ClientRpc { | |||
void updateData(JsonArray data); | |||
// TODO: Notify add / remove | |||
} | |||
} |
@@ -21,11 +21,11 @@ import java.io.Serializable; | |||
* 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"; | |||
} | |||
} |
@@ -28,7 +28,7 @@ import java.util.Set; | |||
* | |||
* @param <T> | |||
* the type of the items to select | |||
* @since | |||
* @since 8.0 | |||
*/ | |||
public interface SelectionModel<T> extends Serializable { | |||
@@ -26,7 +26,7 @@ import com.vaadin.shared.ui.TabIndexState; | |||
/** | |||
* The shared state for the {@link com.vaadin.ui.Grid} component. | |||
* | |||
* @since | |||
* @since 8.0 | |||
* @author Vaadin Ltd | |||
*/ | |||
public class GridState extends TabIndexState { |
@@ -12,7 +12,7 @@ public class GridElement extends com.vaadin.testbench.elements.GridElement { | |||
/** | |||
* 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> |
@@ -21,7 +21,7 @@ import com.vaadin.testbench.elementsbase.ServerClass; | |||
/** | |||
* TestBench Element API for Grid | |||
* | |||
* @since | |||
* @since 8.0 | |||
* @author Vaadin Ltd | |||
*/ | |||
@ServerClass("com.vaadin.v7.ui.Grid") | |||
@@ -30,7 +30,7 @@ public class GridElement extends com.vaadin.testbench.elements.GridElement { | |||
/** | |||
* 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> |