public class DefaultCFocusHistory extends java.lang.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
CDockable s, the most recent focused dockable
is at the beginning of the array. |
public CDockable[] getHistory()
CFocusHistory
CDockable
s, the most recent focused dockable
is at the beginning of the array.getHistory
in interface CFocusHistory
CDockable
public CDockable getFirst(Filter<CDockable> filter)
CFocusHistory
CDockable
matching filter
. This method first searches
through the history
, and afterwards visits all CDockable
s that
were not in the history.getFirst
in interface CFocusHistory
filter
- the filter applied to all CDockable
sfilter