Class EntityEditorInspector

java.lang.Object
is.codion.swing.framework.ui.inspect.EntityEditorInspector
All Implemented Interfaces:
UiInspector

public final class EntityEditorInspector extends Object implements UiInspector
A UiInspector exposing the state of the EntityEditor behind the focus owner's enclosing EntityPanel — the same state the EditorInspector developer tool shows, projected to a map for tooling. Located via ServiceLoader, so the consumer stays framework-agnostic.
  • Constructor Details

    • EntityEditorInspector

      public EntityEditorInspector()
  • Method Details

    • state

      public Optional<Map<String,Object>> state(Component focusOwner)
      Specified by:
      state in interface UiInspector
      Parameters:
      focusOwner - the component to inspect, typically the current focus owner
      Returns:
      a description of the state behind the given component, or an empty Optional if this inspector does not apply to it