| Modifier and Type | Field and Description |
|---|---|
| private static Clipboard | |
| private static final DataFormat | |
| private static final Logger | |
| private static Clipboard | |
| private final StateManager |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | addX11Support(TextInputControl
the TextInputControl (e.g., TextField, TextArea, and children) where adding this functionality. input)Add X11 clipboard support to a text input control. |
| public static String | Returns: any text found on the Clipboard; if none found, return an empty String.Get the String residing on the system clipboard. |
| public static String | Returns: any text found on the primary Clipboard; if none found, try with the system clipboard.Get the String residing on the primary clipboard (if it exists). |
| public static String | |
| public Optional | |
| public static boolean | |
| private String | |
| public void | setContent(ClipboardContent
the ClipboardContent to set as current value of the system clipboard. content)Puts content onto the system clipboard. |
| public void | |
| private void | |
| public void | setContent(TransferMode transferMode, BibDatabaseContext bibDatabaseContext, List<BibEntry> entries, BibEntryTypesManager entryTypesManager, List<BibtexString> stringConstants)
|
| public void | |
| public void | setPrimaryClipboardContent(ClipboardContent
the ClipboardContent to set as current value of the primary clipboard. content)Puts content onto the primary clipboard (if it exists). |
| clipboard | back to summary |
|---|---|
| private static Clipboard clipboard | |
| DATAFORMAT_JABREF_DATA | back to summary |
|---|---|
| private static final DataFormat DATAFORMAT_JABREF_DATA | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| primary | back to summary |
|---|---|
| private static Clipboard primary | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| ClipBoardManager | back to summary |
|---|---|
| public ClipBoardManager(StateManager stateManager) | |
| ClipBoardManager | back to summary |
|---|---|
| public ClipBoardManager(StateManager stateManager, Clipboard clipboard, Clipboard primary) | |
| addX11Support | back to summary |
|---|---|
| public static void addX11Support(TextInputControl input) Add X11 clipboard support to a text input control. It is necessary to call this method in every input where you
want to use it:
| |
| getContents | back to summary |
|---|---|
| public static String getContents() Get the String residing on the system clipboard.
| |
| getContentsPrimary | back to summary |
|---|---|
| public static String getContentsPrimary() Get the String residing on the primary clipboard (if it exists).
| |
| getHtmlContents | back to summary |
|---|---|
| public static String getHtmlContents() | |
| getJabRefClipboardTransferData | back to summary |
|---|---|
| public Optional | |
| hasHtml | back to summary |
|---|---|
| public static boolean hasHtml() | |
| serializeEntries | back to summary |
|---|---|
| private String serializeEntries(List<BibEntry> entries, BibEntryTypesManager entryTypesManager) throws IOException | |
| setContent | back to summary |
|---|---|
| public void setContent(ClipboardContent content) Puts content onto the system clipboard.
| |
| setContent | back to summary |
|---|---|
| public void setContent(String string) | |
| setContent | back to summary |
|---|---|
| private void setContent(String string, @Nullable JabRefClipboardData jabRefClipboardData) | |
| setContent | back to summary |
|---|---|
| public void setContent(TransferMode transferMode, BibDatabaseContext bibDatabaseContext, List<BibEntry> entries, BibEntryTypesManager entryTypesManager, List<BibtexString> stringConstants) throws IOException | |
| setHtmlContent | back to summary |
|---|---|
| public void setHtmlContent(String html, String fallbackPlain) | |
| setPrimaryClipboardContent | back to summary |
|---|---|
| public void setPrimaryClipboardContent(ClipboardContent content) Puts content onto the primary clipboard (if it exists).
| |