bibliothek.gui.dock.control.focus
Interface FocusStrategyRequest


public interface FocusStrategyRequest

A question that is asked to a FocusStrategy.

Author:
Benjamin Sigg

Method Summary
 boolean excluded(Component component)
          Tells whether component should be excluded from receiving the focus.
 Dockable getDockable()
          Gets the item which is about to gain the focus
 Component getMouseClicked()
          Gets the Component which was touched by the mouse.
 

Method Detail

getDockable

Dockable getDockable()
Gets the item which is about to gain the focus

Returns:
the item that gains the focus, not null

getMouseClicked

Component getMouseClicked()
Gets the Component which was touched by the mouse.

Returns:
the clicked component, can be null

excluded

boolean excluded(Component component)
Tells whether component should be excluded from receiving the focus.

Parameters:
component - some Component which may receive the focus
Returns:
true if component should not gain the focus