Class DynamicItem

java.lang.Object
de.bytestore.hostinger.components.storage.DynamicItem

public class DynamicItem extends Object
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 Details

  • Method Details

    • setUpdate

      public DynamicItem setUpdate(DynamicItemUpdate update)
    • 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