Uses of Interface
com.vaadin.featurepack.server.Resource
Packages that use Resource
Package
Description
-
Uses of Resource in com.vaadin.featurepack.data.ui
Methods in com.vaadin.featurepack.data.ui that return ResourceModifier and TypeMethodDescriptionFAbstractSelect.getItemIcon(Object itemId) Gets the item icon.default ResourceSelect.getItemIcon(Object itemId) Methods in com.vaadin.featurepack.data.ui with parameters of type ResourceModifier and TypeMethodDescriptionvoidFAbstractSelect.setItemIcon(Object itemId, Resource icon) Sets the icon for an item.default voidSelect.setItemIcon(Object itemId, Resource icon) -
Uses of Resource in com.vaadin.featurepack.server
Classes in com.vaadin.featurepack.server that implement ResourceModifier and TypeClassDescriptionclassExternalResourceimplements source for resources fetched from location specified by URL:s.classA resource that wraps anIcon.Methods in com.vaadin.featurepack.server that return ResourceModifier and TypeMethodDescriptiondefault ResourceFAbstractClientConnector.getResource(String key) Gets a resource defined usingFAbstractClientConnector.setResource(String, Resource)with the corresponding key.Methods in com.vaadin.featurepack.server with parameters of type ResourceModifier and TypeMethodDescriptiondefault voidFAbstractClientConnector.setResource(String key, Resource resource) Registers a resource with this connector using the given key. -
Uses of Resource in com.vaadin.featurepack.ui
Methods in com.vaadin.featurepack.ui that return ResourceModifier and TypeMethodDescriptionFMenuBar.MenuItem.getIcon()Gets the objects icon.FTabSheet.Tab.getIcon()Gets the icon for the tab.FTabSheet.TabSheetTabImpl.getIcon()default ResourceFAbstractComponent.getIconResource()Gets the icon resource of the component in Vaadin 7/8 style.FImage.getSource()Get the latest image source resource that has been given via eitherFImage.setSource(Resource)orFImage(String, Resource).FTokenField.getTokenIcon(Object tokenId) Methods in com.vaadin.featurepack.ui with parameters of type ResourceModifier and TypeMethodDescriptionFMenuBar.addItem(String caption, Resource icon, FMenuBar.Command command) Add a new item to the menu bar.FMenuBar.MenuItem.addItem(String caption, Resource icon, FMenuBar.Command command) Add a new item inside this item, thus creating a sub-menu.FMenuBar.addItemBefore(String caption, Resource icon, FMenuBar.Command command, FMenuBar.MenuItem itemToAddBefore) Add an item before some item.FMenuBar.MenuItem.addItemBefore(String caption, Resource icon, FMenuBar.Command command, FMenuBar.MenuItem itemToAddBefore) Add an item before some item.Adds a new tab into FTabSheet.FTabSheet.addTab(com.vaadin.flow.component.Component tabComponent, String caption, Resource icon, int position) Adds a new tab into FTabSheet.voidSets the component's icon and alt text.voidSets the icon.voidSets the icon for the tab.voidSets the icon and alt text for the tab.voidvoiddefault voidFAbstractComponent.setIconResource(Resource icon) Sets the component's icon resource in Vaadin 7/8 style.voidFTwinColSelect.setItemIcon(Object itemId, Resource icon) voidSets the image source resource.voidFTokenField.setTokenIcon(Object tokenId, Resource icon) Constructors in com.vaadin.featurepack.ui with parameters of type ResourceModifierConstructorDescriptionCreates a new push button with the given icon.FButton(Resource icon, FButton.ClickListener listener) Creates a new push button with a click listener.Creates a new push button with the given caption and icon.Constructs aFImagewhose content is loaded from the given resource.MenuItem(String caption, Resource icon, FMenuBar.Command command) Constructs a new menu item that can optionally have an icon and a command associated with it.TabSheetTabImpl(String key, String caption, Resource icon) -
Uses of Resource in com.vaadin.featurepack.util
Fields in com.vaadin.featurepack.util declared as ResourceModifier and TypeFieldDescriptionstatic ResourceFileTypeResolver.DEFAULT_ICONDefault icon given if no icon is specified for a mime-type.Methods in com.vaadin.featurepack.util that return ResourceModifier and TypeMethodDescriptionstatic ResourceGets the descriptive icon representing a file.static ResourceGets the descriptive icon representing file, based on the filename.Methods in com.vaadin.featurepack.util that return types with arguments of type ResourceModifier and TypeMethodDescriptionFileTypeResolver.getMIMETypeToIconMapping()Gets the internal mime-type to icon mapping.Methods in com.vaadin.featurepack.util with parameters of type Resource