public class TourBehavior
extends org.apache.wicket.behavior.Behavior
A behavior that contributes the resources needed for Bootstrap Tour.
| Constructor and Description |
|---|
TourBehavior() |
| Modifier and Type | Method and Description |
|---|---|
TourBehavior |
addStep(TourStep step)
Adds a step to the tour
|
protected CharSequence |
createExtraConfig()
Allows contributing more JavaScript related to the tour.
|
List<TourStep> |
getSteps() |
protected TourOptions |
getTourOptions()
Overwrite this method to modify the default tour behavior
|
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
int |
size() |
public TourBehavior addStep(TourStep step)
Adds a step to the tour
step - The tour stepthis object, for chaining.public final int size()
public void renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class org.apache.wicket.behavior.Behaviorprotected CharSequence createExtraConfig()
Allows contributing more JavaScript related to the tour. By default starts the tour.
protected TourOptions getTourOptions()
Overwrite this method to modify the default tour behavior
Copyright © 2011–2014 AgileCoders. All rights reserved.