public class DateTimeBoxAppended extends AppendButton implements HasValue<Date>, HasDateFormat, HasIcon, HasValueChangeHandlers<Date>, HasVisibility, HasChangeHandlers, HasVisibleHandlers, HasAllDateTimePickerHandlers, HasAlternateSize, IsEditor<TakesValueEditor<Date>>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledHasViewMode.ViewModeInsertPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Constructor and Description |
|---|
DateTimeBoxAppended() |
| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addChangeHandler(ChangeHandler handler) |
HandlerRegistration |
addHiddenHandler(HiddenHandler handler)
Adds a
HiddenEvent handler. |
HandlerRegistration |
addHideHandler(HideHandler handler)
Adds a
HideEvent handler. |
HandlerRegistration |
addShowHandler(ShowHandler handler)
Adds a
ShowEvent handler. |
HandlerRegistration |
addShownHandler(ShownHandler handler)
Adds a
ShownEvent handler. |
HandlerRegistration |
addValueChangeHandler(ValueChangeHandler<Date> dateValueChangeHandler) |
TakesValueEditor<Date> |
asEditor() |
PickerPosition |
getPickerPosition() |
Date |
getValue() |
void |
hide()
Hides the widget if it was previously shown.
|
boolean |
isReadOnly() |
void |
setAlignment(ValueBoxBase.TextAlignment align) |
void |
setAlternateSize(AlternateSize size) |
void |
setAutoClose(boolean autoclose)
Determine if the element will autoclose in some events.
|
void |
setBaseIcon(BaseIconType type)
Sets the BaseType of the Icon.
|
void |
setCustomIconStyle(String customIconStyle)
Set custom icon style.
|
void |
setDaysOfWeekDisabled(String value)
Disable days of week view.
|
void |
setEndDate_(Date date)
Set the max date in the component.
|
void |
setEndDate(String date)
Set the max date in the component.
|
void |
setFormat(String format)
Set the format in the component.
|
void |
setHighlightToday(boolean highlight) |
void |
setIcon(IconType type)
Sets the Type of the Icon.
|
void |
setIconPosition(IconPosition position)
Deprecated.
|
void |
setIconSize(IconSize size)
Sets the size of the icon.
|
void |
setLanguage(String language)
Setup the language of the component.
|
void |
setMaxView(HasViewMode.ViewMode mode)
Set the Max ViewMode
|
void |
setMaxView(String mode)
Set the Max ViewMode
|
void |
setMinuteStep(int minutes) |
void |
setMinView(HasViewMode.ViewMode mode)
Set the Min ViewMode
|
void |
setMinView(String mode)
Set the Min ViewMode
|
void |
setPickerPosition(PickerPosition pickerPosition) |
void |
setReadOnly(boolean readonly) |
void |
setShowTodayButton(boolean show) |
void |
setStartDate_(Date date)
Set the min date in the component.
|
void |
setStartDate(String date)
Set the min date in the component.
|
void |
setStartView(HasViewMode.ViewMode mode)
Set the Start ViewMode
|
void |
setStartView(String mode)
Set the Start ViewMode
|
void |
setValue(Date value) |
void |
setValue(Date value,
boolean fireEvents) |
void |
setWeekStart(int start)
Define the first day of week in the datepicker.
|
void |
show()
Shows the widget if it was previously hidden.
|
void |
toggle()
Toggles the view state of the widget.
|
addStyle, getId, pullRight, removeStyle, setHideOn, setId, setPullRight, setShowOn, setStyleadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfireEventaddgetWidgetIndexgetWidget, getWidgetCount, getWidgetIndex, removepublic DateTimeBoxAppended()
public void setAlternateSize(AlternateSize size)
setAlternateSize in interface HasAlternateSizepublic void setAlignment(ValueBoxBase.TextAlignment align)
public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Date> dateValueChangeHandler)
addValueChangeHandler in interface HasValueChangeHandlers<Date>public void setFormat(String format)
setFormat in interface HasDateFormatpublic void setBaseIcon(BaseIconType type)
setBaseIcon in interface HasIconpublic void setIconSize(IconSize size)
Default is DEFAULT.
setIconSize in interface HasIconsize - the new size.public void setCustomIconStyle(String customIconStyle)
It sets css class name to <i> tag. You can set any icons style.
setCustomIconStyle in interface HasIconpublic void setIconPosition(IconPosition position)
setIconPosition in interface HasIconposition - icon's positionpublic void setAutoClose(boolean autoclose)
setAutoClose in interface HasAutoclosepublic void setEndDate(String date)
setEndDate in interface HasEndDatepublic void setEndDate_(Date date)
setEndDate_ in interface HasEndDatepublic void setLanguage(String language)
setLanguage in interface HasLanguagepublic void setStartDate(String date)
setStartDate in interface HasStartDatepublic void setStartDate_(Date date)
setStartDate_ in interface HasStartDatepublic void setMinView(HasViewMode.ViewMode mode)
setMinView in interface HasViewModemode - ViewMode.{HOUR,DAY,MONTH,YEAR,DECADE}public void setMinView(String mode)
setMinView in interface HasViewModemode - One of (HOUR,DAY,MONTH,YEAR,DECADE), case-insensitivepublic void setMaxView(HasViewMode.ViewMode mode)
setMaxView in interface HasViewModemode - ViewMode.{HOUR,DAY,MONTH,YEAR,DECADE}public void setMaxView(String mode)
setMaxView in interface HasViewModemode - One of (HOUR,DAY,MONTH,YEAR,DECADE), case-insensitivepublic void setStartView(HasViewMode.ViewMode mode)
setStartView in interface HasViewModemode - ViewMode.{HOUR,DAY,MONTH,YEAR,DECADE}public void setStartView(String mode)
setStartView in interface HasViewModemode - One of (HOUR,DAY,MONTH,YEAR,DECADE), case-insensitivepublic void setWeekStart(int start)
setWeekStart in interface HasWeekStartpublic TakesValueEditor<Date> asEditor()
asEditor in interface IsEditor<TakesValueEditor<Date>>public HandlerRegistration addHideHandler(HideHandler handler)
HideEvent handler.addHideHandler in interface HasVisibleHandlershandler - the hide handlerHandlerRegistration used to remove this handlerpublic HandlerRegistration addHiddenHandler(HiddenHandler handler)
HiddenEvent handler.addHiddenHandler in interface HasVisibleHandlershandler - the hidden handlerHandlerRegistration used to remove this handlerpublic HandlerRegistration addShowHandler(ShowHandler handler)
ShowEvent handler.addShowHandler in interface HasVisibleHandlershandler - the show handlerHandlerRegistration used to remove this handlerpublic HandlerRegistration addShownHandler(ShownHandler handler)
ShownEvent handler.addShownHandler in interface HasVisibleHandlershandler - the shown handlerHandlerRegistration used to remove this handlerpublic HandlerRegistration addChangeHandler(ChangeHandler handler)
addChangeHandler in interface HasChangeHandlerspublic void show()
public void hide()
public void toggle()
It will be hidden if it was previously shown and shown if it was previously hidden.
public boolean isReadOnly()
ValueBoxBase.isReadOnly()public void setReadOnly(boolean readonly)
ValueBoxBase.setReadOnly(boolean)public void setDaysOfWeekDisabled(String value)
HasDaysOfWeeksetDaysOfWeekDisabled in interface HasDaysOfWeekvalue - Days of week which are disabled: "0,6"public void setMinuteStep(int minutes)
setMinuteStep in interface HasMinutespublic void setShowTodayButton(boolean show)
setShowTodayButton in interface HasTodaypublic void setHighlightToday(boolean highlight)
setHighlightToday in interface HasTodaypublic void setPickerPosition(PickerPosition pickerPosition)
public PickerPosition getPickerPosition()
Copyright © 2012-2014 gwtbootstrap. All Rights Reserved.