public class DefaultCFocusHistory extends Object implements CFocusHistory
CFocusHistory does not offer any additional
functionality.| Constructor and Description |
|---|
DefaultCFocusHistory(CControl control)
Creates a new history
|
| Modifier and Type | Method and Description |
|---|---|
CDockable |
getFirst(Filter<CDockable> filter)
Gets the first
CDockable matching filter. |
CDockable[] |
getHistory()
Gets the entire history of focused
CDockables, the most recent focused dockable
is at the beginning of the array. |
public CDockable[] getHistory()
CFocusHistoryCDockables, the most recent focused dockable
is at the beginning of the array.getHistory in interface CFocusHistoryCDockablepublic CDockable getFirst(Filter<CDockable> filter)
CFocusHistoryCDockable matching filter. This method first searches
through the history, and afterwards visits all CDockables that
were not in the history.getFirst in interface CFocusHistoryfilter - the filter applied to all CDockablesfilterCopyright © 2018. All rights reserved.