isFocused

public boolean isFocused()(source)

Test if this element is focused.

Return

true if this is focused directly, and has no focused child