Class EntityConditionInspector

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

public final class EntityConditionInspector extends Object implements UiInspector
A UiInspector exposing the state of the ConditionModel behind the focused condition field — its attribute, whether it is a query condition or a client-side filter, its operator, operands and enabled state. Applies only when focus is within a ColumnConditionPanel, so it complements EntityTableModelInspector, which reports the table's rows and selection for focus elsewhere in the panel. Located via ServiceLoader, so the consumer stays framework-agnostic.
  • Constructor Details

    • EntityConditionInspector

      public EntityConditionInspector()
  • 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