Example #1
0
 @Override
 public void valueChanged(MapEvent<String, Integer> e) {
   int index = types.indexOf(e.getKey());
   nodeChanged(getChildAt(index));
 }
Example #2
0
 @Override
 public void keyRemoved(MapEvent<String, Integer> e) {
   int index = types.indexOf(e.getKey());
   types.remove(index);
   removeNodeFromParent((MutableTreeNode) getChildAt(index));
 }