de.agilecoders.wicket.jquery
Class WicketJquerySelectors

java.lang.Object
  extended by de.agilecoders.wicket.jquery.WicketJquerySelectors

public final class WicketJquerySelectors
extends Object

base wicket-jquery-selectors class that is responsible for installation of custom settings.

Author:
Michael Haitz

Method Summary
static IWicketJquerySelectorsSettings assignedSettingsOrDefault()
          returns the IWicketJquerySelectorsSettings which are assigned to given application or a new default instance.
static void install(org.apache.wicket.Application app)
          installs the library to given application
static void install(org.apache.wicket.Application app, IWicketJquerySelectorsSettings settings)
          installs the library settings to given app.
static boolean isInstalled(org.apache.wicket.Application application)
          Checks whether this library support is already installed
static IWicketJquerySelectorsSettings settings()
          returns the IWicketJquerySelectorsSettings which are assigned to current application
static IWicketJquerySelectorsSettings settings(org.apache.wicket.Application app)
          returns the IWicketJquerySelectorsSettings which are assigned to given application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isInstalled

public static boolean isInstalled(org.apache.wicket.Application application)
Checks whether this library support is already installed

Parameters:
application - the wicket application
Returns:
true if library is already installed, otherwise false

install

public static void install(org.apache.wicket.Application app)
installs the library to given application

Parameters:
app - the wicket application

install

public static void install(org.apache.wicket.Application app,
                           IWicketJquerySelectorsSettings settings)
installs the library settings to given app.

Parameters:
app - the wicket application
settings - the settings to use

settings

public static IWicketJquerySelectorsSettings settings(org.apache.wicket.Application app)
returns the IWicketJquerySelectorsSettings which are assigned to given application

Parameters:
app - The current application
Returns:
assigned IWicketJquerySelectorsSettings

assignedSettingsOrDefault

public static IWicketJquerySelectorsSettings assignedSettingsOrDefault()
returns the IWicketJquerySelectorsSettings which are assigned to given application or a new default instance. This is an internal API method, please don't use it.

Returns:
assigned IWicketJquerySelectorsSettings

settings

public static IWicketJquerySelectorsSettings settings()
returns the IWicketJquerySelectorsSettings which are assigned to current application

Returns:
assigned IWicketJquerySelectorsSettings


Copyright © 2017. All Rights Reserved.