public class TimeBoxAppended extends AppendButton implements HasValue<Date>, HasIcon, HasVisibility, HasVisibleHandlers, HasPlaceholder, HasTemplate, HasShowInputs, HasSecondStep, HasModalBackdrop, HasMinuteStep, HasDisableFocus, HasDefaultTime, HasShowSeconds, HasMeridian
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledHasTemplate.TemplateHasDefaultTime.DefaultTimeInsertPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Constructor and Description |
|---|
TimeBoxAppended() |
| Modifier and Type | Method and Description |
|---|---|
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> handler) |
String |
getPlaceholder()
Get a placeholder attribute (HTML5).
|
Date |
getValue() |
void |
hide()
Hides the widget if it was previously shown.
|
void |
setBaseIcon(BaseIconType type)
Sets the BaseType of the Icon.
|
void |
setCustomIconStyle(String customIconStyle)
Set custom icon style.
|
void |
setDefaultTime(HasDefaultTime.DefaultTime defaultTime)
Set the defaultTime of the component.
|
void |
setDefaultTime(String defaultTime)
Set the defaultTime of the component.
|
void |
setDisableFocus(boolean disableFocus)
Sets the disableFocus property component
|
void |
setIcon(IconType type)
Sets the Type of the Icon.
|
void |
setIconPosition(IconPosition position)
Set icon position , left or right
|
void |
setIconSize(IconSize size)
Sets the size of the icon.
|
void |
setMeridian(boolean meridian)
Determine if the element will meridian in some events.
|
void |
setMinuteStep(int minuteStep)
Sets the minuteStep property on the component
|
void |
setModalBackdrop(boolean modalBackdrop)
Sets the hasModalBackdrop property component
|
void |
setPlaceholder(String placeholder)
Set a placeholder attribute (HTML5).
|
void |
setSecondStep(int secondStep)
Sets the secondStep property on the component
|
void |
setShowInputs(boolean showInputs)
Sets the showInputs property component
|
void |
setShowSeconds(boolean showSeconds)
Sets the showSeconds property component
|
void |
setTemplate(HasTemplate.Template template)
Set the template of the timepicker.
|
void |
setTemplate(String template)
Set the template of the timepicker.
|
void |
setValue(Date value) |
void |
setValue(Date value,
boolean fireEvents) |
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 TimeBoxAppended()
public void setDefaultTime(HasDefaultTime.DefaultTime defaultTime)
setDefaultTime in interface HasDefaultTimepublic void setDefaultTime(String defaultTime)
setDefaultTime in interface HasDefaultTimepublic void setDisableFocus(boolean disableFocus)
setDisableFocus in interface HasDisableFocuspublic void setMeridian(boolean meridian)
setMeridian in interface HasMeridianpublic void setMinuteStep(int minuteStep)
setMinuteStep in interface HasMinuteSteppublic void setModalBackdrop(boolean modalBackdrop)
setModalBackdrop in interface HasModalBackdroppublic void setPlaceholder(String placeholder)
setPlaceholder in interface HasPlaceholderplaceholder - the String to show. Use a empty string or null to remove the attribute.public String getPlaceholder()
getPlaceholder in interface HasPlaceholderpublic void setSecondStep(int secondStep)
setSecondStep in interface HasSecondSteppublic void setShowInputs(boolean showInputs)
setShowInputs in interface HasShowInputspublic void setShowSeconds(boolean showSeconds)
HasShowSecondssetShowSeconds in interface HasShowSecondspublic void setTemplate(HasTemplate.Template template)
setTemplate in interface HasTemplatepublic void setTemplate(String template)
setTemplate in interface HasTemplatepublic void setBaseIcon(BaseIconType type)
HasIconsetBaseIcon in interface HasIconpublic void setIconSize(IconSize size)
Default is DEFAULT.
setIconSize in interface HasIconsize - the new size.public void setCustomIconStyle(String customIconStyle)
HasIconIt sets css class name to <i> tag. You can set any icons style.
setCustomIconStyle in interface HasIconpublic void setIconPosition(IconPosition position)
HasIconsetIconPosition in interface HasIconposition - icon's positionpublic HandlerRegistration addValueChangeHandler(ValueChangeHandler<Date> handler)
addValueChangeHandler in interface HasValueChangeHandlers<Date>public 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 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 handlerCopyright © 2012-2014 gwtbootstrap. All Rights Reserved.