Trace: • Work With Checkboxes
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 [2018/02/02 12:27] admin |
jvx:client:gui:checkbox [2020/06/26 11:53] (current) cduncan |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTRANS~~ | ~~NOTRANS~~ | ||
| - | ~~Title: Work with Checkboxes~~ | + | ~~Title: Work With Checkboxes~~ |
| - | If you need native Checkboxes which 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. |
| - | But be aware that such native checkboxes only have 2 states and 2 values (selected or unselected, e.g. Y or N). You can't set a custom value for null/empty. 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. |
| == 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> | ||
