Package org.vaadin.miki.markers
Interface HasId
- All Known Subinterfaces:
WithIdMixin<SELF>
- All Known Implementing Classes:
AbstractSuperFloatingPointField,AbstractSuperNumberField,CollectionField,ComponentObserver,ContentAware,GridMultiSelect,GridSelect,HeaderFooterFieldWrapper,HeaderFooterLayoutWrapper,IndexedButton,ItemGrid,LabelField,LazyLoad,MapField,MultiClickButton,ObjectField,ObservedField,ObservedField.ObservedFieldElement,SuperBigDecimalField,SuperCheckbox,SuperDatePicker,SuperDateTimePicker,SuperDoubleField,SuperIntegerField,SuperLongField,SuperTabs,SuperTextArea,SuperTextField,UnloadObserver,VariantField
public interface HasId
Marker interface for objects that provide access to their
id property.
Note: this is Vaadin-compatible, so the getter returns an Optional.- Since:
- 2020-06-05
- Author:
- miki
-
Method Summary
-
Method Details
-
setId
Sets this object's id.- Parameters:
id- A new id. Can benullto remove existing id.
-
getId
Returns the id, if exists.- Returns:
- The id, if any.
-