public void setEnabled(boolean enabled) {

        close();
        m_enabled = enabled;
        getElement().setPropertyBoolean("disabled", !enabled);
        m_openClose.setEnabled(enabled);
        if (enabled) {
            removeStyleName(CSS.selectBoxDisabled());
        } else {
            addStyleName(CSS.selectBoxDisabled());
        }
    }
public void setEnabled ( boolean enabled ) { close ( ) ; m_enabled = enabled ; getElement ( ) . setPropertyBoolean ( "disabled" , ! enabled ) ; m_openClose . setEnabled ( enabled ) ; if ( enabled ) { removeStyleName ( CSS . selectBoxDisabled ( ) ) ; } else { addStyleName ( CSS . selectBoxDisabled ( ) ) ; } }
@see org.opencms.gwt.client.ui.input.I_CmsFormWidget#setEnabled(boolean)