Class 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
  • Constructor Details

    • MultiLanguageTextBox

      public MultiLanguageTextBox()
      constructor.
  • Method Details

    • setValue

      public void setValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity value)
      Specified by:
      setValue in interface HasValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
      Specified by:
      setValue in interface org.gwtproject.editor.client.LeafValueEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
      Specified by:
      setValue in interface com.google.gwt.user.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
      Specified by:
      setValue in interface org.gwtproject.editor.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
    • setValue

      public void setValue(de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity value, boolean fireEvents)
      Specified by:
      setValue in interface HasValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
    • getValue

      public de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity getValue()
      Specified by:
      getValue in interface HasValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
      Specified by:
      getValue in interface org.gwtproject.editor.client.LeafValueEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
      Specified by:
      getValue in interface com.google.gwt.user.client.TakesValue<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
      Specified by:
      getValue in interface org.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> handler)
      Specified by:
      addValueChangeHandler in interface com.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:
      addKeyPressHandler in interface com.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:
      addKeyUpHandler in interface com.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 baseId)
      Overrides:
      onEnsureDebugId in class UIObject
    • setValidationMessageElement

      public void setValidationMessageElement(HTMLPanel element)
      Specified by:
      setValidationMessageElement in interface HasValidationMessageElement<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:
      getValidationMessageElement in interface HasValidationMessageElement<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:
      setCustomValidity in interface HasValidationMessageElement<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> errors)
      Specified by:
      showErrors in interface org.gwtproject.editor.client.HasEditorErrors<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>
      Specified by:
      showErrors in interface HasValidationMessageElement<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:
      asEditor in interface org.gwtproject.editor.client.IsEditor<de.knightsoftnet.validators.client.editor.ValueBoxEditor<de.knightsoftnet.gwtp.spring.shared.db.LocalizedEntity>>