Package com.vaadin.featurepack.server
Class IconResource
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.icon.AbstractIcon<com.vaadin.flow.component.icon.Icon>
com.vaadin.flow.component.icon.Icon
com.vaadin.featurepack.server.IconResource
- All Implemented Interfaces:
Resource,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.icon.Icon>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.shared.HasTooltip,Serializable
A resource that wraps an
Icon.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.ClickNotifier
com.vaadin.flow.component.ClickNotifier.ClickFiltersJs -
Constructor Summary
ConstructorsConstructorDescriptionIconResource(com.vaadin.flow.component.icon.Icon icon) IconResource(com.vaadin.flow.component.icon.IconFactory icon) -
Method Summary
Methods inherited from class com.vaadin.flow.component.icon.Icon
bindIcon, getCollection, getColor, getIcon, setColor, setIcon, setIcon, setIconMethods inherited from class com.vaadin.flow.component.icon.AbstractIcon
setSizeMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, getUIOrThrow, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible, whenAttachedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.shared.HasTooltip
getTooltip, setTooltipMarkdown, setTooltipText
-
Constructor Details
-
IconResource
public IconResource(com.vaadin.flow.component.icon.Icon icon) -
IconResource
public IconResource(com.vaadin.flow.component.icon.IconFactory icon)
-
-
Method Details
-
getMIMEType
Description copied from interface:ResourceGets the MIME type of the resource.- Specified by:
getMIMETypein interfaceResource- Returns:
- the MIME type of the resource.
-