|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.server | |
| com.vaadin.ui | |
| com.vaadin.util | |
| 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(java.lang.String caption,
Resource icon)
Constructs a new action with the given caption string and icon. |
|
ShortcutAction(java.lang.String caption,
Resource icon,
int kc,
int[] m)
Creates a shortcut that reacts to the given ShortcutAction.KeyCode and
(optionally) ShortcutAction.ModifierKeys. |
|
ShortcutListener(java.lang.String caption,
Resource icon,
int keyCode,
int... modifierKeys)
|
|
| Uses of Resource in com.vaadin.server |
|---|
| Subinterfaces of Resource in com.vaadin.server | |
|---|---|
interface |
ConnectorResource
A resource that is served through the Connector that is using the resource. |
| Classes in com.vaadin.server 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.server that return Resource | |
|---|---|
Resource |
FileDownloader.getFileDownloadResource()
Gets the resource set for download. |
Resource |
ResourceReference.getResource()
|
protected Resource |
AbstractClientConnector.getResource(java.lang.String key)
Gets a resource defined using AbstractClientConnector.setResource(String, Resource) with
the corresponding key. |
static Resource |
ResourceReference.getResource(com.vaadin.shared.communication.URLReference reference)
|
| Methods in com.vaadin.server with parameters of type Resource | |
|---|---|
void |
JsonPaintTarget.addAttribute(java.lang.String name,
Resource value)
|
void |
PaintTarget.addAttribute(java.lang.String name,
Resource value)
Adds a resource attribute to component. |
static ResourceReference |
ResourceReference.create(Resource resource,
ClientConnector connector,
java.lang.String key)
|
void |
Page.open(Resource resource,
java.lang.String windowName,
boolean tryToOpenAsPopup)
Deprecated. As of 7.0, only retained to maintain compatibility with LegacyWindow.open methods. See documentation for LegacyWindow.open(Resource, String, boolean) for
discussion about replacing API. |
void |
Page.open(Resource resource,
java.lang.String windowName,
int width,
int height,
com.vaadin.shared.ui.BorderStyle border)
Deprecated. As of 7.0, only retained to maintain compatibility with LegacyWindow.open methods. See documentation for LegacyWindow.open(Resource, String, int, int, BorderStyle)
for discussion about replacing API. |
void |
GlobalResourceHandler.register(Resource resource,
ClientConnector ownerConnector)
Registers a resource to be served with a global URL. |
void |
FileDownloader.setFileDownloadResource(Resource resource)
Sets the resource that is downloaded when the extended component is clicked. |
protected void |
AbstractClientConnector.setResource(java.lang.String key,
Resource resource)
Registers a resource with this connector using the given key. |
| Constructors in com.vaadin.server with parameters of type Resource | |
|---|---|
BrowserWindowOpener(Resource resource)
Creates a window opener that will open window to the provided resource |
|
FileDownloader(Resource resource)
Creates a new file downloader for the given resource. |
|
ResourceReference(Resource resource,
ClientConnector connector,
java.lang.String key)
|
|
| Uses of Resource in com.vaadin.ui |
|---|
| Methods in com.vaadin.ui that return Resource | |
|---|---|
Resource |
Table.getColumnIcon(java.lang.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 |
Notification.getIcon()
Gets the icon part of the notification message. |
Resource |
AbstractComponent.getIcon()
|
Resource |
Component.getIcon()
Gets the icon resource of the component. |
Resource |
MenuBar.MenuItem.getIcon()
Gets the objects icon. |
Resource |
AbstractSelect.getItemIcon(java.lang.Object itemId)
Gets the item icon. |
Resource |
Video.getPoster()
|
Resource |
Link.getResource()
Returns the resource this link opens. |
Resource |
AbstractEmbedded.getSource()
Get the object source resource. |
Resource |
Embedded.getSource()
Gets the resource contained in the embedded object. |
| Methods in com.vaadin.ui that return types with arguments of type Resource | |
|---|---|
java.util.List<Resource> |
AbstractMedia.getSources()
|
| Methods in com.vaadin.ui with parameters of type Resource | |
|---|---|
boolean |
Table.addContainerProperty(java.lang.Object propertyId,
java.lang.Class<?> type,
java.lang.Object defaultValue,
java.lang.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(java.lang.String caption,
Resource icon,
MenuBar.Command command)
Add a new item to the menu bar. |
MenuBar.MenuItem |
MenuBar.MenuItem.addItem(java.lang.String caption,
Resource icon,
MenuBar.Command command)
Add a new item inside this item, thus creating a sub-menu. |
MenuBar.MenuItem |
MenuBar.addItemBefore(java.lang.String caption,
Resource icon,
MenuBar.Command command,
MenuBar.MenuItem itemToAddBefore)
Add an item before some item. |
MenuBar.MenuItem |
MenuBar.MenuItem.addItemBefore(java.lang.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,
java.lang.String caption,
Resource icon)
Adds a new tab into TabSheet. |
TabSheet.Tab |
TabSheet.addTab(Component c,
java.lang.String caption,
Resource icon,
int position)
Adds a new tab into TabSheet. |
void |
LegacyWindow.open(Resource resource)
Deprecated. As of 7.0, use getPage().setLocation instead |
void |
LegacyWindow.open(Resource resource,
java.lang.String windowName)
Deprecated. As of 7.0, use getPage().open instead |
void |
LegacyWindow.open(Resource resource,
java.lang.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. |
void |
LegacyWindow.open(Resource resource,
java.lang.String windowName,
int width,
int height,
com.vaadin.shared.ui.BorderStyle border)
Deprecated. As of 7.0, use getPage().open instead |
void |
Table.setColumnIcon(java.lang.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 |
Notification.setIcon(Resource icon)
Sets the icon part of the notification message. |
void |
AbstractComponent.setIcon(Resource icon)
Sets the component's icon. |
void |
Component.setIcon(Resource icon)
Sets the icon of the component. |
void |
MenuBar.MenuItem.setIcon(Resource icon)
Sets the icon. |
void |
AbstractSelect.setItemIcon(java.lang.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 |
AbstractEmbedded.setSource(Resource source)
Sets the object source resource. |
void |
Embedded.setSource(Resource source)
Sets the object source resource. |
void |
AbstractMedia.setSource(Resource source)
Sets a single media file as the source of the media component. |
void |
AbstractMedia.setSources(Resource... sources)
Set multiple sources at once. |
| Constructors in com.vaadin.ui with parameters of type Resource | |
|---|---|
Audio(java.lang.String caption,
Resource source)
|
|
BrowserFrame(java.lang.String caption,
Resource source)
Creates a new browser frame with the given caption and content. |
|
Embedded(java.lang.String caption,
Resource source)
Creates a new Embedded object whose contents is loaded from given resource. |
|
Flash(java.lang.String caption,
Resource source)
Creates a new Flash component with the given caption and content. |
|
Image(java.lang.String caption,
Resource source)
Creates a new Image whose contents is loaded from given resource. |
|
Link(java.lang.String caption,
Resource resource)
Creates a new instance of Link. |
|
Link(java.lang.String caption,
Resource resource,
java.lang.String targetName,
int width,
int height,
com.vaadin.shared.ui.BorderStyle border)
Creates a new instance of Link that opens a new window. |
|
MenuBar.MenuItem(java.lang.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(java.lang.String caption,
Resource icon)
|
|
Video(java.lang.String caption,
Resource source)
|
|
| Uses of Resource in com.vaadin.util |
|---|
| Fields in com.vaadin.util declared as Resource | |
|---|---|
static Resource |
FileTypeResolver.DEFAULT_ICON
Default icon given if no icon is specified for a mime-type. |
| Methods in com.vaadin.util that return Resource | |
|---|---|
static Resource |
FileTypeResolver.getIcon(java.io.File file)
Gets the descriptive icon representing a file. |
static Resource |
FileTypeResolver.getIcon(java.lang.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 | |
|---|---|
static java.util.Map<java.lang.String,Resource> |
FileTypeResolver.getMIMETypeToIconMapping()
Gets the internal mime-type to icon mapping. |
| Methods in com.vaadin.util with parameters of type Resource | |
|---|---|
static void |
FileTypeResolver.addIcon(java.lang.String MIMEType,
Resource icon)
Adds a icon for the given mime-type. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||