public static void addListener(Listener listener){
  listeners.addLast(listener);
}

public static void addListener ( Listener listener ) { listeners . addLast ( listener ) ; }
adds a listener of attribute events .
