public boolean needsGui ( ) { BeanContextChild bcc = getPeer ( ) ; if ( bcc != this && bcc instanceof Visibility ) { return ( ( Visibility ) bcc ) . needsGui ( ) ; } // check children for ( Object o : _children . keySet ( ) ) { if ( o instanceof Visibility ) { if ( ( ( Visibility ) o ) . needsGui ( ) ) { return true ; } } } return false ; }
Determines whether this bean needs a GUI .