Edit control properties and verify controller event handlers in IntelliJ
This commit is contained in:
@@ -39,3 +39,9 @@ Paste targets supported standard Pane children (VBox, HBox, Pane, AnchorPane, St
|
||||
Problems are scoped to open designer documents and current build/draft evidence. Selecting a problem navigates to the affected FXML location. Source underlines follow the same ranges. IntelliJ also exposes Problems entries, native XML annotations and **Alt+Enter** actions. This is not a whole-project background inspection or precise Java-source navigation service.
|
||||
|
||||
Errors block new previews; warnings remain visible and permit preview. Stale diagnostic actions are withdrawn after edits or build changes. Available fixes are deliberately narrow: explicit DirectBinding direction choices, removing a later duplicate Direct/Computed target, and removal of eligible simple invalid Direct/Computed/Repeat declarations. Tables, unknown/nested payloads, warnings and declarations with `fx:id` do not get speculative deletion fixes. No action is auto-selected. Fixes preserve unrelated source and use normal Undo/Redo; see [supported fixes](../source-highlighting-fixes.md).
|
||||
|
||||
### Form properties and controller events
|
||||
|
||||
In **Form controls**, select a control and property. **Set property** writes the FXML attribute. **Reset property** removes it and restores its JavaFX default. The accessible name is inherited from Node. Text fields including AutoCompleteTextField accept a non-negative integer for `prefColumnCount`. Layout results such as `width` are read-only.
|
||||
|
||||
After **Build and Refresh**, select `onAction` on a supported action control, `onDismiss` on ToolBarPane, or `onRemove` on TagChip. Choose a compiled controller method in the list, or enter its `#method` reference and select **Set property**. The target checks accessible no-argument methods and methods accepting ActionEvent or Event, including inherited and FXML-annotated handlers. Without current controller metadata the inspector indicates that a build is needed for method checking. Undo, Redo and Save use the same FXML document as the bindings editor.
|
||||
|
||||
Reference in New Issue
Block a user