Package io.jmix.ui.component.impl
Class ThemeResourceImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractResource
io.jmix.ui.component.impl.ThemeResourceImpl
- All Implemented Interfaces:
WebResource,Resource,ThemeResource
@Component("ui_ThemeResource")
@Scope("prototype")
public class ThemeResourceImpl
extends AbstractResource
implements WebResource, ThemeResource
-
Field Summary
FieldsFields inherited from class io.jmix.ui.component.impl.AbstractResource
hasSource, resource, resourceUpdateHandler -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jmix.ui.component.impl.AbstractResource
fireResourceUpdateEvent, getResource, hasSource, setResourceUpdatedHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.component.impl.WebResource
getResource, hasSource
-
Field Details
-
path
-
-
Constructor Details
-
ThemeResourceImpl
public ThemeResourceImpl()
-
-
Method Details
-
setPath
- Specified by:
setPathin interfaceThemeResource- Parameters:
path- relative path to the theme resource, e.g. "images/image.png" for the resource located atsrc/main/themes/mytheme/images/image.pngif the current theme is "mytheme"- Returns:
- this ThemeResource instance
-
getPath
- Specified by:
getPathin interfaceThemeResource
-
createResource
protected void createResource()- Specified by:
createResourcein classAbstractResource
-