All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.vaadin.mixins.HasIncludedMixin Maven / Gradle / Ivy

The newest version!
package com.github.fluorumlabs.disconnect.vaadin.mixins;

import com.github.fluorumlabs.disconnect.vaadin.elements.mixins.IncludedMixin;
import com.github.fluorumlabs.disconnect.zero.component.Component;
import js.util.RegExp;

public interface HasIncludedMixin> extends Component {
	/**
	 * A list of item fields that should not be mapped to form fields.
	 * 

* When include * is defined, this property is ignored. *

* Default is to exclude any private property. */ default RegExp exclude() { return getNode().getExclude(); } /** * A list of item fields that should not be mapped to form fields. *

* When include * is defined, this property is ignored. *

* Default is to exclude any private property. */ default T exclude(RegExp exclude) { getNode().setExclude(exclude); return (T) this; } default T exclude(String exclude) { getNode().setExclude(exclude); return (T) this; } /** * A list of item properties that should be mapped to form fields. *

* When it is defined exclude is ignored. */ default String[] include() { return getNode().getInclude(); } /** * A list of item properties that should be mapped to form fields. *

* When it is defined exclude is ignored. */ default T include(String include) { getNode().setInclude(include); return (T) this; } default T include(String... include) { getNode().setInclude(include); return (T) this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy