コード例 #1
0
 @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();
 }
コード例 #2
0
 @Override
 public void elementAdded(ListEvent<EquipmentFacade> e) {
   updateSpellBooks((Equipment) e.getElement());
 }