public void setDesignMode(boolean designMode) {
        this.designMode = designMode;
        
        for (ElementBase child : children) {
            child.setDesignMode(designMode);
        }
        
        updateState();
    }
public void setDesignMode ( boolean designMode ) { this . designMode = designMode ; for ( ElementBase child : children ) { child . setDesignMode ( designMode ) ; } updateState ( ) ; }
Sets design mode status for this component and all its children.

@param designMode The design mode flag.