Package io.jmix.ui.widget.renderer
Class JmixClickableTextRenderer<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.JmixClickableTextRenderer<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 JmixClickableTextRenderer<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
ConstructorDescriptionCreates a new clickable text renderer.JmixClickableTextRenderer
(com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T> listener) Creates a new clickable text renderer and adds the given click listener to it.JmixClickableTextRenderer
(com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T> listener, String nullRepresentation) Creates a new clickable text renderer and adds the given click listener to it.JmixClickableTextRenderer
(String nullRepresentation) Creates a new clickable text renderer. -
Method Summary
Methods inherited from class com.vaadin.ui.renderers.ClickableRenderer
addClickListener, getState, getState, removeClickListener
Methods inherited from class com.vaadin.ui.renderers.AbstractRenderer
encode, 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
-
JmixClickableTextRenderer
public JmixClickableTextRenderer()Creates a new clickable text renderer. -
JmixClickableTextRenderer
Creates a new clickable text renderer.- Parameters:
nullRepresentation
- the textual representation ofnull
value
-
JmixClickableTextRenderer
public JmixClickableTextRenderer(com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T> listener) Creates a new clickable text renderer and adds the given click listener to it.- Parameters:
listener
- the click listener to register
-
JmixClickableTextRenderer
public JmixClickableTextRenderer(com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T> listener, String nullRepresentation) Creates a new clickable text renderer and adds the given click listener to it.- Parameters:
listener
- the click listener to registernullRepresentation
- the textual representation ofnull
value
-