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.
 

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

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

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 TabSheet.Tab.getIcon()
          Gets the icon for the tab.
 Resource TabSheet.TabSheetTabImpl.getIcon()
           
 Resource Window.Notification.getIcon()
          Gets the icon part of the notification message.
 Resource MenuBar.MenuItem.getIcon()
          Gets the objects icon.
 Resource AbstractComponent.getIcon()
           
 Resource Component.getIcon()
          Gets the icon resource of the component.
 Resource AbstractSelect.getItemIcon(Object itemId)
          Gets the item icon.
 Resource Link.getResource()
          Returns the resource this link opens.
 Resource Embedded.getSource()
          Gets the resource contained in the embedded object.
 Resource MenuBar.getSubmenuIcon()
          Deprecated.  
 Resource TabSheet.getTabIcon(Component c)
          Deprecated. Use TabSheet.getTab(Component) and TabSheet.Tab.getIcon() instead.
 

Methods in com.vaadin.ui with parameters of type Resource
 boolean Table.addContainerProperty(Object propertyId, Class<?> type, Object defaultValue, String columnHeader, Resource columnIcon, String 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.
 TabSheet.Tab TabSheet.addTab(Component c, String caption, Resource icon)
          Adds a new tab into TabSheet.
 void Window.open(Resource resource)
          Opens the given resource in this window.
 void Window.open(Resource resource, String windowName)
          Opens the given resource in a window with the given name.
 void Window.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.
 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 TabSheet.Tab.setIcon(Resource icon)
          Sets the icon for the tab.
 void TabSheet.TabSheetTabImpl.setIcon(Resource icon)
           
 void Window.Notification.setIcon(Resource icon)
          Sets the icon part of the notification message.
 void MenuBar.MenuItem.setIcon(Resource icon)
          Sets the icon.
 void AbstractComponent.setIcon(Resource icon)
          Sets the component's icon.
 void Component.setIcon(Resource icon)
          Sets the icon of the component.
 void AbstractSelect.setItemIcon(Object itemId, Resource icon)
          Sets the icon for an item.
 void Link.setResource(Resource resource)
          Sets the resource this link opens.
 void Embedded.setSource(Resource source)
          Sets the object source resource.
 void MenuBar.setSubmenuIcon(Resource icon)
          Deprecated. (since 6.2, will be removed in 7.0) Icon is set in theme, no need to worry about the visual representation here.
 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
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)
           
 



Copyright © 2000-2010 IT Mill Ltd. All Rights Reserved.