Package io.jmix.ui.widget
Class JmixCopyButtonExtension
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
io.jmix.ui.widget.JmixCopyButtonExtension
- All Implemented Interfaces:
com.vaadin.event.MethodEventSource,com.vaadin.server.ClientConnector,com.vaadin.server.Extension,com.vaadin.shared.Connector,Serializable
public class JmixCopyButtonExtension
extends com.vaadin.server.AbstractExtension
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfaceNested classes/interfaces inherited from class com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlerNested 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.shared.Registrationstatic booleanstatic JmixCopyButtonExtensioncopyWith(com.vaadin.ui.Button button) static JmixCopyButtonExtensionprotected JmixCopyButtonExtensionStategetState()protected JmixCopyButtonExtensionStategetState(boolean markAsDirty) voidsetCopyTargetSelector(String targetElementClass) Methods inherited from class com.vaadin.server.AbstractExtension
extend, getParent, getSupportedParentType, remove, setParentMethods 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, updateDiffstateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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, setErrorHandlerMethods inherited from interface com.vaadin.shared.Connector
getConnectorId
-
Field Details
-
component
protected com.vaadin.ui.Button component
-
-
Constructor Details
-
JmixCopyButtonExtension
protected JmixCopyButtonExtension(com.vaadin.ui.Button button)
-
-
Method Details
-
copyWith
-
copyWith
-
getState
- Overrides:
getStatein classcom.vaadin.server.AbstractClientConnector
-
getState
- Overrides:
getStatein classcom.vaadin.server.AbstractClientConnector
-
getCopyTargetSelector
-
setCopyTargetSelector
-
addCopyListener
public com.vaadin.shared.Registration addCopyListener(JmixCopyButtonExtension.CopyListener listener) -
browserSupportsCopy
public static boolean browserSupportsCopy()
-