Additional top-level class in compilation unit: ClipboardHelper.
TextEditingArea.
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public default void | |
| public SegmentOps | getSegOps()
Redeclares org. Returns the object used for operating over |
| public Optional | |
| public default void | paste()
Inserts the content from the clipboard into this text-editing area, replacing the current selection. |
| public void |
| copy | back to summary |
|---|---|
| public default void copy() Transfers the currently selected text to the clipboard, leaving the current selection. | |
| cut | back to summary |
|---|---|
| public default void cut() Transfers the currently selected text to the clipboard, removing the current selection. | |
| getSegOps | back to summary |
|---|---|
| public SegmentOps Redeclares org. Doc from org. Returns the object used for operating over | |
| getStyleCodecs | back to summary |
|---|---|
| public Optional Gets codecs to encode/decode style information to/from binary format. Providing codecs enables clipboard actions to retain the style information. | |
| paste | back to summary |
|---|---|
| public default void paste() Inserts the content from the clipboard into this text-editing area, replacing the current selection. If there is no selection, the content from the clipboard is inserted at the current caret position. | |
| setStyleCodecs | back to summary |
|---|---|
| public void setStyleCodecs(Codec<PS> paragraphStyleCodec, Codec<StyledSegment<SEG, S>> textStyleCodec) | |