Module wicket.bootstrap.extensions
Class TempusDominusIconConfig
java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.form.tempusdominus.TempusDominusIconConfig
- All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config,Serializable,IClusterable
public class TempusDominusIconConfig
extends de.agilecoders.wicket.jquery.AbstractConfig
datetime picker icon config
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithClearIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType clear) withCloseIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType close) withDateIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType date) withDownIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType down) withNextIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType next) withPreviousIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType previous) withTimeIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType time) withTodayIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType today) withUpIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType up) Methods inherited from class de.agilecoders.wicket.jquery.AbstractConfig
all, contains, get, getString, isEmpty, newKey, put, remove, toJsonString, wrapMethods inherited from class de.agilecoders.wicket.jquery.CombinableConfig
combine, withFallback
-
Constructor Details
-
TempusDominusIconConfig
public TempusDominusIconConfig()
-
-
Method Details
-
withType
- Parameters:
type- Defaults to "icons". If "sprites" is used as the value, the icons will be render with an svg element instead of an "i" element.- Returns:
- current instance
-
withTimeIcon
public TempusDominusIconConfig withTimeIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType time) - Parameters:
time- This icon is used to change the view from the calendar view to the clock view.- Returns:
- current instance
-
withDateIcon
public TempusDominusIconConfig withDateIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType date) - Parameters:
date- This icon is used to change the view from the clock view to the calendar view.- Returns:
- current instance
-
withUpIcon
public TempusDominusIconConfig withUpIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType up) - Parameters:
up- This icon is used to increment hours, minutes and seconds in the clock view.- Returns:
- current instance
-
withDownIcon
public TempusDominusIconConfig withDownIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType down) - Parameters:
down- This icon is used to decrement hours, minutes and seconds in the clock view.- Returns:
- current instance
-
withNextIcon
public TempusDominusIconConfig withNextIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType next) - Parameters:
next- This icon is used to navigation forward in the calendar, month, year, and decade views.- Returns:
- current instance
-
withPreviousIcon
public TempusDominusIconConfig withPreviousIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType previous) - Parameters:
previous- This icon is used to navigation backwards in the calendar, month, year, and decade views.- Returns:
- current instance
-
withTodayIcon
public TempusDominusIconConfig withTodayIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType today) - Parameters:
today- This icon is used to change the date and view to now.- Returns:
- current instance
-
withClearIcon
public TempusDominusIconConfig withClearIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType clear) - Parameters:
clear- This icon is used to clear the currently selected date.- Returns:
- current instance
-
withCloseIcon
public TempusDominusIconConfig withCloseIcon(de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType close) - Parameters:
close- This icon is used to close the picker.- Returns:
- current instance
-