Class AbstractFacet

java.lang.Object
io.jmix.flowui.facet.impl.AbstractFacet
All Implemented Interfaces:
Facet
Direct Known Subclasses:
DataLoadCoordinatorImpl, DynAttrFacetImpl, NoopUrlQueryParametersFacetImpl, SettingsFacetImpl, TimerImpl, UrlQueryParametersFacetImpl

public abstract class AbstractFacet extends Object implements Facet
An abstract implementation of the Facet interface, providing base functionality for non-visual components associated with views.
  • Field Details

    • id

      protected String id
    • owner

      protected View<?> owner
  • Constructor Details

    • AbstractFacet

      public AbstractFacet()
  • Method Details

    • getId

      @Nullable public String getId()
      Description copied from interface: Facet
      Returns the identifier associated with this oject.
      Specified by:
      getId in interface Facet
      Returns:
      the ID if it exists, null otherwise.
    • setId

      public void setId(@Nullable String id)
      Description copied from interface: Facet
      Sets the identifier for this object.
      Specified by:
      setId in interface Facet
      Parameters:
      id - the unique identifier to be set
    • getOwner

      @Nullable public View<?> getOwner()
      Specified by:
      getOwner in interface Facet
      Returns:
      a view containing this facet
    • setOwner

      public void setOwner(@Nullable View<?> owner)
      Description copied from interface: Facet
      Sets a view containing this facet.
      Specified by:
      setOwner in interface Facet
      Parameters:
      owner - a view containing this facet