Uses of Interface
com.vaadin.server.Resource
-
Packages that use Resource Package Description com.vaadin.data.util Provides implementations of Property, Item and Container interfaces, and utilities for the data layer.com.vaadin.event com.vaadin.server com.vaadin.ui com.vaadin.ui.declarative.converters com.vaadin.ui.renderers com.vaadin.util -
-
Uses of Resource in com.vaadin.data.util
Methods in com.vaadin.data.util that return Resource Modifier and Type Method Description ResourceFilesystemContainer.FileItem. getIcon()Gets the icon of this file. -
Uses of Resource in com.vaadin.event
Methods in com.vaadin.event that return Resource Modifier and Type Method Description ResourceAction. getIcon()Returns the action's icon.Methods in com.vaadin.event with parameters of type Resource Modifier and Type Method Description voidAction. setIcon(Resource icon)Sets the icon.Constructors in com.vaadin.event with parameters of type Resource Constructor Description Action(String caption, boolean allowHTML, Resource icon)Constructs a new action with the given caption, caption content mode and icon.Action(String caption, Resource icon)Constructs a new action with the given caption string and icon.ShortcutAction(String caption, Resource icon, int kc, int... m)Creates a shortcut that reacts to the givenShortcutAction.KeyCodeand (optionally)ShortcutAction.ModifierKeys.ShortcutListener(String caption, Resource icon, int keyCode, int... modifierKeys) -
Uses of Resource in com.vaadin.server
Subinterfaces of Resource in com.vaadin.server Modifier and Type Interface Description interfaceConnectorResourceA resource that is served through the Connector that is using the resource.interfaceFontIconA font icon is a type of icon that is made by displaying one character from a specially constructed font containing icons ("icon font").Classes in com.vaadin.server that implement Resource Modifier and Type Class Description classClassResourceClassResourceis a named resource accessed with the class loader.classExternalResourceExternalResourceimplements source for resources fetched from location specified by URL:s.classFileResourceFileResourcesare files or directories on local filesystem.classFontAwesomeFontAwesome set of font icons.classGenericFontIconA generic implementation ofFontIconinterfaceclassStreamResourceStreamResourceis a resource provided to the client directly by the application.classThemeResourceThemeResourceis a named theme dependant resource provided and managed by a theme.Methods in com.vaadin.server that return Resource Modifier and Type Method Description ResourceFileDownloader. getFileDownloadResource()Gets the resource set for download.protected ResourceAbstractClientConnector. getResource(String key)Gets a resource defined usingAbstractClientConnector.setResource(String, Resource)with the corresponding key.ResourceBrowserWindowOpener. getResource()Returns the resource for this instance.ResourceResourceReference. getResource()static ResourceResourceReference. getResource(URLReference reference)Methods in com.vaadin.server with parameters of type Resource Modifier and Type Method Description voidPage.Styles. add(Resource resource)Injects a CSS resource into the pagevoidJsonPaintTarget. addAttribute(String name, Resource value)voidPaintTarget. addAttribute(String name, Resource value)Adds a resource attribute to component.static ResourceReferenceResourceReference. create(Resource resource, ClientConnector connector, String key)voidPage. open(Resource resource, String windowName, boolean tryToOpenAsPopup)Deprecated.As of 7.0, only retained to maintain compatibility with LegacyWindow.open methods.voidPage. open(Resource resource, String windowName, int width, int height, BorderStyle border)Deprecated.As of 7.0, only retained to maintain compatibility with LegacyWindow.open methods.voidGlobalResourceHandler. register(Resource resource, ClientConnector ownerConnector)Registers a resource to be served with a global URL.voidFileDownloader. setFileDownloadResource(Resource resource)Sets the resource that is downloaded when the extended component is clicked.protected voidAbstractClientConnector. setResource(String key, Resource resource)Registers a resource with this connector using the given key.voidBrowserWindowOpener. setResource(Resource resource)Sets the providedresourcefor this instance.Constructors in com.vaadin.server with parameters of type Resource Constructor Description BrowserWindowOpener(Resource resource)Creates a window opener that will open window to the provided resourceFileDownloader(Resource resource)Creates a new file downloader for the given resource.ResourceReference(Resource resource, ClientConnector connector, String key) -
Uses of Resource in com.vaadin.ui
Methods in com.vaadin.ui that return Resource Modifier and Type Method Description ResourceTable. getColumnIcon(Object propertyId)Gets the icon Resource for the specified column.Resource[]Table. getColumnIcons()Gets the icons of the columns.ResourceAbstractComponent. getIcon()ResourceComponent. getIcon()Gets the icon resource of the component.ResourceMenuBar.MenuItem. getIcon()Gets the objects icon.ResourceNotification. getIcon()Gets the icon part of the notification message.ResourceTabSheet.Tab. getIcon()Gets the icon for the tab.ResourceTabSheet.TabSheetTabImpl. getIcon()ResourceAbstractSelect. getItemIcon(Object itemId)Gets the item icon.ResourceVideo. getPoster()ResourceLink. getResource()Returns the resource this link opens.ResourceAbstractEmbedded. getSource()Get the object source resource.ResourceEmbedded. getSource()Gets the resource contained in the embedded object.Methods in com.vaadin.ui that return types with arguments of type Resource Modifier and Type Method Description List<Resource>AbstractMedia. getSources()Methods in com.vaadin.ui with parameters of type Resource Modifier and Type Method Description booleanTable. addContainerProperty(Object propertyId, Class<?> type, Object defaultValue, String columnHeader, Resource columnIcon, Table.Align columnAlignment)Adds a new property to the table and show it as a visible column.MenuBar.MenuItemMenuBar. addItem(String caption, Resource icon, MenuBar.Command command)Add a new item to the menu bar.MenuBar.MenuItemMenuBar.MenuItem. addItem(String caption, Resource icon, MenuBar.Command command)Add a new item inside this item, thus creating a sub-menu.MenuBar.MenuItemMenuBar. addItemBefore(String caption, Resource icon, MenuBar.Command command, MenuBar.MenuItem itemToAddBefore)Add an item before some item.MenuBar.MenuItemMenuBar.MenuItem. addItemBefore(String caption, Resource icon, MenuBar.Command command, MenuBar.MenuItem itemToAddBefore)Add an item before some item.voidAbstractMedia. addSource(Resource source)Adds an alternative media file to the sources list.TabSheet.TabTabSheet. addTab(Component c, String caption, Resource icon)Adds a new tab into TabSheet.TabSheet.TabTabSheet. addTab(Component tabComponent, String caption, Resource icon, int position)Adds a new tab into TabSheet.voidLegacyWindow. open(Resource resource)Deprecated.As of 7.0, use getPage().setLocation insteadvoidLegacyWindow. open(Resource resource, String windowName)Deprecated.As of 7.0, use getPage().open insteadvoidLegacyWindow. open(Resource resource, String windowName, boolean tryToOpenAsPopup)Deprecated.Opens the given resource in a window with the given name and optionally tries to force the resource to open in a new window instead of a new tab.voidLegacyWindow. open(Resource resource, String windowName, int width, int height, BorderStyle border)Deprecated.As of 7.0, use getPage().open insteadvoidTable. setColumnIcon(Object propertyId, Resource icon)Sets the icon Resource for the specified column.voidTable. setColumnIcons(Resource... columnIcons)Sets the icons of the columns.voidAbstractComponent. setIcon(Resource icon)Sets the component's icon.voidButton. setIcon(Resource icon, String iconAltText)Sets the component's icon and alt text.voidComponent. setIcon(Resource icon)Sets the icon of the component.voidMenuBar.MenuItem. setIcon(Resource icon)Sets the icon.voidNotification. setIcon(Resource icon)Sets the icon part of the notification message.voidTabSheet.Tab. setIcon(Resource icon)Sets the icon for the tab.voidTabSheet.Tab. setIcon(Resource icon, String iconAltText)Sets the icon and alt text for the tab.voidTabSheet.TabSheetTabImpl. setIcon(Resource icon)voidTabSheet.TabSheetTabImpl. setIcon(Resource icon, String iconAltText)voidAbstractSelect. setItemIcon(Object itemId, Resource icon)Sets the icon for an item.voidTree. setItemIcon(Object itemId, Resource icon)voidTree. setItemIcon(Object itemId, Resource icon, String altText)Sets the icon for an item.voidVideo. setPoster(Resource poster)Sets the poster image, which is shown in place of the video before the user presses play.voidLink. setResource(Resource resource)Sets the resource this link opens.voidAbstractEmbedded. setSource(Resource source)Sets the object source resource.voidAbstractMedia. setSource(Resource source)Sets a single media file as the source of the media component.voidEmbedded. setSource(Resource source)Sets the object source resource.voidAbstractMedia. setSources(Resource... sources)Set multiple sources at once.Constructors in com.vaadin.ui with parameters of type Resource Constructor Description Audio(String caption, Resource source)BrowserFrame(String caption, Resource source)Creates a new browser frame with the given caption and content.Button(Resource icon)Creates a new push button with the given icon.Button(String caption, Resource icon)Creates a new push button with the given caption and icon.Embedded(String caption, Resource source)Creates a new Embedded object whose contents is loaded from given resource.Flash(String caption, Resource source)Deprecated.Creates a new Flash component with the given caption and content.Image(String caption, Resource source)Creates a new Image whose contents is loaded from given resource.Link(String caption, Resource resource)Creates a new instance of Link.Link(String caption, Resource resource, String targetName, int width, int height, BorderStyle border)Creates a new instance of Link that opens a new window.MenuItem(String caption, Resource icon, MenuBar.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)Video(String caption, Resource source) -
Uses of Resource in com.vaadin.ui.declarative.converters
Methods in com.vaadin.ui.declarative.converters that return Resource Modifier and Type Method Description ResourceDesignResourceConverter. convertToModel(String value, Class<? extends Resource> targetType, Locale locale)Methods in com.vaadin.ui.declarative.converters that return types with arguments of type Resource Modifier and Type Method Description Class<Resource>DesignResourceConverter. getModelType()Methods in com.vaadin.ui.declarative.converters with parameters of type Resource Modifier and Type Method Description StringDesignResourceConverter. convertToPresentation(Resource value, Class<? extends String> targetType, Locale locale)Method parameters in com.vaadin.ui.declarative.converters with type arguments of type Resource Modifier and Type Method Description ResourceDesignResourceConverter. convertToModel(String value, Class<? extends Resource> targetType, Locale locale) -
Uses of Resource in com.vaadin.ui.renderers
Methods in com.vaadin.ui.renderers with parameters of type Resource Modifier and Type Method Description elemental.json.JsonValueImageRenderer. encode(Resource resource) -
Uses of Resource in com.vaadin.util
Fields in com.vaadin.util declared as Resource Modifier and Type Field Description static ResourceFileTypeResolver. DEFAULT_ICONDefault icon given if no icon is specified for a mime-type.Methods in com.vaadin.util that return Resource Modifier and Type Method Description static ResourceFileTypeResolver. getIcon(File file)Gets the descriptive icon representing a file.static ResourceFileTypeResolver. getIcon(String fileName)Gets the descriptive icon representing file, based on the filename.Methods in com.vaadin.util that return types with arguments of type Resource Modifier and Type Method Description static Map<String,Resource>FileTypeResolver. getMIMETypeToIconMapping()Gets the internal mime-type to icon mapping.Methods in com.vaadin.util with parameters of type Resource Modifier and Type Method Description static voidFileTypeResolver. addIcon(String MIMEType, Resource icon)Adds a icon for the given mime-type.
-