| Modifier and Type | Class and Description |
|---|---|
| public static interface | EditorTextArea.
Interface presents user-described paste behaviour applying to paste method |
| Modifier and Type | Field and Description |
|---|---|
| private final ContextMenu | |
| private EditorTextArea. | pasteActionHandler
Variable that contains user-defined behavior for paste action. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | initContextMenu(final Supplier<List<MenuItem>> items, KeyBindingRepository keyBindingRepository)
Implements org. Adds the given list of menu items to the context menu. |
| public void | initialize(URL
The location used to resolve relative paths for the root object, or
location, ResourceBundle null if the location is not known.The resources used to localize the root object, or resources)null if
the root object was not localized.Implements javafx. Called to initialize a controller after its root element has been completely processed. |
| public void | paste()
Overrides javafx. Override javafx TextArea method applying TextArea.paste() and pasteActionHandler after |
| public void | setPasteActionHandler(EditorTextArea.
an instance of PasteActionHandler that describes paste behavior handlerSet pasteActionHandler variable to passed handler |
| contextMenu | back to summary |
|---|---|
| private final ContextMenu contextMenu | |
| pasteActionHandler | back to summary |
|---|---|
| private EditorTextArea. Variable that contains user-defined behavior for paste action. | |
| EditorTextArea | back to summary |
|---|---|
| public EditorTextArea() | |
| EditorTextArea | back to summary |
|---|---|
| public EditorTextArea(final String text) | |
| initContextMenu | back to summary |
|---|---|
| public void initContextMenu(final Supplier<List<MenuItem>> items, KeyBindingRepository keyBindingRepository) Implements org. Doc from org. Adds the given list of menu items to the context menu. The usage of
| |
| initialize | back to summary |
|---|---|
| public void initialize(URL location, ResourceBundle resources) Implements javafx. Doc from javafx. Called to initialize a controller after its root element has been completely processed.
| |
| paste | back to summary |
|---|---|
| public void paste() Overrides javafx. Override javafx TextArea method applying TextArea.paste() and pasteActionHandler after
| |
| setPasteActionHandler | back to summary |
|---|---|
| public void setPasteActionHandler(EditorTextArea. Set pasteActionHandler variable to passed handler
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| handle | back to summary |
|---|---|
| public void handle() | |