Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EntityEditPanel.InputFocus
java.lang.Object
is.codion.swing.framework.ui.EntityEditPanel.InputFocus
- Enclosing class:
EntityEditPanel
Manages the components that should receive the input focus.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classManages the component that should receive focus after insert has been performed.final classManages the component that should receive focus after an update has been performed.final classManages the component that should receive the initial focus when the panel is activated. -
Method Summary
Modifier and TypeMethodDescriptioninitial()voidRequest focus for the component associated with the given attribute.
-
Method Details
-
request
Request focus for the component associated with the given attribute. If no component is associated with the attribute calling this method has no effect. UsesJComponent.requestFocusInWindow().- Parameters:
attribute- the attribute of the component to select
-
initial
- Returns:
- the initial focus settings
-
afterInsert
- Returns:
- the after insert focus settings
-
afterUpdate
- Returns:
- the after update focus settings
-