|
||||||||||
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
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,
java.lang.Class scope,
java.lang.String name)
Deprecated. Constructor to get a resource reference to a packaged resource. |
|
PackageResourceReference(Application application,
java.lang.Class scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style)
Deprecated. Constructor to get a resource reference to a packaged resource. |
|
PackageResourceReference(Application application,
java.lang.String name)
Deprecated. Constructor to get a resource reference to a packaged resource. |
|
PackageResourceReference(java.lang.Class scope,
java.lang.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(java.lang.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, lastModifiedTime, setLocale, setStyle, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PackageResourceReference(Application application, java.lang.Class scope, java.lang.String name, java.util.Locale locale, java.lang.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
java.lang.IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
public PackageResourceReference(Application application, java.lang.Class scope, java.lang.String name)
application
- The application to bind toscope
- The scope of the bindingname
- The name of the resource
java.lang.IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
public PackageResourceReference(Application application, java.lang.String name)
application
- The application to bind toname
- The name of the resource
java.lang.IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
public PackageResourceReference(java.lang.Class scope, java.lang.String name)
scope
- The scope of the bindingname
- The name of the resource
java.lang.IllegalArgumentException
- when no corresponding resource is foundResourceReference.ResourceReference(Class, String)
Method Detail |
---|
public int hashCode()
hashCode
in class ResourceReference
Object.hashCode()
public boolean equals(java.lang.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 |