Package bibliothek.gui.dock.common
Class DefaultCFocusHistory
java.lang.Object
bibliothek.gui.dock.common.DefaultCFocusHistory
- All Implemented Interfaces:
CFocusHistory
The default implementation of
CFocusHistory does not offer any additional
functionality.- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultCFocusHistory
Creates a new history- Parameters:
control- the source of allCDockables
-
-
Method Details
-
getHistory
Description copied from interface:CFocusHistoryGets the entire history of focusedCDockables, the most recent focused dockable is at the beginning of the array.- Specified by:
getHistoryin interfaceCFocusHistory- Returns:
- the history starting with the most recently focused
CDockable
-
getFirst
Description copied from interface:CFocusHistoryGets the firstCDockablematchingfilter. This method first searches throughthe history, and afterwards visits allCDockables that were not in the history.- Specified by:
getFirstin interfaceCFocusHistory- Parameters:
filter- the filter applied to allCDockables- Returns:
- the first dockable matching
filter
-