|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResourceListener
Listens for requests regarding resources. Such resources are typically non-static in nature and may even be created on the fly.
One use for resource listeners is that they may be used to create components such as Image which respond to requests with a localized resource loaded from the classpath. The Image class allows reusable components to transparently bundle localized image resources. Components that use Image resources (instead of referencing static images in their markup) can be distributed as a self-contained JAR file.
Image
,
RenderedDynamicImageResource
Field Summary | |
---|---|
static RequestListenerInterface |
INTERFACE
Resource listener interface object |
Method Summary | |
---|---|
void |
onResourceRequested()
Called when a resource is requested. |
Field Detail |
---|
static final RequestListenerInterface INTERFACE
Method Detail |
---|
void onResourceRequested()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |