Interface CFocusHistory

All Known Implementing Classes:
DefaultCFocusHistory

public interface CFocusHistory
Describes which CDockable did have the focus in which order.
Author:
Benjamin Sigg
  • Method Details

    • getHistory

      CDockable[] getHistory()
      Gets the entire history of focused CDockables, the most recent focused dockable is at the beginning of the array.
      Returns:
      the history starting with the most recently focused CDockable
    • getFirst

      CDockable getFirst(Filter<CDockable> filter)
      Gets the first CDockable matching filter. This method first searches through the history, and afterwards visits all CDockables that were not in the history.
      Parameters:
      filter - the filter applied to all CDockables
      Returns:
      the first dockable matching filter