*
* @param <T>
* Grid's row type
+ *
+ * @since 7.7.7
*/
public interface HasUserSelectionAllowed<T> extends SelectionModel<T> {
* @param userSelectionAllowed
* <code>true</code> if the user is allowed to change the
* selection, <code>false</code> otherwise
+ * @since 7.7.7
*/
public void setUserSelectionAllowed(boolean userSelectionAllowed) {
if (userSelectionAllowed == this.userSelectionAllowed) {
*
* @return <code>true</code> if selection by the user is allowed by the
* selection model (the default), <code>false</code> otherwise
+ * @since 7.7.7
*/
public boolean isUserSelectionAllowed() {
if (!(getSelectionModel() instanceof HasUserSelectionAllowed)) {
*
* @param bean
* The new bean to use for this item, not <code>null</code>
+ * @since 7.7.7
*/
public void setBean(BT bean) {
if (bean == null) {
* The instance used by this property
*
* @return the instance used for fetching the property value
+ * @since 7.7.7
*/
public Object getInstance() {
return instance;
*
* @param instance
* the instance to use
+ * @since 7.7.7
*/
public void setInstance(Object instance) {
if (this.instance.getClass() != instance.getClass()) {
* The instance used by this property
*
* @return the instance used for fetching the property value
+ * @since 7.7.7
*/
public Object getInstance() {
return instance;
*
* @param instance
* the instance to use
+ * @since 7.7.7
*/
public void setInstance(Object instance) {
if (this.instance.getClass() != instance.getClass()) {
* client side selection while still allowing programmatic selection on
* the server.
*
+ * @since 7.7.7
*/
public interface HasUserSelectionAllowed extends SelectionModel {
/**
* Refreshes, i.e. causes the client side to re-render all rows.
+ *
+ * @since 7.7.7
*/
public void refreshAllRows() {
datasourceExtension.refreshCache();
* Utilities related to various encoding schemes.
*
* @author Vaadin Ltd
- * @since
+ * @since 7.7.7
*/
public class EncodeUtil {
private static final Charset utf8 = Charset.forName("UTF-8");