- All Known Implementing Classes:
EntityEditorInspector,EntityTableModelInspector
public interface UiInspector
Provides a description of the application state behind a UI component, as a structure of plain values
(maps, lists, scalars), for tooling and automation. Implementations are located using a
ServiceLoader,
so consumers depend only on this interface and not on any particular application framework.
Must be called on the event dispatch thread, since it reads UI and model state.
-
Method Summary
-
Method Details
-
state
- Parameters:
focusOwner- the component to inspect, typically the current focus owner- Returns:
- a description of the state behind the given component, or an empty
Optionalif this inspector does not apply to it
-
instances
- Returns:
- the available
UiInspectorinstances, located using aServiceLoader
-