com.vaadin.flow.theme.material.
Class Material
All Implemented Interfaces:
Material component theme class implementation.
See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.
The url for the base component implementation.
getHtmlAttributes
(String variant) Deprecated.
Gets the attributes that should be set on the
<html>
element when the Theme variant is applied.Deprecated.
The url for the components themed version implementation.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.theme.AbstractTheme
getHeaderInlineContents, translateUrl
-
Field Details
-
LIGHT
Deprecated.See Also:
-
DARK
Deprecated.See Also:
-
-
Constructor Details
-
Material
public Material()Deprecated.
-
-
Method Details
-
getBaseUrl
Deprecated.Description copied from interface:
AbstractTheme
The url for the base component implementation.
e.g. src/
Specified by:
getBaseUrl
in interfaceAbstractTheme
Returns:
the base component path
-
getThemeUrl
Deprecated.Description copied from interface:
AbstractTheme
The url for the components themed version implementation.
e.g. theme/lumo/
Specified by:
getThemeUrl
in interfaceAbstractTheme
Returns:
the themed component path
-
getHtmlAttributes
Deprecated.Description copied from interface:
AbstractTheme
Gets the attributes that should be set on the
<html>
element when the Theme variant is applied.Specified by:
getHtmlAttributes
in interfaceAbstractTheme
Parameters:
variant
- the variant defined in theTheme
annotation, notnull
Returns:
a Map with the attributes (keys and values) that should be set in the body, or an empty Map if nothing should be set for the given variant.
-