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.DebugIdImplEnabled
-
-
Field Summary
-
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
-
Constructor Summary
Constructors Constructor Description MultiLanguageTextBox()constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.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> phandler)de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>asEditor()HTMLPanelgetValidationMessageElement()de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntitygetValue()protected voidonEnsureDebugId(String pbaseId)voidsetCustomValidity(String message)voidsetValidationMessageElement(HTMLPanel pelement)voidsetValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity pvalue)voidsetValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity pvalue, boolean pfireEvents)voidshowErrors(List<org.gwtproject.editor.client.EditorError> perrors)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, setWidget
-
Methods 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, unsinkEvents
-
Methods 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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.knightsoftnet.mtwidgets.client.ui.widget.features.HasValidationMessageElement
editorErrorMatches, setTitle, showErrors
-
-
-
-
Method Detail
-
setValue
public void setValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity pvalue)
- Specified by:
setValuein interfaceHasValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>- Specified by:
setValuein interfaceorg.gwtproject.editor.client.LeafValueEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>- Specified by:
setValuein interfacecom.google.gwt.user.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>- Specified by:
setValuein interfaceorg.gwtproject.editor.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
-
setValue
public void setValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity pvalue, boolean pfireEvents)
-
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>
-
addValueChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity> phandler)
- Specified by:
addValueChangeHandlerin interfacecom.google.gwt.event.logical.shared.HasValueChangeHandlers<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
protected void onEnsureDebugId(String pbaseId)
- Overrides:
onEnsureDebugIdin classUIObject
-
setValidationMessageElement
public void setValidationMessageElement(HTMLPanel pelement)
- 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
public HTMLPanel 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
public void setCustomValidity(String message)
- 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
public void showErrors(List<org.gwtproject.editor.client.EditorError> perrors)
- 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>>
-
-