public void updateData(MapElement mapElement){
  nameLabel.setText(mapElement.getName());
  pinnedCheckBox.setSelected(mapElement.isPinned());
}

public void updateData ( MapElement mapElement ) { nameLabel . setText ( mapElement . getName ( ) ) ; pinnedCheckBox . setSelected ( mapElement . isPinned ( ) ) ; }
map element was renamed
