whole_func_string: function() {
              if (this.hideClearButtonWhenEmpty && Ext.isEmpty(this.textField.getValue())) {
                  return false;
              }
  
              var clearButtonEl = this.clearButtonEl;
              //noinspection RedundantIfStatementJS
              if (this.hideClearButtonWhenMouseOut
                  && !clearButtonEl.hasCls(this.clearButtonCls + '-mouse-over-button')
                  && !clearButtonEl.hasCls(this.clearButtonCls + '-mouse-over-input')) {
                  return false;
              }
  
              return true;
          }
func_code_string: function() {
              if (this.hideClearButtonWhenEmpty && Ext.isEmpty(this.textField.getValue())) {
                  return false;
              }
  
              var clearButtonEl = this.clearButtonEl;
              //noinspection RedundantIfStatementJS
              if (this.hideClearButtonWhenMouseOut
                  && !clearButtonEl.hasCls(this.clearButtonCls + '-mouse-over-button')
                  && !clearButtonEl.hasCls(this.clearButtonCls + '-mouse-over-input')) {
                  return false;
              }
  
              return true;
          }
func_documentation_string: Checks config options and current mouse status to determine if the clear button should be visible.