Uses of Interface
com.vaadin.terminal.Resource

Packages that use Resource
com.vaadin.data.util Provides implementations of Property, Item and Container interfaces, and utilities for the data layer. 
com.vaadin.event   
com.vaadin.service   
com.vaadin.terminal   
com.vaadin.terminal.gwt.server   
com.vaadin.ui   
 

Uses of Resource in com.vaadin.data.util
 

Methods in com.vaadin.data.util that return Resource
 Resource FilesystemContainer.FileItem.getIcon()
          Gets the icon of this file.
 

Uses of Resource in com.vaadin.event
 

Methods in com.vaadin.event that return Resource
 Resource Action.getIcon()
          Returns the action's icon.
 

Methods in com.vaadin.event with parameters of type Resource
 void Action.setIcon(Resource icon)
          Sets the icon.
 

Constructors in com.vaadin.event with parameters of type Resource
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 given ShortcutAction.KeyCode and (optionally) ShortcutAction.ModifierKeys.
ShortcutListener(String caption, Resource icon, int keyCode, int... modifierKeys)
           
 

Uses of Resource in com.vaadin.service
 

Fields in com.vaadin.service declared as Resource
static Resource FileTypeResolver.DEFAULT_ICON
          Default icon given if no icon is specified for a mime-type.
 

Methods in com.vaadin.service that return Resource
static Resource FileTypeResolver.getIcon(File file)
          Gets the descriptive icon representing a file.
static Resource FileTypeResolver.getIcon(String fileName)
          Gets the descriptive icon representing file, based on the filename.
 

Methods in com.vaadin.service that return types with arguments of type Resource
static Map<String,Resource> FileTypeResolver.getMIMETypeToIconMapping()
          Gets the internal mime-type to icon mapping.
 

Methods in com.vaadin.service with parameters of type Resource
static void FileTypeResolver.addIcon(String MIMEType, Resource icon)
          Adds a icon for the given mime-type.
 

Uses of Resource in com.vaadin.terminal
 

Subinterfaces of Resource in com.vaadin.terminal
 interface ApplicationResource
          This interface must be implemented by classes wishing to provide Application resources.
 

Classes in com.vaadin.terminal that implement Resource
 class ClassResource
          ClassResource is a named resource accessed with the class loader.
 class ExternalResource
          ExternalResource implements source for resources fetched from location specified by URL:s.
 class FileResource
          FileResources are files or directories on local filesystem.
 class StreamResource
          StreamResource is a resource provided to the client directly by the application.
 class ThemeResource
          ThemeResource is a named theme dependant resource provided and managed by a theme.
 

Methods in com.vaadin.terminal with parameters of type Resource
 void PaintTarget.addAttribute(String name, Resource value)
          Adds a resource attribute to component.
 void Page.open(Resource resource)
          Opens the given resource in this root.
 void Page.open(Resource resource, String windowName)
          Opens the given resource in a window with the given name.
 void Page.open(Resource resource, String windowName, int width, int height, int border)
          Opens the given resource in a window with the given size, border and name.
 

Uses of Resource in com.vaadin.terminal.gwt.server
 

Methods in com.vaadin.terminal.gwt.server that return Resource
 Resource ResourceReference.getResource()
           
 

Methods in com.vaadin.terminal.gwt.server with parameters of type Resource
 void JsonPaintTarget.addAttribute(String name, Resource value)
           
 

Constructors in com.vaadin.terminal.gwt.server with parameters of type Resource
ResourceReference(Resource resource)
           
 

Uses of Resource in com.vaadin.ui
 

Methods in com.vaadin.ui that return Resource
 Resource Table.getColumnIcon(Object propertyId)
          Gets the icon Resource for the specified column.
 Resource[] Table.getColumnIcons()
          Gets the icons of the columns.
 Resource MenuBar.MenuItem.getIcon()
          Gets the objects icon.
 Resource Notification.getIcon()
          Gets the icon part of the notification message.
 Resource Component.getIcon()
          Gets the icon resource of the component.
 Resource AbstractComponent.getIcon()
           
 Resource TabSheet.Tab.getIcon()
          Gets the icon for the tab.
 Resource TabSheet.TabSheetTabImpl.getIcon()
           
 Resource AbstractSelect.getItemIcon(Object itemId)
          Gets the item icon.
 Resource Video.getPoster()
           
 Resource Link.getResource()
          Returns the resource this link opens.
 Resource Embedded.getSource()
          Gets the resource contained in the embedded object.
 Resource TabSheet.getTabIcon(Component c)
          Deprecated. Use TabSheet.getTab(Component) and TabSheet.Tab.getIcon() instead.
 

Methods in com.vaadin.ui that return types with arguments of type Resource
 List<Resource> AbstractMedia.getSources()
           
 

Methods in com.vaadin.ui with parameters of type Resource
 boolean Table.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.MenuItem MenuBar.addItem(String caption, Resource icon, MenuBar.Command command)
          Add a new item to the menu bar.
 MenuBar.MenuItem MenuBar.MenuItem.addItem(String caption, Resource icon, MenuBar.Command command)
          Add a new item inside this item, thus creating a sub-menu.
 MenuBar.MenuItem MenuBar.addItemBefore(String caption, Resource icon, MenuBar.Command command, MenuBar.MenuItem itemToAddBefore)
          Add an item before some item.
 MenuBar.MenuItem MenuBar.MenuItem.addItemBefore(String caption, Resource icon, MenuBar.Command command, MenuBar.MenuItem itemToAddBefore)
          Add an item before some item.
 void AbstractMedia.addSource(Resource source)
          Adds an alternative media file to the sources list.
 TabSheet.Tab TabSheet.addTab(Component c, String caption, Resource icon)
          Adds a new tab into TabSheet.
 TabSheet.Tab TabSheet.addTab(Component c, String caption, Resource icon, int position)
          Adds a new tab into TabSheet.
 void Root.LegacyWindow.open(Resource resource)
          Deprecated. As of 7.0, use getPage().open instead
 void Root.LegacyWindow.open(Resource resource, String windowName)
          Deprecated. As of 7.0, use getPage().open instead
 void Root.LegacyWindow.open(Resource resource, String windowName, int width, int height, int border)
          Deprecated. As of 7.0, use getPage().open instead
 void Table.setColumnIcon(Object propertyId, Resource icon)
          Sets the icon Resource for the specified column.
 void Table.setColumnIcons(Resource[] columnIcons)
          Sets the icons of the columns.
 void MenuBar.MenuItem.setIcon(Resource icon)
          Sets the icon.
 void Notification.setIcon(Resource icon)
          Sets the icon part of the notification message.
 void Component.setIcon(Resource icon)
          Sets the icon of the component.
 void AbstractComponent.setIcon(Resource icon)
          Sets the component's icon.
 void TabSheet.Tab.setIcon(Resource icon)
          Sets the icon for the tab.
 void TabSheet.TabSheetTabImpl.setIcon(Resource icon)
           
 void AbstractSelect.setItemIcon(Object itemId, Resource icon)
          Sets tqhe icon for an item.
 void Video.setPoster(Resource poster)
          Sets the poster image, which is shown in place of the video before the user presses play.
 void Link.setResource(Resource resource)
          Sets the resource this link opens.
 void AbstractMedia.setSource(Resource source)
          Sets a single media file as the source of the media component.
 void Embedded.setSource(Resource source)
          Sets the object source resource.
 void AbstractMedia.setSources(Resource... sources)
          Set multiple sources at once.
 void TabSheet.setTabIcon(Component c, Resource icon)
          Deprecated. Use TabSheet.getTab(Component) and TabSheet.Tab.setIcon(Resource) instead.
 

Constructors in com.vaadin.ui with parameters of type Resource
Audio(String caption, Resource source)
           
Embedded(String caption, Resource source)
          Creates a new Embedded object 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, int border)
          Creates a new instance of Link that opens a new window.
MenuBar.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.
TabSheet.TabSheetTabImpl(String caption, Resource icon)
           
Video(String caption, Resource source)
           
 



Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.