@Override public void elementAdded(ListEvent<CharacterLevelFacade> e) { editor.cancelCellEditing(); int i = e.getIndex(); String c = levels.getClassTaken(levels.getElementAt(i)).getKeyName(); finalLevelMap.put(c, i); // Do a full refresh as the previous max class level row may be affected fireTableDataChanged(); }
@Override public void elementAdded(ListEvent<EquipmentFacade> e) { updateSpellBooks((Equipment) e.getElement()); }