Class JmixImageRenderer<T>

java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
com.vaadin.ui.renderers.AbstractRenderer<T,V>
com.vaadin.ui.renderers.ClickableRenderer<T,String>
io.jmix.ui.widget.renderer.JmixImageRenderer<T>
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Extension, com.vaadin.shared.Connector, com.vaadin.ui.renderers.Renderer<String>, Serializable

public class JmixImageRenderer<T> extends com.vaadin.ui.renderers.ClickableRenderer<T,String>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.ui.renderers.ClickableRenderer

    com.vaadin.ui.renderers.ClickableRenderer.RendererClickEvent<T extends Object>, com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T extends Object>

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

    Constructors
    Constructor
    Description
     
    JmixImageRenderer(com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T> listener)
    Creates a new image renderer and adds the given click listener to it.
  • Method Summary

    Modifier and Type
    Method
    Description
    elemental.json.JsonValue
    encode(String value)
     

    Methods inherited from class com.vaadin.ui.renderers.ClickableRenderer

    addClickListener, getState, getState, removeClickListener

    Methods inherited from class com.vaadin.ui.renderers.AbstractRenderer

    encode, extend, getNullRepresentation, getParent, getParentGrid, getPresentationType, getSupportedParentType

    Methods inherited from class com.vaadin.server.AbstractExtension

    remove, setParent

    Methods inherited from class com.vaadin.server.AbstractClientConnector

    addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, 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, beforeClientResponse, 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

    Methods inherited from interface com.vaadin.ui.renderers.Renderer

    remove, setParent
  • Constructor Details

    • JmixImageRenderer

      public JmixImageRenderer()
    • JmixImageRenderer

      public JmixImageRenderer(com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T> listener)
      Creates a new image renderer and adds the given click listener to it.
      Parameters:
      listener - the click listener to register
  • Method Details

    • encode

      public elemental.json.JsonValue encode(String value)
      Specified by:
      encode in interface com.vaadin.ui.renderers.Renderer<T>
      Overrides:
      encode in class com.vaadin.ui.renderers.AbstractRenderer<T,String>