Package org.opencms.ui.components
Class CmsCopyToClipboardButton
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractFocusable
com.vaadin.ui.Button
org.opencms.ui.components.CmsCopyToClipboardButton
- All Implemented Interfaces:
- com.vaadin.event.Action.ShortcutNotifier,- com.vaadin.event.ContextClickEvent.ContextClickNotifier,- com.vaadin.event.FieldEvents.BlurNotifier,- com.vaadin.event.FieldEvents.FocusNotifier,- com.vaadin.event.MethodEventSource,- com.vaadin.server.ClientConnector,- com.vaadin.server.Sizeable,- com.vaadin.shared.Connector,- com.vaadin.ui.Component,- com.vaadin.ui.Component.Focusable,- Serializable
The copy to clip-board/select text button.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.vaadin.ui.Buttoncom.vaadin.ui.Button.ClickEvent, com.vaadin.ui.Button.ClickListener, com.vaadin.ui.Button.ClickShortcutNested classes/interfaces inherited from interface com.vaadin.server.ClientConnectorcom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListenerNested classes/interfaces inherited from interface com.vaadin.ui.Componentcom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.ListenerNested classes/interfaces inherited from interface com.vaadin.server.Sizeablecom.vaadin.server.Sizeable.Unit
- 
Field SummaryFields inherited from class com.vaadin.ui.ButtonclickShortcutFields inherited from class com.vaadin.ui.AbstractComponentDESIGN_ATTR_PLAIN_TEXTFields inherited from interface com.vaadin.server.SizeableSIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
- 
Constructor SummaryConstructorsConstructorDescriptionHiding the constructor.CmsCopyToClipboardButton(String text, String selector) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionprotected CmsCopyToClipboardStategetState()voidsetSelector(String selector) Sets the element selector.Methods inherited from class com.vaadin.ui.ButtonaddClickListener, click, fireClick, fireClick, getCustomAttributes, getIconAlternateText, getState, isDisableOnClick, isHtmlContentAllowed, readDesign, removeClickListener, removeClickShortcut, setClickShortcut, setDisableOnClick, setHtmlContentAllowed, setIcon, setIconAlternateText, writeDesignMethods inherited from class com.vaadin.ui.AbstractFocusableaddBlurListener, addFocusListener, focus, getTabIndex, setTabIndexMethods inherited from class com.vaadin.ui.AbstractComponentaddContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefinedMethods inherited from class com.vaadin.server.AbstractClientConnectoraddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.event.Action.ShortcutNotifieraddShortcutListener, removeShortcutListenerMethods inherited from interface com.vaadin.server.ClientConnectoraddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerMethods inherited from interface com.vaadin.ui.ComponentaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisibleMethods inherited from interface com.vaadin.shared.ConnectorgetConnectorIdMethods inherited from interface com.vaadin.server.SizeablegetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
- 
Constructor Details- 
CmsCopyToClipboardButtonpublic CmsCopyToClipboardButton()Hiding the constructor.
- 
CmsCopyToClipboardButtonConstructor.- Parameters:
- text- the button text
- selector- the selector string to the element to select
 
 
- 
- 
Method Details- 
setSelectorSets the element selector.- Parameters:
- selector- the element selector
 
- 
getState- Overrides:
- getStatein class- com.vaadin.ui.Button
- See Also:
 
 
-