The state of an entity that is able to respond to input from the user. If an entity has the keyboard focus, it can receive events when the user presses a key. If a drawn view has the drawing focus, it can respond to routines that affect drawing.