code: public void setGhostStyleEnabled(boolean enabled) {
  
          if (enabled) {
              m_textbox.addStyleName(CSS.textboxGhostMode());
          } else {
              m_textbox.removeStyleName(CSS.textboxGhostMode());
          }
      }
docs: Enables or disables the "ghost mode" style.<p>
  
  This *only* changes the style, not the actual mode.
  
  @param enabled <code>true</code> if the ghost mode style should be enabled, false if it should be disabled