public class BootstrapDateTimePicker extends Object implements com.helger.html.hc.IHCNodeBuilder, Serializable
setMinView(EDateTimePickerViewType) with the type
EDateTimePickerViewType.HOUR.| Modifier and Type | Field and Description |
|---|---|
static com.helger.html.css.ICSSClassProvider |
CSS_CLASS_DATE |
static boolean |
DEFAULT_AUTOCLOSE |
static boolean |
DEFAULT_FORCE_PARSE |
static boolean |
DEFAULT_KEYBOARD_NAVIGATION |
static int |
DEFAULT_MINUTE_STEP |
static boolean |
DEFAULT_SHOW_MERIDIAN |
static boolean |
DEFAULT_SHOW_RESET_BUTTON |
static EDateTimePickerViewType |
DEFAULT_START_VIEW |
static EDateTimePickerTodayType |
DEFAULT_TODAY |
static boolean |
DEFAULT_TODAY_HIGHLIGHT |
| Constructor and Description |
|---|
BootstrapDateTimePicker(com.helger.html.request.IHCRequestField aRF,
Locale aDisplayLocale) |
BootstrapDateTimePicker(com.helger.webbasics.form.RequestFieldDate aRFD) |
BootstrapDateTimePicker(String sName,
String sValue,
Locale aDisplayLocale) |
public static final com.helger.html.css.ICSSClassProvider CSS_CLASS_DATE
public static final boolean DEFAULT_AUTOCLOSE
public static final EDateTimePickerViewType DEFAULT_START_VIEW
public static final EDateTimePickerTodayType DEFAULT_TODAY
public static final boolean DEFAULT_TODAY_HIGHLIGHT
public static final boolean DEFAULT_KEYBOARD_NAVIGATION
public static final boolean DEFAULT_FORCE_PARSE
public static final int DEFAULT_MINUTE_STEP
public static final boolean DEFAULT_SHOW_MERIDIAN
public static final boolean DEFAULT_SHOW_RESET_BUTTON
public BootstrapDateTimePicker(@Nonnull com.helger.webbasics.form.RequestFieldDate aRFD)
public BootstrapDateTimePicker(@Nonnull com.helger.html.request.IHCRequestField aRF, @Nonnull Locale aDisplayLocale)
@Nonnull @Nonempty public String getContainerID()
@Nonnull public com.helger.html.hc.html.HCEdit getEdit()
@Nullable public EDateTimePickerLanguage getLanguage()
null.@Nonnull public BootstrapDateTimePicker setFormat(@Nullable String sFormat)
@Nullable public EDateTimePickerDayOfWeek getWeekStart()
@Nonnull public BootstrapDateTimePicker setWeekStart(@Nullable EDateTimePickerDayOfWeek eWeekStart)
@Nullable public org.joda.time.LocalDate getStartDate()
@Nonnull public BootstrapDateTimePicker setStartDate(@Nullable org.joda.time.LocalDate aStartDate)
@Nullable public org.joda.time.LocalDate getEndDate()
@Nonnull public BootstrapDateTimePicker setEndDate(@Nullable org.joda.time.LocalDate aEndDate)
@Nonnull @ReturnsMutableCopy public Set<EDateTimePickerDayOfWeek> getDaysOfWeekDisabled()
@Nonnull public BootstrapDateTimePicker setDaysOfWeekDisabled(@Nullable Set<EDateTimePickerDayOfWeek> aDaysOfWeekDisabled)
public boolean isAutoclose()
@Nonnull public BootstrapDateTimePicker setAutoclose(boolean bAutoclose)
@Nullable public EDateTimePickerViewType getStartView()
@Nonnull public BootstrapDateTimePicker setStartView(@Nullable EDateTimePickerViewType eStartView)
@Nullable public EDateTimePickerViewType getMinView()
@Nonnull public BootstrapDateTimePicker setMinView(@Nullable EDateTimePickerViewType eMinView)
@Nullable public EDateTimePickerViewType getMaxView()
@Nonnull public BootstrapDateTimePicker setMaxView(@Nullable EDateTimePickerViewType eMaxView)
@Nullable public EDateTimePickerTodayType getTodayBtn()
@Nonnull public BootstrapDateTimePicker setTodayBtn(@Nullable EDateTimePickerTodayType eTodayBtn)
public boolean isTodayHighlight()
@Nonnull public BootstrapDateTimePicker setTodayHighlight(boolean bTodayHighlight)
public boolean isKeyboardNavigation()
@Nonnull public BootstrapDateTimePicker setKeyboardNavigation(boolean bKeyboardNavigation)
public boolean isForceParse()
@Nonnull public BootstrapDateTimePicker setForceParse(boolean bForceParse)
public int getMinuteStep()
@Nonnull public BootstrapDateTimePicker setMinuteStep(@Nonnegative int nMinuteStep)
@Nullable public EDateTimePickerPositionType getPickerPosition()
@Nonnull public BootstrapDateTimePicker setPickerPosition(@Nullable EDateTimePickerPositionType ePickerPosition)
@Nullable public org.joda.time.LocalDate getInitialDate()
@Nonnull public BootstrapDateTimePicker setInitialDate(@Nullable org.joda.time.LocalDate aInitialDate)
public boolean isShowMeridian()
@Nonnull public BootstrapDateTimePicker setShowMeridian(boolean bShowMeridian)
public boolean isShowResetButton()
@Nonnull public BootstrapDateTimePicker setShowResetButton(boolean bShowResetButton)
@Nonnull public BootstrapDateTimePicker addPrefix(@Nullable String sPrefix)
@Nonnull public BootstrapDateTimePicker addPrefix(@Nullable com.helger.html.hc.IHCNode aPrefix)
@Nonnull public BootstrapDateTimePicker addPrefix(@Nonnegative int nIndex, @Nullable String sPrefix)
@Nonnull public BootstrapDateTimePicker addPrefix(@Nonnegative int nIndex, @Nullable com.helger.html.hc.IHCNode aPrefix)
@Nonnull public BootstrapDateTimePicker removeAllPrefixes()
@Nonnull public BootstrapDateTimePicker addSuffix(@Nullable String sSuffix)
@Nonnull public BootstrapDateTimePicker addSuffix(@Nullable com.helger.html.hc.IHCNode aSuffix)
@Nonnull public BootstrapDateTimePicker addSuffix(@Nonnegative int nIndex, @Nullable String sSuffix)
@Nonnull public BootstrapDateTimePicker addSuffix(@Nonnegative int nIndex, @Nullable com.helger.html.hc.IHCNode aSuffix)
@Nonnull public BootstrapDateTimePicker removeAllSuffixes()
public boolean isShowTime()
@Nonnull public static com.helger.html.js.builder.JSInvocation invoke(@Nonnull com.helger.html.js.builder.jquery.JQueryInvocation aJQueryInvocation)
@Nonnull public com.helger.html.js.builder.JSInvocation invoke()
@Nonnull public static com.helger.html.js.builder.JSInvocation invoke(@Nonnull com.helger.html.js.builder.jquery.JQueryInvocation aJQueryInvocation, @Nonnull com.helger.html.js.builder.JSAssocArray aOptions)
@Nonnull public com.helger.html.js.builder.JSInvocation invoke(@Nonnull com.helger.html.js.builder.JSAssocArray aOptions)
@Nonnull public com.helger.html.js.builder.JSAssocArray getJSOptions()
JSAssocArray with all options for this Datetime Picker.
Never null.@Nonnull public com.helger.html.hc.impl.HCNodeList build()
build in interface com.helger.html.hc.IHCNodeBuilderpublic static void registerExternalResources(@Nullable EDateTimePickerLanguage eLanguage)
Copyright © 2014–2015 Philip Helger. All rights reserved.