Class EntityEditComponentPanel.InputFocus

java.lang.Object
is.codion.swing.framework.ui.EntityEditComponentPanel.InputFocus
Enclosing class:
EntityEditComponentPanel

public static final class EntityEditComponentPanel.InputFocus extends Object
Manages the components that should receive the input focus.
  • Method Details

    • request

      public void request(Attribute<?> attribute)
      Request focus for the component associated with the given attribute. If no component is associated with the attribute calling this method has no effect. Uses JComponent.requestFocusInWindow().
      Parameters:
      attribute - the attribute of the component to select
    • transferOnEnter

      public State transferOnEnter()
      If set to true then components created subsequently will transfer focus on enter, otherwise not. Note that changing this has no effect on components that have already been created.
      Returns:
      the State controlling whether components transfer focus on enter
    • initial

      Returns:
      the initial focus settings
    • afterInsert

      Returns:
      the after insert focus settings
    • afterUpdate

      Returns:
      the after update focus settings