|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.ResourceReference org.apache.wicket.markup.html.PackageResourceReference
ResourceReference
instead. This class will be removed in Wicket 2.0
@Deprecated public class PackageResourceReference
A convenience class for creating resource references to static resources.
Field Summary |
---|
Fields inherited from class org.apache.wicket.ResourceReference |
---|
locale |
Constructor Summary | |
---|---|
PackageResourceReference(Application application,
Class scope,
String name)
Deprecated. Constructor to get a resource reference to a packaged resource. |
|
PackageResourceReference(Application application,
Class scope,
String name,
Locale locale,
String style)
Deprecated. Constructor to get a resource reference to a packaged resource. |
|
PackageResourceReference(Application application,
String name)
Deprecated. Constructor to get a resource reference to a packaged resource. |
|
PackageResourceReference(Class scope,
String name)
Deprecated. Constructor to get a resource reference to a packaged resource that is already bound to the current application. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Deprecated. |
int |
hashCode()
Deprecated. |
protected Resource |
newResource()
Deprecated. Factory method for lazy initialization of shared resources. |
Methods inherited from class org.apache.wicket.ResourceReference |
---|
bind, getLocale, getName, getResource, getScope, getSharedResourceKey, getStyle, invalidate, isStateless, lastModifiedTime, setLocale, setStateless, setStyle, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PackageResourceReference(Application application, Class scope, String name, Locale locale, String style)
application
- The application to bind toscope
- The scope of the bindingname
- The name of the resourcelocale
- The Locale from which the search for the PackageResource must startstyle
- The Style of the PackageResource
IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
public PackageResourceReference(Application application, Class scope, String name)
application
- The application to bind toscope
- The scope of the bindingname
- The name of the resource
IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
public PackageResourceReference(Application application, String name)
application
- The application to bind toname
- The name of the resource
IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
public PackageResourceReference(Class scope, String name)
scope
- The scope of the bindingname
- The name of the resource
IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
Method Detail |
---|
public int hashCode()
hashCode
in class ResourceReference
Object.hashCode()
public boolean equals(Object obj)
equals
in class ResourceReference
Object.equals(java.lang.Object)
protected Resource newResource()
ResourceReference
newResource
in class ResourceReference
ResourceReference.newResource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |