org.apache.wicket.resource
Class JQueryResourceReference

java.lang.Object
  extended by org.apache.wicket.request.resource.ResourceReference
      extended by org.apache.wicket.request.resource.PackageResourceReference
          extended by org.apache.wicket.request.resource.JavaScriptResourceReference
              extended by org.apache.wicket.resource.JQueryResourceReference
All Implemented Interfaces:
Serializable, IClusterable
Direct Known Subclasses:
DynamicJQueryResourceReference

public class JQueryResourceReference
extends JavaScriptResourceReference

The resource reference for the jquery javascript library as released with Wicket. To add a JQuery resource reference to a component, do not use this reference, but use IJavaScriptLibrarySettings.getJQueryReference() to prevent version conflicts.

Author:
papegaaij
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReference
ResourceReference.Key, ResourceReference.UrlAttributes
 
Field Summary
static String VERSION_1
          jQuery ver.
 
Constructor Summary
protected JQueryResourceReference()
           
 
Method Summary
static JQueryResourceReference get()
          Normally you should not use this method, but use IJavaScriptLibrarySettings.getJQueryReference() to prevent version conflicts.
 
Methods inherited from class org.apache.wicket.request.resource.JavaScriptResourceReference
getResource
 
Methods inherited from class org.apache.wicket.request.resource.PackageResourceReference
getMinifiedName, getName, getUrlAttributes
 
Methods inherited from class org.apache.wicket.request.resource.ResourceReference
canBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getScope, getStyle, getVariation, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION_1

public static final String VERSION_1
jQuery ver. 1.x - works on modern browsers and IE 6/7/8

See Also:
Constant Field Values
Constructor Detail

JQueryResourceReference

protected JQueryResourceReference()
Method Detail

get

public static JQueryResourceReference get()
Normally you should not use this method, but use IJavaScriptLibrarySettings.getJQueryReference() to prevent version conflicts.

Returns:
the single instance of the resource reference


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.