Class DynamicItem
java.lang.Object
de.bytestore.hostinger.components.storage.DynamicItem
Represents a dynamic item that encapsulates a component and its initialization
and update behavior. This class acts as a container for a Component which
is initialized using a DynamicItemInit event and updated using a DynamicItemUpdate event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetUpdate(DynamicItemUpdate update) com.vaadin.flow.component.Componentupdate()Updates the component encapsulated by this DynamicItem.
-
Constructor Details
-
DynamicItem
-
-
Method Details
-
setUpdate
-
update
public com.vaadin.flow.component.Component update()Updates the component encapsulated by this DynamicItem. If the component is not initialized, it triggers the initialization process. If the component is already initialized, it triggers the update process. The initialization and update processes are handled by the respective event instances associated with this DynamicItem.- Returns:
- the updated DynamicItem instance
-