public void changeColumnValueRadix(int i) { if (i == 0) return; TestVector vec = getModel().getVector(); switch (vec.columnRadix[i - 1]) { case 2: vec.columnRadix[i - 1] = 10; break; case 10: vec.columnRadix[i - 1] = 16; break; default: vec.columnRadix[i - 1] = 2; break; } table.modelChanged(); }
public void modelChanged(Model oldModel, Model newModel) { if (oldModel != null) oldModel.removeModelListener(myListener); if (newModel != null) newModel.addModelListener(myListener); table.setModel(newModel == null ? null : this); }
public void localeChanged() { table.modelChanged(); }