Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EntityEditComponentPanel.InputFocus.AfterInsert
java.lang.Object
is.codion.swing.framework.ui.EntityEditComponentPanel.InputFocus.AfterInsert
- Enclosing class:
- EntityEditComponentPanel.InputFocus
Manages the component that should receive focus after insert has been performed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
request()
Request focus after an insert operationvoid
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 theSupplier
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.
-
Method Details
-
set
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
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
Sets theSupplier
supplying the component that should receive the focus after an insert has been performed. Takes precedence over the one set viaset(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
-