public class BootstrapBaseBehavior
extends org.apache.wicket.behavior.Behavior
BootstrapBaseBehavior renders the current active
ITheme which includes the BootstrapCssReference
and the BootstrapResponsiveCssReference
if enabled to the response.| Constructor and Description |
|---|
BootstrapBaseBehavior() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTo(org.apache.wicket.Component component)
adds the
BootstrapBaseBehavior from given Component |
protected IBootstrapSettings |
getBootstrapSettings(org.apache.wicket.Component component)
returns the
IBootstrapSettings implementation like BootstrapSettings
which was bound to the current application. |
static void |
removeFrom(org.apache.wicket.Component component)
removes the
BootstrapBaseBehavior from given Component |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse headerResponse) |
void |
renderHead(IBootstrapSettings settings,
org.apache.wicket.markup.head.IHeaderResponse headerResponse)
Render the current active
ITheme which includes all ResourceReference objects
and the BootstrapResponsiveCssReference
if enabled to the response. |
public static void removeFrom(org.apache.wicket.Component component)
BootstrapBaseBehavior from given Componentcomponent - The component to remove the behavior from.public static void addTo(org.apache.wicket.Component component)
BootstrapBaseBehavior from given Componentcomponent - The component to add the behavior to.protected final IBootstrapSettings getBootstrapSettings(org.apache.wicket.Component component)
IBootstrapSettings implementation like BootstrapSettings
which was bound to the current application.component - the bound componentIBootstrapSettingspublic void renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse headerResponse)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class org.apache.wicket.behavior.Behaviorpublic void renderHead(IBootstrapSettings settings, org.apache.wicket.markup.head.IHeaderResponse headerResponse)
ITheme which includes all ResourceReference objects
and the BootstrapResponsiveCssReference
if enabled to the response. Also it allows all subclasses to get the IBootstrapSettings by overriding this method.settings - the bound IBootstrapSettingsheaderResponse - the current IHeaderResponseCopyright © 2013 agilecoders.de. All Rights Reserved.