Trace:
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
jvx:client:gui:checkbox [2020/06/08 14:39] cduncan |
jvx:client:gui:checkbox [2020/06/26 11:53] (current) cduncan |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ~~Title: Work With Checkboxes~~ | ~~Title: Work With Checkboxes~~ | ||
| - | If you need native Checkboxes that are automatically bound to your model, instead of fake [[jvx:client:gui:checkbox|"ChoiceCellEditor checkboxes"]], you can use UICheckBoxCellEditor. | + | If you need native checkboxes that are automatically bound to your model, instead of fake [[jvx:client:gui:checkbox|"ChoiceCellEditor checkboxes"]], you can use UICheckBoxCellEditor. |
| - | However, be aware that such native checkboxes only have two states and two values (selected or unselected, e.g. Y or N). You can't set a custom value for null/empty, but this would be possible with UIChoiceCellEditor. | + | However, be aware that such native checkboxes only have two states and two values (selected or unselected, e.g., Y or N). You can't set a custom value for null/empty, but this would be possible with UIChoiceCellEditor. |
| The advantage of native checkboxes is that they will fit your look and feel, but this would be also possible with custom images and choice cell editors. | The advantage of native checkboxes is that they will fit your look and feel, but this would be also possible with custom images and choice cell editors. | ||
| Line 10: | Line 10: | ||
| == Usage == | == Usage == | ||
| - | The syntax is similar to [[jvx:client:gui:checkbox|ChoiceCellEditors]], e.g. | + | The syntax is similar to [[jvx:client:gui:checkbox|ChoiceCellEditors]], e.g.: |
| <file java> | <file java> | ||
