@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 |
|---|---|
boolean |
getCopySelection(boolean value)
Return whether text is copied to the clipboard when selected.
|
boolean |
getPasteWithMiddleClick(boolean value)
Return whether mouse middle click is handled as a paste action
|
boolean |
getPasteWithRightClick()
Return whether mouse right click is handled as a paste action
|
XTermClipboard.UseSystemClipboard |
getUseSystemClipboard()
Return whether copy and paste actions use the system clipboard
|
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 getPasteWithRightClick()
public boolean getPasteWithMiddleClick(boolean value)
public boolean getCopySelection(boolean value)
Copyright © 2020 Flowing Code. All rights reserved.