public abstract class TriggerField<W extends TriggerField<W,V>,V> extends ValueField<HTMLDivElement,W,V>
autocorrect, autofill, editRenderer, editTextAlign, parser, placeholder, renderer, required, textAlign
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER
Constructor and Description |
---|
TriggerField(HTMLDivElement element) |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueInputEvent() |
abstract W |
setBackgroundColor(Color backgroundColor)
Set the background color.
|
addValueInputHandler, allowNullRender, edit, getAutocorrect, getAutofill, getEditRenderer, getParser, getPlaceHolder, getRenderer, getTextValue, isEditing, isRequired, parseValue, renderEditValue, renderValue, setAllowBlank, setAllowNullRender, setAutocorrect, setAutofill, setEditRenderer, setParser, setPlaceHolder, setRenderer, setRequired, setValue
addFieldChangeHandler, addValidator, fireFieldChangeEvent, getValidators, getValue, isReadOnly, isValid, removeValidator, reset, setReadOnly, setValue, validate, validate
focusNext, focusPrevious
add, addActionHandler, addClassName, addDoubleActionHandler, addDoubleTapHandler, addDropTarget, addEventHandler, addEventHandler, addResizeHandler, addStyleName, addTapHandler, addTouchHoldHandler, canDropTargetAccept, cast, clear, clearBackgroundColor, clearDropTargets, clearTextColor, ensureHandlers, fireEvent, fireEvent, fireResizeEvent, getAbsoluteLeft, getAbsoluteTop, getAncestor, getChildren, getChildrenCount, getComputedStyle, getContextMenu, getContextMenuHandler, getDeepestWidget, getDragSource, getDropTargetList, getElement, getFirstChild, getId, getLastChild, getNextSibling, getNextSibling, getOffsetHeight, getOffsetWidth, getParent, getScrollLeft, getScrollTop, getStyle, hasClassName, hasFocus, insert, isAttached, isDropTarget, isEnabled, isInEventThread, onAttach, onDetach, remove, removeClassName, removeDropTarget, removeStyleName, setClassName, setContextMenu, setDragSource, setDropTarget, setEnabled, setHeight, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setSize, setTextAlign, setTextColor, setTop, setWidth, setWidth, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChangeHandler, addChangeHandler
addInputHandler, addInputHandler
addEventHandler, addEventHandler
blur, click, focus, getElement
addBlurHandler, addBlurHandler
addFocusHandler, addFocusHandler
cancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutation
addAttachHandler
addDetachHandler
addTransitionEndHandler, addTransitionEndHandler
addMouseDownHandler, addMouseDownHandler
addMouseMoveHandler, addMouseMoveHandler
addMouseOutHandler, addMouseOutHandler
addMouseOverHandler, addMouseOverHandler
addMouseUpHandler, addMouseUpHandler
addWheelHandler, addWheelHandler
addClickHandler, addClickHandler
addDoubleClickHandler, addDoubleClickHandler
addContextMenuHandler, addContextMenuHandler
addTouchStartHandler, addTouchStartHandler
addTouchMoveHandler, addTouchMoveHandler
addTouchForceChangeHandler, addTouchForceChangeHandler
addTouchEndHandler, addTouchEndHandler
addTouchCancelHandler, addTouchCancelHandler
addTouchHoldHandler
addTapHandler
addDoubleTapHandler
addKeyDownHandler, addKeyDownHandler
addKeyUpHandler, addKeyUpHandler
addKeyPressHandler, addKeyPressHandler
addScrollHandler, addScrollHandler
addAnimationStartHandler, addAnimationStartHandler
addAnimationIterationHandler, addAnimationIterationHandler
addAnimationEndHandler, addAnimationEndHandler
addActionHandler
addDoubleActionHandler
public TriggerField(HTMLDivElement element)
element
- protected void fireValueInputEvent()
fireValueInputEvent
in class ValueField<HTMLDivElement,W extends TriggerField<W,V>,V>
public abstract W setBackgroundColor(Color backgroundColor)
Widget
Widget.clearBackgroundColor()
, the theme's background color will be used.setBackgroundColor
in class Widget<HTMLDivElement,W extends TriggerField<W,V>>
backgroundColor
- the background color to setCopyright © 2018 Xalys. All rights reserved.