public void addLabel(Label label){
  assertNotNull(label);
  labels.add(label);
  label.setParent(this);
}

public void addLabel ( Label label ) { assertNotNull ( label ) ; labels . add ( label ) ; label . setParent ( this ) ; }
adds a label and sets its parent to this node .
