### GridView Example Usage Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/GridView.html An example demonstrating how to create and populate a GridView with custom cell factories. ```APIDOC ## GridView Example Usage ### Description This example shows how to initialize a `GridView` and set a custom `cellFactory` to display `ColorGridCell` instances. The majority of the code is for generating random colors to populate the grid. ### Code Example ```java GridView myGrid = new GridView<>(list); myGrid.setCellFactory(new Callback, GridCell>() { @Override public GridCell call(GridView gridView) { return new ColorGridCell(); } }); Random r = new Random(System.currentTimeMillis()); for(int i = 0; i < 500; i++) { list.add(new Color(r.nextDouble(), r.nextDouble(), r.nextDouble(), 1.0)); } ``` ### See Also * `GridCell` ``` -------------------------------- ### Linear Flow Example Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/dialog/Wizard.html Demonstrates how to create and use a simple linear wizard flow. ```APIDOC ## Linear Wizard Flow Example This example shows how to set up a simple, linear wizard flow using `Wizard.LinearFlow`. ### Code Example ```java // Create pages. Here for simplicity we just create an instance of WizardPane. WizardPane page1 = new WizardPane(); WizardPane page2 = new WizardPane(); WizardPane page3 = new WizardPane(); // create wizard Wizard wizard = new Wizard(); // create and assign the flow wizard.setFlow(new LinearFlow(page1, page2, page3)); // show wizard and wait for response wizard.showAndWait().ifPresent(result -> { if (result == ButtonType.FINISH) { System.out.println("Wizard finished, settings: " + wizard.getSettings()); } }); ``` ``` -------------------------------- ### NotificationPane Usage Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/NotificationPane.html This example demonstrates how to create a NotificationPane, wrap it in a Tab, and add it to a TabPane. ```APIDOC ## NotificationPane Usage Example ### Description This example shows how to initialize a NotificationPane with existing content and integrate it into a TabPane. ### Code ```java // Create a WebView WebView webView = new WebView(); // Wrap it inside a NotificationPane NotificationPane notificationPane = new NotificationPane(webView); // and put the NotificationPane inside a Tab Tab tab1 = new Tab("Tab 1"); tab1.setContent(notificationPane); // and the Tab inside a TabPane. We just have one tab here, but of course // you can have more! TabPane tabPane = new TabPane(); tabPane.getTabs().addAll(tab1); ``` ``` -------------------------------- ### HiddenSidesPane Code Sample Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/HiddenSidesPane.html Example of how to create and configure a HiddenSidesPane. ```APIDOC ## Code Sample ```java HiddenSidesPane pane = new HiddenSidesPane(); pane.setContent(new TableView()); pane.setRight(new ListView()); ``` ``` -------------------------------- ### Custom Flow Example Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/dialog/Wizard.html Illustrates how to implement a custom wizard flow for more complex scenarios. ```APIDOC ## Custom Wizard Flow Example This example demonstrates how to create a custom `Wizard.Flow` for complex or branching wizard logic. ### Code Example ```java Wizard.Flow branchingFlow = new Wizard.Flow() { @Override public Optional advance(WizardPane currentPage) { return Optional.of(getNext(currentPage)); } @Override public boolean canAdvance(WizardPane currentPage) { return currentPage != page3; // Assuming page3 is the last page } private WizardPane getNext(WizardPane currentPage) { if ( currentPage == null ) { return page1; // Start with page1 } else if ( currentPage == page1) { // Example of conditional logic for page traversal return page1.skipNextPage()? page3: page2; } else { return page3; } } }; ``` ``` -------------------------------- ### Annotate Method with ActionProxy Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/action/ActionProxy.html Example of applying the ActionProxy annotation to a method. ```java @ActionProxy(text="Action 1.1", graphic=imagePath, accelerator="ctrl+shift+T") private void action11() { System.out.println("Action 1.1 is executed"); } ``` -------------------------------- ### beginChange Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/rectangle/change/Rectangle2DChangeStrategy.html Initiates a rectangle change operation at a given starting point. ```APIDOC ## beginChange ### Description Begins the change at the specified point. ### Method `Rectangle2D beginChange(Point2D point)` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **Rectangle2D** (Rectangle2D) - the new rectangle #### Response Example ```json { "example": "Rectangle2D object" } ``` ``` -------------------------------- ### CheckTreeView Get Check Model Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/CheckTreeView.html Returns the currently installed check model. This object manages the checked states of items in the tree. ```java public final CheckModel> getCheckModel() ``` -------------------------------- ### Initialize and Configure ListActionView Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListActionView.html Demonstrates how to instantiate a ListActionView, populate it with items, and add custom actions with event handlers. ```java ListActionView view = new ListActionView<>(); view.getItems().add("One", "Two", "Three"); view.getActions().add(new ListActionView.ListAction() { { setGraphic(new FontAwesome().create(FontAwesome.Glyph.BOLT)); } @Override public void initialize(ListView listView) { setEventHandler(e -> System.out.println("Action fired!")); } }); view.getActions().add(ActionUtils.ACTION_SEPARATOR); ``` -------------------------------- ### Get ComboBox Lookup Property Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/PrefixSelectionComboBox.html Retrieves the property for custom search criteria. The default criteria searches for the first matching item that starts with the typed selection, case-insensitively. ```java public final ObjectProperty> lookupProperty() ``` -------------------------------- ### Initialize and Configure StatusBar Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/StatusBar.html Demonstrates basic instantiation, adding items to the left side, and setting progress. ```java StatusBar statusBar = new StatusBar(); statusBar.getLeftItems().add(new Button("Info")); statusBar.setProgress(.5); ``` -------------------------------- ### Initialize and Configure TaskProgressView Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/TaskProgressView.html Demonstrates creating a TaskProgressView instance, setting a custom graphic factory for task nodes, and adding a task to the monitor. ```java TaskProgressView view = new TaskProgressView<>(); view.setGraphicFactory(task -> return new ImageView("db-access.png")); view.getTasks().add(new MyTask()); ``` -------------------------------- ### Create and Show a Linear Wizard Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/dialog/Wizard.html Demonstrates the basic setup for a linear wizard. Ensure WizardPane instances are created and a LinearFlow is assigned before showing the wizard. User input is retrieved from the settings map upon completion. ```java WizardPane page1 = new WizardPane(); WizardPane page2 = new WizardPane(); WizardPane page3 = new WizardPane(); // create wizard Wizard wizard = new Wizard(); // create and assign the flow wizard.setFlow(new LinearFlow(page1, page2, page3)); // show wizard and wait for response wizard.showAndWait().ifPresent(result -> { if (result == ButtonType.FINISH) { System.out.println("Wizard finished, settings: " + wizard.getSettings()); } }); ``` -------------------------------- ### Get Length Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/rectangle/Edge2D.html Returns the length of the edge. ```java public double getLength() ``` -------------------------------- ### Initialize and Configure MasterDetailPane Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/MasterDetailPane.html Demonstrates how to create a MasterDetailPane, set its master and detail nodes, and configure its display properties like the side and visibility of the detail pane. ```java MasterDetailPane pane = new MasterDetailPane(); pane.setMasterNode(new TableView()); pane.setDetailNode(new PropertySheet()); pane.setDetailSide(Side.RIGHT); pane.setShowDetailNode(true); ``` -------------------------------- ### GET /validation/warnings Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves warnings from the validation result. ```APIDOC ## GET /validation/warnings ### Description Retrieve warnings represented by validation result. ### Method GET ### Endpoint /validation/warnings ``` -------------------------------- ### ListActionView Initialization and Usage Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListActionView.html Demonstrates how to initialize a ListActionView, add items, and configure actions with event handlers. ```APIDOC ## Code Example ```java ListActionView view = new ListActionView<>(); view.getItems().add("One", "Two", "Three"); view.getActions().add(new ListActionView.ListAction() { { setGraphic(new FontAwesome().create(FontAwesome.Glyph.BOLT)); } @Override public void initialize(ListView listView) { setEventHandler(e -> System.out.println("Action fired!")); } }); view.getActions().add(ActionUtils.ACTION_SEPARATOR); ``` ``` -------------------------------- ### GET /validation/result Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the current validation result. ```APIDOC ## GET /validation/result ### Description Retrieves current validation result. ### Method GET ### Endpoint /validation/result ``` -------------------------------- ### StatusBar Constructor and Basic Usage Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/StatusBar.html Demonstrates how to create a StatusBar instance and add items to its left side, as well as set its progress. ```APIDOC ## StatusBar Constructor and Basic Usage ### Description This section shows how to instantiate a `StatusBar` and perform basic operations like adding controls to the left side and setting the progress. ### Constructor `StatusBar()` - Constructs a new status bar control. ### Methods - `getLeftItems()` - Returns the list of items / nodes that will be shown to the left of the status label. - `setProgress(double progress)` - Sets the value of the `progressProperty()`. ### Request Example ```java StatusBar statusBar = new StatusBar(); statusBar.getLeftItems().add(new Button("Info")); statusBar.setProgress(.5); ``` ``` -------------------------------- ### GET /validation/decorator Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the current validation decorator. ```APIDOC ## GET /validation/decorator ### Description Returns current validation decorator. ### Method GET ### Endpoint /validation/decorator ``` -------------------------------- ### Initialize a GridView with a custom cell factory Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/GridView.html Demonstrates how to instantiate a GridView and set a custom cell factory to render items. The example also shows populating the grid with randomly generated colors. ```java GridView myGrid = new GridView<>(list); myGrid.setCellFactory(new Callback, GridCell>() { public GridCell call(GridView gridView) { return new ColorGridCell(); } }); Random r = new Random(System.currentTimeMillis()); for(int i = 0; i < 500; i++) { list.add(new Color(r.nextDouble(), r.nextDouble(), r.nextDouble(), 1.0)); } ``` -------------------------------- ### Get SelectionMode by Name Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/WorldMapView.SelectionMode.html The signature for the valueOf() method. ```java public static WorldMapView.SelectionMode valueOf​(String name) ``` -------------------------------- ### Get SelectionMode Values Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/WorldMapView.SelectionMode.html The signature for the values() method. ```java public static WorldMapView.SelectionMode[] values() ``` -------------------------------- ### Method: initialize Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListSelectionView.MoveToSource.html Initializes the action with the source and target list views. ```APIDOC ## Method: initialize ### Description Defines properties or bindings for actions which are directly dependent on the provided list views. ### Signature `public void initialize(ListView sourceListView, ListView targetListView)` ### Parameters - **sourceListView** (ListView) - Required - The source list view. - **targetListView** (ListView) - Required - The target list view. ``` -------------------------------- ### Do Begin Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/rectangle/change/ToSouthChangeStrategy.html Initiates the rectangle resizing process at a given point. This is a protected method intended for internal use within the strategy. ```java protected final Rectangle2D doBegin (Point2D point) ``` -------------------------------- ### GET /gridview/vertical-cell-spacing Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the vertical spacing between cells in the GridView. ```APIDOC ## GET /gridview/vertical-cell-spacing ### Description Returns the amount of vertical spacing there is between cells in the same column. ### Method GET ### Endpoint /gridview/vertical-cell-spacing ``` -------------------------------- ### Do Begin Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/rectangle/change/ToWestChangeStrategy.html Begins the change at the specified point. This is a concrete implementation called by beginChange. ```java protected finalRectangle2DdoBegin(Point2Dpoint) ``` -------------------------------- ### GET /autocompletion/suggestion-request/user-text Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the user text for which suggestions are being requested. ```APIDOC ## GET /autocompletion/suggestion-request/user-text ### Description Get the user text to which suggestions shall be found. ### Method GET ### Endpoint /autocompletion/suggestion-request/user-text ``` -------------------------------- ### GET /properties/bean Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves properties from a JavaBean for use in a PropertySheet. ```APIDOC ## GET /properties/bean ### Description Returns a list of PropertySheet.Item instances derived from a JavaBean. ### Method GET ### Endpoint /properties/bean ### Parameters #### Query Parameters - **bean** (Object) - Required - The JavaBean instance to inspect. - **predicate** (Predicate) - Optional - A filter for property descriptors. ``` -------------------------------- ### Wizard Lifecycle and Display Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/dialog/Wizard.html Methods for initializing the wizard and displaying it to the user. ```APIDOC ## POST /wizard/showAndWait ### Description Displays the wizard as a blocking dialog and waits for the user to provide a response. ### Method POST ### Response #### Success Response (200) - **result** (Optional) - The user's input or action result. ``` -------------------------------- ### Initialize InfoOverlaySkin Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/skin/InfoOverlaySkin.html Constructor for creating an instance of InfoOverlaySkin. ```java public InfoOverlaySkin​(InfoOverlay control) ``` -------------------------------- ### Get Validation Decorator Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/validation/ValidationSupport.html Returns the current validation decorator. ```java public ValidationDecoration getValidationDecorator() ``` -------------------------------- ### Get Validation Result Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/validation/ValidationSupport.html Retrieves the current validation result. ```java public ValidationResult getValidationResult() ``` -------------------------------- ### Transifex Main Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/build/transifex/Transifex.html The entry point for the Transifex application. It accepts command-line arguments. ```java public static void main (String[] args) ``` -------------------------------- ### Get Wizard Title Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/dialog/Wizard.html Retrieves the current title of the wizard. ```java public final String getTitle() ``` -------------------------------- ### Create Glyph with Customization Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/glyphfont/GlyphFont.html Demonstrates creating a Glyph instance and chaining customization methods for size and color. This is useful for applying specific styles to icons. ```java Glyph glyph = fontAwesome.create('\uf013').size(28).color(Color.RED); //GEAR ``` -------------------------------- ### Get Column Filter Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/table/FilterPanel.html Retrieves the associated ColumnFilter instance. ```java public ColumnFilter getColumnFilter() ``` -------------------------------- ### Create UI Controls from Actions Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/action/ActionGroup.html This example shows how to create a MenuBar, ToolBar, and ContextMenu from a collection of Actions and ActionGroups using the ActionUtils class. Ensure Action and ActionGroup classes are properly defined. ```java // Firstly, create a list of Actions Collection actions = Arrays.asList( new ActionGroup("Group 1", new DummyAction("Action 1.1"), new DummyAction("Action 2.1") ), new ActionGroup("Group 2", new DummyAction("Action 2.1"), new ActionGroup("Action 2.2", new DummyAction("Action 2.2.1"), new DummyAction("Action 2.2.2")), new DummyAction("Action 2.3") ), new ActionGroup("Group 3", new DummyAction("Action 3.1"), new DummyAction("Action 3.2") ) ); // Use the ActionUtils class to create UI controls from these actions, e.g: MenuBar menuBar = ActionUtils.createMenuBar(actions); ToolBar toolBar = ActionUtils.createToolBar(actions); Label context = new Label("Right-click to see the context menu"); context.setContextMenu(ActionUtils.createContextMenu(actions)); ``` -------------------------------- ### Get Table Filter Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/table/ColumnFilter.html Returns the parent TableFilter instance. ```java public TableFilter getTableFilter() ``` -------------------------------- ### Do Begin Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/rectangle/change/ToEastChangeStrategy.html Begins the change at the specified point. This is a concrete method that should be called by the public beginChange method. ```java protectedfinalRectangle2DdoBegin(Point2Dpoint) ``` -------------------------------- ### Get Table Column Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/table/ColumnFilter.html Returns the TableColumn associated with this filter. ```java public TableColumn getTableColumn() ``` -------------------------------- ### Get Filter Values Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/table/ColumnFilter.html Retrieves the list of filter values. ```java public ObservableList> getFilterValues() ``` -------------------------------- ### Create SuggestionProvider instance Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/autocompletion/SuggestionProvider.html Initializes a new SuggestionProvider using a string converter and a collection of possible suggestions. ```java public static SuggestionProvider create​(Callback stringConverter, Collection possibleSuggestions) ``` -------------------------------- ### Get Search Strategy Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/table/ColumnFilter.html Retrieves the current search implementation. ```java public BiPredicate getSearchStrategy() ``` -------------------------------- ### Access orientation Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SegmentedBar.html Methods to get and set the orientation of the control. ```java public final void setOrientation(Orientation value) ``` ```java public final Orientation getOrientation() ``` -------------------------------- ### NotificationPane Properties Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/NotificationPane.html Methods for getting and setting properties of the NotificationPane. ```APIDOC ## Property Methods ### Description Methods to manage the state and appearance of the NotificationPane. ### Methods - **closeButtonVisibleProperty()** (BooleanProperty) - Represents whether the close button is visible. - **contentProperty()** (ObjectProperty) - Represents the main content. - **graphicProperty()** (ObjectProperty) - Represents the graphic shown in the notification bar. - **textProperty()** (StringProperty) - Represents the text shown in the notification bar. - **showFromTopProperty()** (BooleanProperty) - Determines if the bar appears from the top or bottom. - **showingProperty()** (ReadOnlyBooleanProperty) - Indicates if the bar is currently visible. ``` -------------------------------- ### Create and Initialize NotificationPane Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/NotificationPane.html This snippet shows how to create a WebView, wrap it in a NotificationPane, and place it within a Tab and TabPane. This is the basic setup for using NotificationPane. ```java // Create a WebView WebView webView = new WebView(); // Wrap it inside a NotificationPane NotificationPane notificationPane = new NotificationPane(webView); // and put the NotificationPane inside a Tab Tab tab1 = new Tab("Tab 1"); tab1.setContent(notificationPane); // and the Tab inside a TabPane. We just have one tab here, but of course // you can have more! TabPane tabPane = new TabPane(); tabPane.getTabs().addAll(tab1); ``` -------------------------------- ### ValidationSupport Initialization and Usage Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/validation/ValidationSupport.html Demonstrates how to create a ValidationSupport instance, register validators for different controls, and listen for validation result changes. ```APIDOC ## ValidationSupport Initialization and Usage ### Description Provides validation support for UI components. The idea is to create an instance of this class for a component group, usually a panel. Once created, `Validator`s can be registered for components to provide validation. ### Method `ValidationSupport()` ### Endpoint N/A (Class constructor) ### Request Body N/A ### Request Example ```java ValidationSupport validationSupport = new ValidationSupport(); validationSupport.registerValidator(textField, Validator.createEmptyValidator("Text is required")); validationSupport.registerValidator(combobox, Validator.createEmptyValidator( "ComboBox Selection required")); validationSupport.registerValidator(checkBox, (Control c, Boolean newValue) -> ValidationResult.fromErrorIf( c, "Checkbox should be checked", !newValue) ); ``` ### Response #### Success Response (N/A) N/A #### Response Example ```java validationSupport.validationResultProperty().addListener( (o, oldValue, newValue) -> messageList.getItems().setAll(newValue.getMessages())); ``` ``` -------------------------------- ### Get Location Longitude Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/WorldMapView.Location.html Retrieves the longitude value for this location. ```java public final double getLongitude() ``` -------------------------------- ### Get Location Latitude Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/WorldMapView.Location.html Retrieves the latitude value for this location. ```java public final double getLatitude() ``` -------------------------------- ### void show() Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/skin/CheckComboBoxSkin.html Shows the internal ComboBox component. ```APIDOC ## show() ### Description Shows the internal ComboBox component. ### Method void ### Response - **void** - No return value. ``` -------------------------------- ### Get Center Point Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/rectangle/Edge2D.html Returns the center point of the edge. ```java public Point2D getCenterPoint() ``` -------------------------------- ### Showing and Hiding Notifications Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/NotificationPane.html This example shows how to set the notification text, add actions, and hide the notification bar. ```APIDOC ## Showing and Hiding Notifications ### Description This example demonstrates how to programmatically show a notification with text and actions, and then hide it. ### Code ```java notificationPane.setText("Do you want to save your password?"); notificationPane.getActions().add(new AbstractAction("Save Password") { public void execute(ActionEvent ae) { // do save... // then hide... notificationPane.hide(); } } ``` ### See Also - `Action` ``` -------------------------------- ### Initialize Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListSelectionView.MoveToSource.html Initializes the action with the source and target list views to define bindings or properties. ```java public void initialize​(ListView sourceListView, ListView targetListView) ``` -------------------------------- ### Get Removed Elements Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/collections/NonIterableChange.SimpleAddChange.html Retrieves the list of elements that were removed. ```java public List getRemoved() ``` -------------------------------- ### Initialize Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListSelectionView.ListSelectionAction.html Defines properties or bindings dependent on the source and target list views. ```java public abstract void initialize​(ListView sourceListView, ListView targetListView) ``` -------------------------------- ### GET /wizard/user-data Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the user data object associated with the Wizard. ```APIDOC ## GET /wizard/user-data ### Description Returns a previously set Object property, or null if no such property has been set using the Wizard.setUserData(Object) method. ### Method GET ### Endpoint /wizard/user-data ``` -------------------------------- ### Customize Segment Appearance and Info Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SegmentedBar.html This example demonstrates how to set a custom view factory for segments and an info node factory for displaying detailed descriptions in a popover. It visualizes disk space usage for different media types. ```java typesBar.setSegmentViewFactory(segment -> new TypeSegmentView(segment)); typesBar.setInfoNodeFactory(segment -> new InfoLabel(segment.getText() + " " + segment.getValue() + " GB")); typesBar.getSegments().addAll( new TypeSegment(14, MediaType.PHOTOS), new TypeSegment(32, MediaType.VIDEO), new TypeSegment(9, MediaType.APPS), new TypeSegment(40, MediaType.MUSIC), new TypeSegment(5, MediaType.OTHER), new TypeSegment(35, MediaType.FREE)); ``` -------------------------------- ### GET /controls/orientation Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the orientation property for various UI components. ```APIDOC ## GET /controls/orientation ### Description Returns the orientation (horizontal or vertical) of the specified UI component. ### Method GET ### Endpoint /controls/orientation ### Response #### Success Response (200) - **orientation** (String) - The orientation value (horizontal or vertical). ``` -------------------------------- ### Registering and Retrieving Actions with ActionMap Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/action/ActionMap.html Demonstrates registering an application class with ActionMap and retrieving an action by ID to create a button. ```java public class ActionMapDemo extends Application { public ActionMapDemo() { ActionMap.register(this); Action action11 = ActionMap.action("action11"); Button actionButton = ActionUtils.createButton(action11); } @ActionProxy(text="Action 1.1", graphic="start.png", accelerator="ctrl+shift+T") private void action11() { System.out.println( "Action 1.1 is executed"); } } ``` -------------------------------- ### GET /org.controlsfx.control.GridView/items Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the items list currently used by the GridView. ```APIDOC ## GET /org.controlsfx.control.GridView/items ### Description Returns the currently-in-use items list that is being used by the GridView. ### Method GET ### Response #### Success Response (200) - **items** (ObservableList) - The list of items displayed in the GridView. ``` -------------------------------- ### Begin Change Operation Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/rectangle/change/ToNorthChangeStrategy.html Initiates the resizing process at the specified point. ```java protected final Rectangle2D doBegin​(Point2D point) ``` -------------------------------- ### GET /org.controlsfx.control.RangeSlider/highValue Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the current high value for the RangeSlider component. ```APIDOC ## GET /org.controlsfx.control.RangeSlider/highValue ### Description Returns the current high value for the range slider. ### Method GET ### Response #### Success Response (200) - **value** (double) - The current high value of the slider. ``` -------------------------------- ### MasterDetailPaneSkin Constructor Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/skin/MasterDetailPaneSkin.html Initializes a new instance of the MasterDetailPaneSkin class. ```APIDOC ## MasterDetailPaneSkin Constructor ### Description Initializes a new instance of the MasterDetailPaneSkin class. ### Method Constructor ### Endpoint N/A ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) None #### Response Example None ``` -------------------------------- ### Get Registered Controls Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/validation/ValidationSupport.html Returns the set of currently registered controls. ```java public Set getRegisteredControls() ``` -------------------------------- ### Static Method: customize(ChoiceBox) Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/PrefixSelectionCustomizer.html Installs an event handler on a ChoiceBox to enable prefix selection based on keyboard input. ```APIDOC ## static void customize(ChoiceBox choiceBox) ### Description This method installs an EventHandler that monitors KeyEvent events to enable the "prefix selection" feature. ### Parameters #### Path Parameters - **choiceBox** (ChoiceBox) - Required - The ChoiceBox that should be customized. ``` -------------------------------- ### Get Glyph Icon Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/glyphfont/Glyph.html Retrieves the icon object associated with the glyph. ```java Object getIcon​() ``` -------------------------------- ### SuggestionProvider Create Method Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/autocompletion/SuggestionProvider.html Demonstrates how to create a default SuggestionProvider. ```APIDOC ## SuggestionProvider create ### Description Creates a default suggestion provider based on the toString() method of the generic objects using the provided stringConverter. ### Method `public static SuggestionProvider create(Callback stringConverter, Collection possibleSuggestions)` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **SuggestionProvider** - A new SuggestionProvider instance. #### Response Example None ``` -------------------------------- ### Initialize and style a PopOver Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/PopOver.html Create a new PopOver instance and apply custom stylesheets to its root container. ```java PopOver popOver = new PopOver(); popOver.getRoot().getStylesheets().add(...); ``` -------------------------------- ### Get Glyph Font Size Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/glyphfont/Glyph.html Retrieves the font size of the glyph. ```java double getFontSize​() ``` -------------------------------- ### Configure Skin and Stylesheet Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/PropertySheet.html Internal methods for skin creation and user agent stylesheet retrieval. ```java protected Skin createDefaultSkin() ``` ```java public String getUserAgentStylesheet() ``` -------------------------------- ### Get User Agent Stylesheet Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SegmentedButton.html Retrieves the stylesheet used by the control. ```java public String getUserAgentStylesheet() ``` -------------------------------- ### Access segmentViewFactory Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SegmentedBar.html Methods to get and set the segment view factory. ```java public final Callback getSegmentViewFactory() ``` ```java public final void setSegmentViewFactory(Callback factory) ``` -------------------------------- ### Custom Country View Factory Example Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/WorldMapView.html Demonstrates how to use a custom country view factory to assign individual styles to countries, such as coloring them differently. ```APIDOC ## Example: Country View Factory ### Description The code snippet below shows how a custom country view factory can be used to assign individual styles to all countries. In this example the style is used to color the countries differently. ### Code Example ```java worldMapView.setCountryViewFactory(country -> { CountryView view = new CountryView(country); if (showColorsProperty.get()) { view.getStyleClass().add("country" + ((country.ordinal() % 8) + 1)); } return view; }); ``` ``` -------------------------------- ### Access infoNodeFactory Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SegmentedBar.html Methods to get and set the info node factory. ```java public final Callback getInfoNodeFactory() ``` ```java public void setInfoNodeFactory(Callback factory) ``` -------------------------------- ### Create Default ColorGridCell Instance Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/cell/ColorGridCell.html Instantiates a ColorGridCell with default settings. No specific setup is required beyond having the class available. ```java public ColorGridCell() ``` -------------------------------- ### GET getUserAgentStylesheet Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListActionView.html Retrieves the user agent stylesheet path for the component. ```APIDOC ## GET getUserAgentStylesheet ### Description Retrieves the external form of the user agent stylesheet. ### Method GET ### Endpoint getUserAgentStylesheet(Class clazz, String fileName) ### Parameters #### Query Parameters - **clazz** (Class) - Required - The class used for resource lookup. - **fileName** (String) - Required - The name of the user agent stylesheet. ### Response - **String** - The external form (path) of the user agent stylesheet. ``` -------------------------------- ### Customize Methods Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/PrefixSelectionCustomizer.html Static methods to install event handlers for prefix selection on ComboBox and ChoiceBox controls. ```java public static void customize(ComboBox comboBox) ``` ```java public static void customize(ChoiceBox choiceBox) ``` -------------------------------- ### GET getCellFactory Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListActionView.html Retrieves the current cell factory used by the ListView. ```APIDOC ## GET getCellFactory ### Description Returns the current cell factory configured for the ListView. ### Method GET ### Endpoint getCellFactory() ### Response - **Callback, ListCell>** - The current cell factory. ``` -------------------------------- ### ListSelectionView.MoveToTargetAll.initialize Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListSelectionView.MoveToTargetAll.html Initializes the action by setting up properties or bindings dependent on the source and target list views. ```APIDOC ## void initialize(ListView sourceListView, ListView targetListView) ### Description Can be used to define properties or bindings for actions which are directly dependent on the list views. ### Method INSTANCE METHOD ### Endpoint N/A ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example N/A ### Response #### Success Response (void) This method does not return a value. #### Response Example N/A ``` -------------------------------- ### GET /getArrowWidth Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/BreadCrumbBar.BreadCrumbButton.html Retrieves the width of the arrow component of the breadcrumb button. ```APIDOC ## GET /getArrowWidth ### Description Gets the current width of the crumb arrow. ### Method GET ### Response #### Success Response (200) - **width** (double) - The width of the arrow. ``` -------------------------------- ### RangeSlider Instantiation and Configuration Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/RangeSlider.html Demonstrates how to instantiate a RangeSlider with different orientations and configure its appearance and behavior. ```APIDOC ## RangeSlider Instantiation and Configuration ### Description This section shows how to create and configure a RangeSlider, including setting its orientation, tick marks, and labels. ### Method Constructor and setter methods ### Endpoint N/A (Client-side component) ### Parameters #### Constructor Parameters - **min** (double) - Required - The minimum legal value for the thumbs. - **max** (double) - Required - The maximum legal value for the thumbs. - **lowValue** (double) - Required - The current position of the low value thumb. - **highValue** (double) - Required - The current position of the high value thumb. #### Setter Methods - **setOrientation(Orientation.VERTICAL)** - Sets the slider to a vertical orientation. - **setShowTickMarks(true)** - Displays tick marks on the slider. - **setShowTickLabels(true)** - Displays labels for the tick marks. - **setBlockIncrement(10)** - Sets the amount by which the slider adjusts when the track is clicked. ### Request Example ```java // Horizontal RangeSlider final RangeSlider hSlider = new RangeSlider(0, 100, 10, 90); hSlider.setShowTickMarks(true); hSlider.setShowTickLabels(true); hSlider.setBlockIncrement(10); // Vertical RangeSlider final RangeSlider vSlider = new RangeSlider(0, 200, 30, 150); vSlider.setOrientation(Orientation.VERTICAL); ``` ### Response N/A (Client-side component) ``` -------------------------------- ### SearchableComboBox Constructors Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SearchableComboBox.html Provides details on how to initialize a SearchableComboBox instance. ```APIDOC ## SearchableComboBox Constructors ### Description Details on the available constructors for the SearchableComboBox. ### Constructor Detail #### SearchableComboBox ```java public SearchableComboBox() ``` #### SearchableComboBox ```java public SearchableComboBox(ObservableList items) ``` ``` -------------------------------- ### ReadOnlyUnbackedObservableList Constructor Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/collections/ReadOnlyUnbackedObservableList.html Default constructor for ReadOnlyUnbackedObservableList. No specific setup is required. ```java public ReadOnlyUnbackedObservableList() ``` -------------------------------- ### GET /controls/progress Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the progress value from components like MaskerPane or StatusBar. ```APIDOC ## GET /controls/progress ### Description Gets the current progress value of the component. ### Method GET ### Endpoint /controls/progress ### Response #### Success Response (200) - **progress** (double) - The current progress value. ``` -------------------------------- ### SnapshotView Constructors Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SnapshotView.html Provides information on how to instantiate a SnapshotView object. ```APIDOC ## SnapshotView Constructors ### Description Constructors for creating a new SnapshotView instance. ### SnapshotView() Creates a new SnapshotView. ### SnapshotView(Node node) Creates a new SnapshotView using the specified node. ``` -------------------------------- ### GET /org.controlsfx.validation.ValidationSupport/highestMessage Source: https://controlsfx.github.io/javadoc/11.0.3/index-all.html Retrieves the highest severity validation message for a specific control. ```APIDOC ## GET /org.controlsfx.validation.ValidationSupport/highestMessage ### Description Returns optional highest severity message for a control. ### Method GET ### Parameters #### Query Parameters - **control** (Control) - Required - The control to check for validation messages. ### Response #### Success Response (200) - **message** (ValidationMessage) - The highest severity message found. ``` -------------------------------- ### Glyph Usage Examples Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/glyphfont/Glyph.html Demonstrates how to use the Glyph class in JavaFX code, including FXML and programmatic instantiation. ```APIDOC ## Glyph Usage Examples ### Programmatic Instantiation ```java // Using character unicode Button button1 = new Button("", new Glyph("FontAwesome", "\uf000")); // Using FontAwesome enum Button button2 = new Button("", new Glyph("FontAwesome", FontAwesome.Glyph.BEER)); ``` ### FXML Usage ```xml ``` ### Fluent API Examples ```java // Setting color and hover effect Glyph glyph = new Glyph("FontAwesome", "BEER") .color(javafx.scene.paint.Color.RED) .useHoverEffect(); ``` ``` -------------------------------- ### Get Highest Message Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/validation/ValidationSupport.html Returns the highest severity message for a specific control. ```java public Optional getHighestMessage​(Control target) ``` -------------------------------- ### Initialize SuggestionProvider Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/autocompletion/SuggestionProvider.html Constructor for the SuggestionProvider class. ```java public SuggestionProvider() ``` -------------------------------- ### Initialize and Populate ListSelectionView Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListSelectionView.html Instantiates a ListSelectionView and adds initial items to both source and target lists. Ensure the ListSelectionView class is imported. ```java ListSelectionView view = new ListSelectionView<>(); view.getSourceItems().add("One", "Two", "Three"); view.getTargetItems().add("Four", "Five"); ``` -------------------------------- ### Get Selection Border Width Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/SnapshotView.html Retrieves the current width of the selection border. ```java public final double getSelectionBorderWidth() ``` -------------------------------- ### StatusBar Constructor and Methods Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/StatusBar.html Details of the StatusBar constructor and its primary methods. ```APIDOC ## StatusBar Constructor and Methods ### Constructor Detail #### StatusBar ```java public StatusBar() ``` Constructs a new status bar control. ### Method Detail #### createDefaultSkin ```java protected Skin createDefaultSkin() ``` Overrides: `createDefaultSkin` in class `Control` #### getUserAgentStylesheet ```java public String getUserAgentStylesheet() ``` Overrides: `getUserAgentStylesheet` in class `Region` #### textProperty ```java public final StringProperty textProperty() ``` The property used for storing the text message shown by the status bar. See Also: `getText()`, `setText(String)` #### setText ```java public final void setText​(String text) ``` Sets the value of the `textProperty()`. Parameters: `text` - the text shown by the label control inside the status bar #### getText ```java public final String getText() ``` Returns the value of the `textProperty()`. Returns: the text currently shown by the status bar #### graphicProperty ```java public final ObjectProperty graphicProperty() ``` ``` -------------------------------- ### ListActionView Get Items Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/ListActionView.html Retrieves the observable list of items displayed in the ListActionView. ```java public final ObservableList getItems() ``` -------------------------------- ### configureButton Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/action/ActionUtils.html Binds an Action to a ButtonBase component. ```APIDOC ## configureButton ### Description Takes the provided Action and binds the relevant properties to the supplied Button. This allows for the use of Actions within custom Button subclasses. ### Parameters - **action** (Action) - Required - The Action that the Button should bind to. - **button** (ButtonBase) - Required - The ButtonBase that the Action should be bound to. - **textBehavior** (ActionUtils.ActionTextBehavior) - Optional - Defines ActionUtils.ActionTextBehavior. ### Response - **Returns** (ButtonBase) - The ButtonBase that was bound to the Action. ``` -------------------------------- ### Control Title Management Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/CheckComboBox.html Methods for getting and setting the title property of the control. ```APIDOC ## GET /title ### Description Retrieves the title set for this control, if it has been set explicitly by the client. ### Method GET ### Response - **title** (String) - The title if it has been set, null otherwise ## POST /title ### Description Sets the title to use for this control. ### Parameters #### Request Body - **value** (String) - Required - The string to use as title ## GET /titleProperty ### Description Returns the StringProperty representing the title to use for this control. ``` -------------------------------- ### configureAction Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/action/DefaultActionFactory.html Configures the newly-created action before it is returned to ActionMap. ```APIDOC ## configureAction ### Description Configures the newly-created action before it is returned to ActionMap. Subclasses can override this method to change configuration behavior. ### Parameters - **annotation** (ActionProxy) - Required - The annotation specified on the method. - **action** (AnnotatedAction) - Required - The newly-created action. ``` -------------------------------- ### Get User Agent Stylesheet Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/InfoOverlay.html Retrieves the user agent stylesheet path. ```java public String getUserAgentStylesheet() ``` ```java protected final String getUserAgentStylesheet​(Class clazz, String fileName) ``` -------------------------------- ### ListSelectionViewSkin Constructor Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/skin/ListSelectionViewSkin.html Initializes a new instance of the ListSelectionViewSkin class. ```APIDOC ## ListSelectionViewSkin Constructor ### Description Initializes a new instance of the ListSelectionViewSkin class. ### Method `public ListSelectionViewSkin(ListSelectionView view)` ### Endpoint N/A (Constructor) ### Parameters - **view** (ListSelectionView) - Required - The ListSelectionView to associate with this skin. ``` -------------------------------- ### Get text value Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/InfoOverlay.html Returns the current text string displayed over the content. ```java public final String getText() ``` -------------------------------- ### Get Checked Indices Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/IndexedCheckModel.html Returns a read-only list of currently checked indices. ```java ObservableList getCheckedIndices() ``` -------------------------------- ### Create a Basic Notification Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/Notifications.html Initializes and displays a standard warning notification using the fluent builder pattern. ```java Notifications.create() .title("Title Text") .text("Hello World 0!") .showWarning(); ``` -------------------------------- ### GET /GridRowSkin/getCellAtIndex Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/skin/GridRowSkin.html Retrieves a specific GridCell element from the GridRowSkin at the provided index. ```APIDOC ## GET /GridRowSkin/getCellAtIndex ### Description Returns a cell element at a desired index within the GridRowSkin. ### Parameters #### Query Parameters - **index** (int) - Required - The index of the wanted cell element. ### Response #### Success Response (200) - **GridCell** - The cell element if it exists, otherwise null. ``` -------------------------------- ### Manage showAllIfEmpty State Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/autocompletion/SuggestionProvider.html Methods to get and set the showAllIfEmpty property value. ```java public final boolean isShowAllIfEmpty() ``` ```java public final void setShowAllIfEmpty​(boolean showAllIfEmpty) ``` -------------------------------- ### Static Method: customize(ComboBox) Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/impl/org/controlsfx/tools/PrefixSelectionCustomizer.html Installs an event handler on a non-editable ComboBox to enable prefix selection based on keyboard input. ```APIDOC ## static void customize(ComboBox comboBox) ### Description This method installs an EventHandler that monitors KeyEvent events to enable the "prefix selection" feature. The handler is only installed if the ComboBox is not editable. ### Parameters #### Path Parameters - **comboBox** (ComboBox) - Required - The ComboBox that should be customized. ``` -------------------------------- ### Construct an ActionGroup Source: https://controlsfx.github.io/javadoc/11.0.3/org.controlsfx.controls/org/controlsfx/control/action/ActionGroup.html Initializes a new ActionGroup with a display text, an icon, and a collection of child actions. ```java public ActionGroup(String text, Node icon, Collection actions) ```