21252126212721282129213021312132213321342135
if (count == 1) { for (Component item : columns.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } else { for (Component item : columns.getItems()) { item.enable();
20252026202720282029203020312032203320342035
261262263264265266267268269270271
if (columnModel.getVisibleColumnCount() == 1) { for (Component item : columnMenu.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } }
21042105210621072108210921102111211221132114
21182119212021212122212321242125212621272128
253254255256257258259260261262263
if (columnModel.getVisibleColumnCount() == 1) { for (Item item : columnMenu.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } }
14781479148014811482148314841485148614871488
if (count == 1) { for (Item item : columns.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } else { for (Item item : columns.getItems()) { item.enable();
259260261262263264265266267268269