方法介绍:A component will not be able to actually take focus in any of the following situations: the component is not focusable (isFocusable() returns false); or the component is not focusable in touch mode (isTouchFocusable() returns false); or the component is invisible, disabled, or has not acquired space for drawing.