|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FocusHistory
This interface tells the order in which the Dockable
s got the focus.
Method Summary | |
---|---|
Dockable |
getFirst(Filter<Dockable> filter)
Traverses the history in reverse and returns the first Dockable matching filter . |
Dockable[] |
getHistory()
Gets an array containing all known Dockable s which may have had the focus. |
Dockable |
getNewestOn(DockStation... parents)
Searches the one Dockable that had the focus lately, and that is a child of one
of parent . |
Method Detail |
---|
Dockable[] getHistory()
Dockable
s which may have had the focus. The first element in the array
did not have the focus for the longest time, while the last element in the array is the element that
may have the focus right now.Dockable
s that were never focused, these items will always be at the beginning of
the array.
Dockable getNewestOn(DockStation... parents)
Dockable
that had the focus lately, and that is a child of one
of parent
.
parents
- the stations whose child is searched
Dockable
that had the focus and which is a child of one of the parents, or
null
if no such Dockable
can be foundDockable getFirst(Filter<Dockable> filter)
history
in reverse and returns the first Dockable
matching filter
.
filter
- the filter to apply, not null
Dockable
having focus and matching filter
, or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |