Class SupportsStatusChangeHandler.StatusContext<C extends com.vaadin.flow.component.Component>

java.lang.Object
io.jmix.flowui.component.SupportsStatusChangeHandler.StatusContext<C>
Type Parameters:
C - the type of the component associated with the status context
Enclosing interface:
SupportsStatusChangeHandler<C extends com.vaadin.flow.component.Component>

public static class SupportsStatusChangeHandler.StatusContext<C extends com.vaadin.flow.component.Component> extends Object
Represents the context of a status change for a specific component.

This class encapsulates information about the component and an optional description, typically related to validation or status handling processes.

  • Field Details

    • component

      protected final C extends com.vaadin.flow.component.Component component
    • description

      protected final String description
  • Constructor Details

    • StatusContext

      public StatusContext(C component, @Nullable String description)
  • Method Details

    • getComponent

      public C getComponent()
      Returns the component associated with this instance.
      Returns:
      the component
    • getDescription

      @Nullable public String getDescription()
      Returns the description associated with this object.
      Returns:
      the description, or null if no description is set