@JsModule(value="./fc-xterm/clipboard-feature.js") @Tag(value="fc-xterm-clipboard") public class XTermClipboard extends XTermFeature
| Modifier and Type | Class and Description |
|---|---|
static class |
XTermClipboard.UseSystemClipboard |
| Constructor and Description |
|---|
XTermClipboard() |
| Modifier and Type | Method and Description |
|---|---|
XTermClipboard.UseSystemClipboard |
getUseSystemClipboard()
Return whether copy and paste actions use the system clipboard
|
boolean |
isCopySelection()
Return whether text is copied to the clipboard when selected.
|
boolean |
isPasteWithMiddleClick()
Return whether mouse middle click is handled as a paste action
|
boolean |
isPasteWithRightClick()
Return whether mouse right click is handled as a paste action
|
void |
setCopySelection(boolean value)
Automatically copy to the clipboard the select text.
|
void |
setPasteWithMiddleClick(boolean value)
Handle mouse middle click as a paste action
|
void |
setPasteWithRightClick(boolean value)
Handle mouse right click as a paste action
|
void |
setUseSystemClipboard(XTermClipboard.UseSystemClipboard value)
Configure the clipboard to write (and optionally read from) the system clipboard
|
getTerminaladdListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisiblepublic void setUseSystemClipboard(XTermClipboard.UseSystemClipboard value)
public void setPasteWithRightClick(boolean value)
public void setPasteWithMiddleClick(boolean value)
public void setCopySelection(boolean value)
public XTermClipboard.UseSystemClipboard getUseSystemClipboard()
public boolean isPasteWithRightClick()
public boolean isPasteWithMiddleClick()
public boolean isCopySelection()
Copyright © 2020 Flowing Code. All rights reserved.