| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final ContextMenu | |
| private boolean | |
| private boolean | |
| private Runnable | pasteActionHandler
Variable that contains user-defined behavior for paste action. |
| private boolean | |
| private double |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computePrefHeight(double width)
Overrides javafx. Wraps at the last laid-out width (or the hint before the first layout) instead of reporting a horizontal content bias: a biased child makes the enclosing grid measure every row at a width, which lets sibling editors such as the tags field wrap at their preferred width and briefly show too tall — a visible jump on every entry switch. |
| public void | |
| 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 location, ResourceBundle resources)
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 | setGrowWithContent(double widthHint, int collapsedRows)
Sizes the area to its wrapped text (one row when empty, growing as text is typed) instead of the fixed preferred row count. |
| public void | setPasteActionHandler(@NonNull Runnable
an instance of PasteActionHandler that describes paste behavior handler)Set pasteActionHandler variable to passed handler |
| private void |
| collapsedRows | back to summary |
|---|---|
| private int collapsedRows | |
| contextMenu | back to summary |
|---|---|
| private final ContextMenu contextMenu | |
| expanded | back to summary |
|---|---|
| private boolean expanded | |
| growWithContent | back to summary |
|---|---|
| private boolean growWithContent | |
| pasteActionHandler | back to summary |
|---|---|
| private Runnable pasteActionHandler Variable that contains user-defined behavior for paste action. | |
| resetPending | back to summary |
|---|---|
| private boolean resetPending | |
| widthHint | back to summary |
|---|---|
| private double widthHint | |
| EditorTextArea | back to summary |
|---|---|
| public EditorTextArea() | |
| EditorTextArea | back to summary |
|---|---|
| public EditorTextArea(final String text) | |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width) Overrides javafx. Wraps at the last laid-out width (or the hint before the first layout) instead of reporting a horizontal content bias: a biased child makes the enclosing grid measure every row at a width, which lets sibling editors such as the tags field wrap at their preferred width and briefly show too tall — a visible jump on every entry switch.
| |
| expand | back to summary |
|---|---|
| public void expand() Shows the complete text instead of the collapsed | |
| 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
| |
| setGrowWithContent | back to summary |
|---|---|
| public void setGrowWithContent(double widthHint, int collapsedRows) Sizes the area to its wrapped text (one row when empty, growing as text is typed) instead
of the fixed preferred row count. Intended for natural-height lists that scroll as a whole.
| |
| setPasteActionHandler | back to summary |
|---|---|
| public void setPasteActionHandler(@NonNull Runnable handler) Set pasteActionHandler variable to passed handler | |
| showBeginningWhileCollapsed | back to summary |
|---|---|
| private void showBeginningWhileCollapsed() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | handle(KeyEvent event)
Implements javafx. Invoked when a specific event of the type for which this handler is registered happens. |
| FieldTraversalEventHandler | back to summary |
|---|---|
| private FieldTraversalEventHandler() | |
| handle | back to summary |
|---|---|
| public void handle(KeyEvent event) Implements javafx. Doc from javafx. Invoked when a specific event of the type for which this handler is registered happens.
| |