Class MultiLanguageTextBox
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.MultiLanguageTextBox
- All Implemented Interfaces:
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<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>,HasValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>,HasVisibility,IsRenderable,IsWidget,HasValidationMessageElement<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity,,de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>> org.gwtproject.editor.client.Editor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>,org.gwtproject.editor.client.HasEditorErrors<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>,org.gwtproject.editor.client.IsEditor<de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>,org.gwtproject.editor.client.LeafValueEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>,org.gwtproject.editor.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
public class MultiLanguageTextBox
extends Composite
implements org.gwtproject.editor.client.LeafValueEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>, HasValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>, org.gwtproject.editor.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>, HasValidationMessageElement<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity,de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers
widget for multilingual input.
- Author:
- Manfred Tremmel
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledNested 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
Constructors -
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<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity> handler) de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>asEditor()de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntitygetValue()protected voidonEnsureDebugId(String baseId) voidsetCustomValidity(String message) voidsetValidationMessageElement(HTMLPanel element) voidsetValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity value) voidsetValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity value, boolean fireEvents) voidshowErrors(List<org.gwtproject.editor.client.EditorError> errors) voidswitchShowHide(com.google.gwt.event.dom.client.ClickEvent event) Methods 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
-
Constructor Details
-
MultiLanguageTextBox
public MultiLanguageTextBox()constructor.
-
-
Method Details
-
getValue
public de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity getValue()- Specified by:
getValuein interfaceHasValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>- Specified by:
getValuein interfaceorg.gwtproject.editor.client.LeafValueEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>- Specified by:
getValuein interfacecom.google.gwt.user.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>- Specified by:
getValuein interfaceorg.gwtproject.editor.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
-
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
-
switchShowHide
@UiHandler("showHide") public void switchShowHide(com.google.gwt.event.dom.client.ClickEvent event) -
onEnsureDebugId
- Overrides:
onEnsureDebugIdin classUIObject
-
setValidationMessageElement
- Specified by:
setValidationMessageElementin interfaceHasValidationMessageElement<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity,de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>
-
getValidationMessageElement
- Specified by:
getValidationMessageElementin interfaceHasValidationMessageElement<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity,de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>
-
setCustomValidity
- Specified by:
setCustomValidityin interfaceHasValidationMessageElement<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity,de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>
-
showErrors
- Specified by:
showErrorsin interfaceorg.gwtproject.editor.client.HasEditorErrors<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>- Specified by:
showErrorsin interfaceHasValidationMessageElement<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity,de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>
-
asEditor
public de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity> asEditor()- Specified by:
asEditorin interfaceorg.gwtproject.editor.client.IsEditor<de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>