Interface IFocusable

All Known Implementing Classes:
ModelEditorController, SearchPaneController, ViewModelEdge, ViewModelLint, ViewModelProjectResource, ViewModelVertex

public interface IFocusable
Interface for classes that can steal focus
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFocusListener(Runnable focusEventHandler)
    Add an event listener for when the focus is stolen
    void
    Steal the focus
  • Method Details

    • addFocusListener

      void addFocusListener(Runnable focusEventHandler)
      Add an event listener for when the focus is stolen
      Parameters:
      focusEventHandler - the handler to call
    • focus

      void focus()
      Steal the focus