|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Resource | |
|---|---|
| com.itmill.toolkit.data.util | Provides various utility classes that implement the data layer functionality. |
| com.itmill.toolkit.event | Provides classes and interfaces for the inheritable event model. |
| com.itmill.toolkit.service | Provides some general service classes used throughout a IT Mill Toolkit based applications. |
| com.itmill.toolkit.terminal | Provides classes and interfaces that wrap the terminal-side functionalities for the server-side application. |
| com.itmill.toolkit.terminal.web | This package implement web terminal for both AJAX-capable and more limited web browsers. |
| com.itmill.toolkit.ui | Provides interfaces and classes in the IT Mill Toolkit. |
| Uses of Resource in com.itmill.toolkit.data.util |
|---|
| Methods in com.itmill.toolkit.data.util that return Resource | |
|---|---|
Resource |
FilesystemContainer.FileItem.getIcon()
Gets the icon of this file. |
| Uses of Resource in com.itmill.toolkit.event |
|---|
| Methods in com.itmill.toolkit.event that return Resource | |
|---|---|
Resource |
Action.getIcon()
Returns the action's icon. |
| Methods in com.itmill.toolkit.event with parameters of type Resource | |
|---|---|
void |
Action.setIcon(Resource icon)
Sets the icon. |
| Constructors in com.itmill.toolkit.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)
|
|
| Uses of Resource in com.itmill.toolkit.service |
|---|
| Fields in com.itmill.toolkit.service declared as Resource | |
|---|---|
static Resource |
FileTypeResolver.DEFAULT_ICON
Default icon given if no icon is specified for a mime-type. |
| Methods in com.itmill.toolkit.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.itmill.toolkit.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.itmill.toolkit.terminal |
|---|
| Subinterfaces of Resource in com.itmill.toolkit.terminal | |
|---|---|
interface |
ApplicationResource
This interface must be implemented by classes wishing to provide Application resources. |
| Classes in com.itmill.toolkit.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.itmill.toolkit.terminal with parameters of type Resource | |
|---|---|
void |
PaintTarget.addAttribute(String name,
Resource value)
Adds a resource attribute to component. |
| Uses of Resource in com.itmill.toolkit.terminal.web |
|---|
| Methods in com.itmill.toolkit.terminal.web with parameters of type Resource | |
|---|---|
void |
WebPaintTarget.addAttribute(String name,
Resource value)
Adds a resource attribute to component. |
void |
AjaxPaintTarget.addAttribute(String name,
Resource value)
Adds a resource attribute to component. |
| Uses of Resource in com.itmill.toolkit.ui |
|---|
| Methods in com.itmill.toolkit.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 |
AbstractComponent.getIcon()
|
Resource |
Component.getIcon()
Gets the component's icon. |
Resource |
CustomComponent.getIcon()
The icon of the custom component is by default the icon of the root component, or null if the root is not set. |
Resource |
Select.getItemIcon(Object itemId)
Gets the item icon. |
Resource |
FrameWindow.Frame.getResource()
Gets the Resource connected to frame. |
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)
Gets the icon for a component. |
| Methods in com.itmill.toolkit.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. |
void |
TabSheet.addTab(Component c,
String caption,
Resource icon)
Adds the new tab into TabSheet. |
FrameWindow.Frame |
FrameWindow.Frameset.newFrame(Resource resource,
String name)
Creates the new frame containing a resource. |
FrameWindow.Frame |
FrameWindow.Frameset.newFrame(Resource resource,
String name,
int index)
Creates the new frame containing a resource. |
void |
Window.open(Resource resource)
Opens the given resource in this window. |
void |
Window.open(Resource resource,
String windowName)
Opens the given resource in named terminal window. |
void |
Window.open(Resource resource,
String windowName,
int width,
int height,
int border)
Opens the given resource in named terminal window with given size and border properties. |
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 |
AbstractComponent.setIcon(Resource icon)
Sets the component's icon. |
void |
Select.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 |
TabSheet.setTabIcon(Component c,
Resource icon)
] Sets the icon for a component. |
| Constructors in com.itmill.toolkit.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. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||