@ Override public void setName ( final String name ) { this . name = name ; if ( name == null ) { return ; } for ( final Widget w : getChildren ( ) ) { if ( w instanceof HasName ) { ( ( HasName ) w ) . setName ( name ) ; } } }
Convenience method that will set the name of all child widgets that can have a name