Class TranslatedComposite<T extends com.vaadin.flow.component.Component>

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, de.codecamp.messages.HasMessages, HasTranslations, Serializable

    public abstract class TranslatedComposite<T extends com.vaadin.flow.component.Component>
    extends com.vaadin.flow.component.Composite<T>
    implements HasTranslations
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TranslatedComposite()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void localizeComponents()
      Localizes components stored in fields of this composite.
      • Methods inherited from class com.vaadin.flow.component.Composite

        getChildren, getContent, getElement, initContent
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface de.codecamp.messages.HasMessages

        getMessage, getMessage, getMessage
    • Constructor Detail

      • TranslatedComposite

        protected TranslatedComposite()
    • Method Detail

      • localizeComponents

        protected void localizeComponents()
        Localizes components stored in fields of this composite. Call this method once all translated components have been created within Composite.initContent().
        See Also:
        TranslationUtils.localizeComponents(Component)