Class EntityEditComponentPanel.InputFocus.AfterInsert

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

public final class EntityEditComponentPanel.InputFocus.AfterInsert extends Object
Manages the component that should receive focus after insert has been performed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Request focus after an insert operation
    void
    set(Attribute<?> attribute)
    Sets the component associated with the given attribute as the component that should receive the focus after an insert is performed in this edit panel.
    void
    set(Supplier<JComponent> component)
    Sets the Supplier supplying the component that should receive the focus after an insert has been performed.
    void
    set(JComponent component)
    Sets the component that should receive the focus after an insert has been performed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • set

      public void set(JComponent component)
      Sets the component that should receive the focus after an insert has been performed.
      Parameters:
      component - the component that should receive the focus after an insert has been performed
    • set

      public void set(Attribute<?> attribute)
      Sets the component associated with the given attribute as the component that should receive the focus after an insert is performed in this edit panel.
      Parameters:
      attribute - the attribute which component should receive the focus after an insert has been performed
    • set

      public void set(Supplier<JComponent> component)
      Sets the Supplier supplying the component that should receive the focus after an insert has been performed. Takes precedence over the one set via set(Attribute)
      Parameters:
      component - supplies the component that should receive the focus after an insert has been performed
    • request

      public void request()
      Request focus after an insert operation