Class LiteralComponent

  • All Implemented Interfaces:
    com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>, com.vaadin.event.ContextClickEvent.ContextClickNotifier, com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Sizeable, com.vaadin.shared.Connector, com.vaadin.ui.Component, com.vaadin.ui.Component.Focusable, com.vaadin.ui.HasComponents, Serializable, Iterable<com.vaadin.ui.Component>

    public class LiteralComponent
    extends com.vaadin.ui.Composite
    implements com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>, com.vaadin.ui.Component.Focusable
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector

        com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
      • Nested classes/interfaces inherited from interface com.vaadin.ui.Component

        com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
      • Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents

        com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
      • Nested classes/interfaces inherited from interface com.vaadin.data.HasValue

        com.vaadin.data.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.data.HasValue.ValueChangeListener<V extends Object>
      • Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable

        com.vaadin.server.Sizeable.Unit
    • Field Summary

      • Fields inherited from class com.vaadin.ui.AbstractComponent

        DESIGN_ATTR_PLAIN_TEXT
      • Fields inherited from interface com.vaadin.server.Sizeable

        SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.vaadin.shared.Registration addValueChangeListener​(com.vaadin.data.HasValue.ValueChangeListener<io.mateu.util.interfaces.Translated> valueChangeListener)  
      void focus()  
      int getTabIndex()  
      io.mateu.util.interfaces.Translated getValue()  
      boolean isReadOnly()  
      boolean isRequiredIndicatorVisible()  
      void setReadOnly​(boolean b)  
      void setRequiredIndicatorVisible​(boolean b)  
      void setTabIndex​(int i)  
      void setValue​(io.mateu.util.interfaces.Translated o)  
      • Methods inherited from class com.vaadin.ui.Composite

        addStyleName, beforeClientResponse, getCaption, getComponentError, getCompositionRoot, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getPrimaryStyleName, getState, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isEnabled, iterator, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setCompositionRoot, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setPrimaryStyleName, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setWidth, setWidth, setWidthUndefined
      • Methods inherited from class com.vaadin.ui.AbstractComponent

        addContextClickListener, addListener, addShortcutListener, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCustomAttributes, getData, getLocale, getParent, isConnectorEnabled, isOrHasAncestor, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, setData, setHeightFull, setLocale, setParent, setResponsive, setVisible, setWidthFull, writeDesign
      • Methods inherited from class com.vaadin.server.AbstractClientConnector

        addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
      • Methods inherited from interface com.vaadin.server.ClientConnector

        addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
      • Methods inherited from interface com.vaadin.ui.Component

        addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
      • Methods inherited from interface com.vaadin.shared.Connector

        getConnectorId
      • Methods inherited from interface com.vaadin.data.HasValue

        clear, getDefaultValidator, getEmptyValue, getOptionalValue, isEmpty
      • Methods inherited from interface com.vaadin.server.Sizeable

        getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
    • Method Detail

      • setValue

        public void setValue​(io.mateu.util.interfaces.Translated o)
        Specified by:
        setValue in interface com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>
      • getValue

        public io.mateu.util.interfaces.Translated getValue()
        Specified by:
        getValue in interface com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>
      • setRequiredIndicatorVisible

        public void setRequiredIndicatorVisible​(boolean b)
        Specified by:
        setRequiredIndicatorVisible in interface com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>
        Overrides:
        setRequiredIndicatorVisible in class com.vaadin.ui.AbstractComponent
      • isRequiredIndicatorVisible

        public boolean isRequiredIndicatorVisible()
        Specified by:
        isRequiredIndicatorVisible in interface com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>
        Overrides:
        isRequiredIndicatorVisible in class com.vaadin.ui.AbstractComponent
      • setReadOnly

        public void setReadOnly​(boolean b)
        Specified by:
        setReadOnly in interface com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>
        Overrides:
        setReadOnly in class com.vaadin.ui.AbstractComponent
      • isReadOnly

        public boolean isReadOnly()
        Specified by:
        isReadOnly in interface com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>
        Overrides:
        isReadOnly in class com.vaadin.ui.AbstractComponent
      • addValueChangeListener

        public com.vaadin.shared.Registration addValueChangeListener​(com.vaadin.data.HasValue.ValueChangeListener<io.mateu.util.interfaces.Translated> valueChangeListener)
        Specified by:
        addValueChangeListener in interface com.vaadin.data.HasValue<io.mateu.util.interfaces.Translated>
      • focus

        public void focus()
        Specified by:
        focus in interface com.vaadin.ui.Component.Focusable
        Overrides:
        focus in class com.vaadin.ui.AbstractComponent
      • getTabIndex

        public int getTabIndex()
        Specified by:
        getTabIndex in interface com.vaadin.ui.Component.Focusable
      • setTabIndex

        public void setTabIndex​(int i)
        Specified by:
        setTabIndex in interface com.vaadin.ui.Component.Focusable