T - the type of data being editedpublic class UniversalDecoratorWithIcons<T> extends AbstractDecorator<T>
The decorator may have exactly one Widget added though an <e:widget> child
tag.
For example:
@UiField UniversalDecoratorWithIcons<String> name;
<e:UniversalDecoratorWithIcons ui:field='name'> <e:widget> <g:TextBox /> </e:widget> </e:UniversalDecoratorWithIcons>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UniversalDecoratorWithIcons.ExtendedResources
A ClientBundle that provides images and style sheets for the decorator.
|
AbstractDecorator.Resourcescontents| Constructor and Description |
|---|
UniversalDecoratorWithIcons(ErrorPanelLocationEnum errorLocation)
Constructs a ValueBoxEditorDecorator.
|
| Modifier and Type | Method and Description |
|---|---|
protected static AbstractDecorator.Resources |
getExtendedResources()
get default resource, if not set, create one.
|
addKeyPressHandler, addKeyUpHandler, addValueChangeHandler, addValueChangeHandler, asEditor, clearErrors, editorErrorMatches, getDefaultResources, getTabIndex, getValue, getWidget, isFocusOnError, setAccessKey, setChildWidget, setEditor, setFocus, setFocusOnError, setTabIndex, setValue, setValue, showErrorsclaimElement, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString@UiConstructor public UniversalDecoratorWithIcons(ErrorPanelLocationEnum errorLocation)
errorLocation - location of the error textprotected static AbstractDecorator.Resources getExtendedResources()
Copyright © 2015–2016. All rights reserved.