Class AbstractManyToOneEntityWidget<T,S extends AbstractManyToOneSuggestion<T>>
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
de.knightsoftnet.mtwidgets.client.ui.widget.AbstractManyToOneEntityWidget<T,S>
- Type Parameters:
T- type of the entityS- suggestion for entity type
- All Implemented Interfaces:
com.google.gwt.editor.client.Editor<T>,com.google.gwt.editor.client.LeafValueEditor<T>,com.google.gwt.event.dom.client.HasKeyPressHandlers,com.google.gwt.event.dom.client.HasKeyUpHandlers,com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.logical.shared.HasValueChangeHandlers<T>,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.TakesValue<T>,HasValue<T>,HasVisibility,IsRenderable,IsWidget,HasValidationMessageElement<T,,de.knightsoftnet.validators.client.editor.ValueBoxEditor<T>> org.gwtproject.editor.client.Editor<T>,org.gwtproject.editor.client.HasEditorErrors<T>,org.gwtproject.editor.client.IsEditor<de.knightsoftnet.validators.client.editor.ValueBoxEditor<T>>,org.gwtproject.editor.client.TakesValue<T>
public abstract class AbstractManyToOneEntityWidget<T,S extends AbstractManyToOneSuggestion<T>>
extends Composite
implements com.google.gwt.editor.client.LeafValueEditor<T>, HasValue<T>, org.gwtproject.editor.client.TakesValue<T>, HasValidationMessageElement<T,de.knightsoftnet.validators.client.editor.ValueBoxEditor<T>>, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers
Input widget for database many to one entity references.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceui binder interface.Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor
com.google.gwt.editor.client.Editor.Ignore, com.google.gwt.editor.client.Editor.PathNested classes/interfaces inherited from interface org.gwtproject.editor.client.Editor
org.gwtproject.editor.client.Editor.Ignore, org.gwtproject.editor.client.Editor.Path -
Field Summary
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionAbstractManyToOneEntityWidget(AbstractManyToOneEntityWidget.Binder uiBinder, com.gwtplatform.dispatch.rest.delegates.client.ResourceDelegate<? extends ManyToOneSuggestionRestService<T>> restDelegate, S suggestionPrototype) default constructor. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gwt.event.shared.HandlerRegistrationaddKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler handler) com.google.gwt.event.shared.HandlerRegistrationaddKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler handler) com.google.gwt.event.shared.HandlerRegistrationaddValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<T> handler) de.knightsoftnet.validators.client.editor.ValueBoxEditor<T>asEditor()getValue()protected voidonEnsureDebugId(String baseId) voidsetCustomValidity(String message) voidsetValidationMessageElement(HTMLPanel element) voidvoidMethods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetMethods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsMethods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEventMethods inherited from interface de.knightsoftnet.mtwidgets.client.ui.widget.features.HasValidationMessageElement
editorErrorMatches, setTitle, showErrors, showErrors
-
Constructor Details
-
AbstractManyToOneEntityWidget
public AbstractManyToOneEntityWidget(AbstractManyToOneEntityWidget.Binder uiBinder, com.gwtplatform.dispatch.rest.delegates.client.ResourceDelegate<? extends ManyToOneSuggestionRestService<T>> restDelegate, S suggestionPrototype) default constructor.- Parameters:
uiBinder- ui binderrestDelegate- rest delegate
-
-
Method Details
-
addKeyPressHandler
public com.google.gwt.event.shared.HandlerRegistration addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler handler) - Specified by:
addKeyPressHandlerin interfacecom.google.gwt.event.dom.client.HasKeyPressHandlers
-
addKeyUpHandler
public com.google.gwt.event.shared.HandlerRegistration addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler handler) - Specified by:
addKeyUpHandlerin interfacecom.google.gwt.event.dom.client.HasKeyUpHandlers
-
getValue
-
setValue
-
setValue
-
asEditor
- Specified by:
asEditorin interfaceorg.gwtproject.editor.client.IsEditor<T>
-
setValidationMessageElement
- Specified by:
setValidationMessageElementin interfaceHasValidationMessageElement<T,S extends AbstractManyToOneSuggestion<T>>
-
getValidationMessageElement
- Specified by:
getValidationMessageElementin interfaceHasValidationMessageElement<T,S extends AbstractManyToOneSuggestion<T>>
-
setCustomValidity
- Specified by:
setCustomValidityin interfaceHasValidationMessageElement<T,S extends AbstractManyToOneSuggestion<T>>
-
onEnsureDebugId
- Overrides:
onEnsureDebugIdin classUIObject