Questions tagged [controlsfx]

ControlsFX provides additional UI controls for JavaFX to complement the core JavaFX distribution.

ControlsFX is an open source project for JavaFX that aims to provide really high quality UI controls and other tools to complement the core JavaFX distribution.

298 questions
0
votes
1 answer

Observable value in validation controlsfx

I have the following code public ValidationResult notNull(Control control, String content) { boolean condition = content.length() <=0; return ValidationResult.fromMessageIf(control, "Field is empty!", Severity.WARNING, condition); …
ImRaphael
  • 204
  • 3
  • 25
0
votes
1 answer

Disable Next Button in controlsFX WizardPane?

In my JavaFX project, I'm including a controlsFX Wizard using Linear.Flow. For one of my WizardPane's, I would like the Next button's disabled property to be bound to a boolean property. (More specifically, if a TextField is empty, the button should…
user4802956
0
votes
1 answer

How to divide cells instead of spanning the multiple cells in SpreadSheetView?

I would like to divide 1 cell into multiple cells instead of using the row and column spans. Because I want to be able to change the cell content dynamically after I use setGrid() method. Even though I use SpreadsheetCellType.LIST to create cell, it…
Aniki
  • 47
  • 1
  • 8
0
votes
0 answers

Controlsfx - Spreadsheetview reordering + context menu of header (rows + columns)

I was not able to find how on Spreadsheetview set reordering of rows (whole row) or columns (whole column) in same way as it was in TableView. I am sorry I dont have a piece of code, because that what I am looking for. Plus I have another question.…
Noro96
  • 123
  • 11
0
votes
1 answer

How to set the Corner of ControlFx SpreadsheetView

I've looked for a while and can't find a way to set the corner label of the SpreadsheetView by ControlsFX for JavaFx. I would like to put text there as a header for the row…
0
votes
1 answer

ControlsFx - Spreadsheetview - DateCell - keep editing on failure

we use a spreadsheetview with different kind of cell types. In the documentation to SpreadsheetCellEditor we found the following text: The policy regarding validation of a given value is defined in SpreadsheetCellType.match(Object). If the value…
0
votes
1 answer

ControlsFx SpreadsheetView Span

I am using SpreadSheetView of ControlsFX, With that i am able to span rows/columns using the GridBase utility method like below, getGrid().spanColumn(2, row, column); Now, i want to remove this span and revert it to original . How can i do that ?
user3164187
  • 1,382
  • 3
  • 19
  • 50
0
votes
0 answers

How to add Event Listener to detect when a custom GridCell in GridView is selected(clicked) in JavaFX? I am using ControlsFX library

I have a GridView displaying custom GridCell that I have created using FXML. I want this GridCells to be selectable and I need to listen to selection changes. So far, I have tried the solutions provided here How to implement selection of Nodes in…
0
votes
1 answer

Remove connection between checked states of parent and children in ControlsFX CheckTreeView

I'm using CheckTreeView to represent hierachical structure. The current checking behaviour is if I check/uncheck a parent, all of its children will automatically get check/unchecked. If I check/uncheck all the children the parent also gets…
Gnas
  • 698
  • 1
  • 6
  • 14
0
votes
1 answer

How to combine multiple ControlsFX validators for a text field?

I'm trying to validate the following from the text field: 1. It's not empty (has a value) 2. Is a number (not some other character) 3. Is with a certain min and max (range) For this I use an empty validator, a regex validator and a predicate…
0
votes
1 answer

Controlsfx Properties order of items

I've a linkedhashmap that I put into Properties file, and it shows the fields in the menu. I've an others color option and I want it to be seen at the end. So colormap is my linkedhashmap and I put others the end. So when I look inside colormap,…
Jeredriq Demas
  • 616
  • 1
  • 9
  • 36
0
votes
0 answers

Can I add additional info to chart's snapshot in JavaFX

In my code WritableImage image = chart.snapshot(new SnapshotParameters(), null); goes and prints the chart result on the screen. I need to add additional info, like a comment which will have the time in a corner for example. Is there a way to…
Jeredriq Demas
  • 616
  • 1
  • 9
  • 36
0
votes
0 answers

JavaFx: Filter boxes

I am implementing a filtering mechanism in JavaFx like an online shop's filter, so I can filter a table or a list of items by its properties using a filter pane where I have comboboxes/cehckboxes, sliders, etc. After I filter by on criteria, I…
Sunflame
  • 2,993
  • 4
  • 24
  • 48
0
votes
1 answer

Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: javafx/scene/control/ButtonBar

I am new to JavaFx and I learned that I could create notifications using controlsfx . However, after including the package and running the notification code I get a class not found exception and I don't have any idea how to tackle it since I have…
0
votes
1 answer

Filtering TableView with ControlsFx CheckComboBox

I'm currently trying to filter a TableView using CheckComboBox. For reference I'm using the source code from here. The problem is that the value (or property) of the CheckComboBox is an ArrayList unlike the normal ComboBox, so I can't use bindings…
Johnny212
  • 11
  • 8