public class JmixCopyButtonExtension
extends com.vaadin.server.AbstractExtension
Modifier and Type | Class and Description |
---|---|
static class |
JmixCopyButtonExtension.CopyEvent |
static interface |
JmixCopyButtonExtension.CopyListener |
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
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
Modifier and Type | Field and Description |
---|---|
protected com.vaadin.ui.Button |
component |
Modifier | Constructor and Description |
---|---|
protected |
JmixCopyButtonExtension(com.vaadin.ui.Button button) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.shared.Registration |
addCopyListener(JmixCopyButtonExtension.CopyListener listener) |
static boolean |
browserSupportsCopy() |
static JmixCopyButtonExtension |
copyWith(com.vaadin.ui.Button button) |
static JmixCopyButtonExtension |
copyWith(com.vaadin.ui.Button button,
java.lang.String selector) |
java.lang.String |
getCopyTargetSelector() |
protected JmixCopyButtonExtensionState |
getState() |
protected JmixCopyButtonExtensionState |
getState(boolean markAsDirty) |
void |
setCopyTargetSelector(java.lang.String targetElementClass) |
extend, getParent, getSupportedParentType, remove, setParent
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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected JmixCopyButtonExtension(com.vaadin.ui.Button button)
public static JmixCopyButtonExtension copyWith(com.vaadin.ui.Button button)
public static JmixCopyButtonExtension copyWith(com.vaadin.ui.Button button, java.lang.String selector)
protected JmixCopyButtonExtensionState getState()
getState
in class com.vaadin.server.AbstractClientConnector
protected JmixCopyButtonExtensionState getState(boolean markAsDirty)
getState
in class com.vaadin.server.AbstractClientConnector
public java.lang.String getCopyTargetSelector()
public void setCopyTargetSelector(java.lang.String targetElementClass)
public com.vaadin.shared.Registration addCopyListener(JmixCopyButtonExtension.CopyListener listener)
public static boolean browserSupportsCopy()