Class HtmlAttributesExtension

java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
io.jmix.ui.widget.HtmlAttributesExtension
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Extension, com.vaadin.shared.Connector, Serializable

public class HtmlAttributesExtension extends com.vaadin.server.AbstractExtension
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.server.AbstractClientConnector

    com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler

    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Map<String,Set<String>>
     
    protected Map<String,Set<String>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HtmlAttributesExtension(com.vaadin.server.AbstractClientConnector target)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    beforeClientResponse(boolean initial)
     
    get(com.vaadin.ui.Component component)
     
    protected String
    getAttributeValue(String querySelector, String attributeName, AttributeType type)
     
    getCssProperty(String propertyName)
     
    getCssProperty(String querySelector, String propertyName)
     
    getDomAttribute(String attributeName)
     
    getDomAttribute(String querySelector, String attributeName)
     
     
    getState(boolean markAsDirty)
     
    void
    removeCssProperty(String propertyName)
     
    void
    removeCssProperty(String querySelector, String propertyName)
     
    void
    removeDomAttribute(String attributeName)
     
    void
    removeDomAttribute(String querySelector, String attributeName)
     
    void
    setCssProperty(String propertyName, String value)
     
    void
    setCssProperty(String querySelector, String propertyName, String value)
     
    void
    setDomAttribute(String attributeName, String value)
     
    void
    setDomAttribute(String querySelector, String attributeName, String value)
     

    Methods inherited from class com.vaadin.server.AbstractExtension

    extend, getParent, getSupportedParentType, remove, setParent

    Methods inherited from class com.vaadin.server.AbstractClientConnector

    addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.server.ClientConnector

    addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId
  • Field Details

  • Constructor Details

    • HtmlAttributesExtension

      public HtmlAttributesExtension(com.vaadin.server.AbstractClientConnector target)
  • Method Details

    • get

      public static HtmlAttributesExtension get(com.vaadin.ui.Component component)
    • getState

      protected HtmlAttributesExtensionState getState()
      Overrides:
      getState in class com.vaadin.server.AbstractClientConnector
    • getState

      protected HtmlAttributesExtensionState getState(boolean markAsDirty)
      Overrides:
      getState in class com.vaadin.server.AbstractClientConnector
    • setDomAttribute

      public void setDomAttribute(String attributeName, String value)
    • setDomAttribute

      public void setDomAttribute(String querySelector, String attributeName, String value)
    • getDomAttribute

      @Nullable public String getDomAttribute(String attributeName)
    • getDomAttribute

      @Nullable public String getDomAttribute(String querySelector, String attributeName)
    • removeDomAttribute

      public void removeDomAttribute(String attributeName)
    • removeDomAttribute

      public void removeDomAttribute(String querySelector, String attributeName)
    • setCssProperty

      public void setCssProperty(String propertyName, String value)
    • setCssProperty

      public void setCssProperty(String querySelector, String propertyName, String value)
    • getCssProperty

      @Nullable public String getCssProperty(String propertyName)
    • getCssProperty

      @Nullable public String getCssProperty(String querySelector, String propertyName)
    • removeCssProperty

      public void removeCssProperty(String propertyName)
    • removeCssProperty

      public void removeCssProperty(String querySelector, String propertyName)
    • getAttributeValue

      @Nullable protected String getAttributeValue(String querySelector, String attributeName, AttributeType type)
    • addOrUpdate

      protected void addOrUpdate(Set<AttributeInfo> attributes, AttributeInfo item)
    • beforeClientResponse

      public void beforeClientResponse(boolean initial)
      Specified by:
      beforeClientResponse in interface com.vaadin.server.ClientConnector
      Overrides:
      beforeClientResponse in class com.vaadin.server.AbstractClientConnector