Class AbstractResource

java.lang.Object
io.jmix.ui.component.impl.AbstractResource
All Implemented Interfaces:
WebResource, Resource
Direct Known Subclasses:
AbstractStreamSettingsResource, RelativePathResourceImpl, ThemeResourceImpl, UrlResourceImpl

public abstract class AbstractResource extends Object implements WebResource
  • Field Details

    • resource

      protected com.vaadin.server.Resource resource
    • resourceUpdateHandler

      protected Runnable resourceUpdateHandler
    • hasSource

      protected boolean hasSource
  • Constructor Details

    • AbstractResource

      public AbstractResource()
  • Method Details

    • getResource

      public com.vaadin.server.Resource getResource()
      Specified by:
      getResource in interface WebResource
    • hasSource

      public boolean hasSource()
      Specified by:
      hasSource in interface WebResource
    • fireResourceUpdateEvent

      protected void fireResourceUpdateEvent()
    • setResourceUpdatedHandler

      protected void setResourceUpdatedHandler(@Nullable Runnable resourceUpdated)
    • createResource

      protected abstract void createResource()