public interface RootFormElementI
This interface provides methods related to the sizing behavior of the root form and allows for explicit control over its initial focus component. A root form element typically represents the top-level container of a form.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
$0 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUseMaximumHeight()
Checks if the root form element should attempt to use the maximum available height.
|
boolean |
isUseMaximumWidth()
Checks if the root form element should attempt to use the maximum available width.
|
void |
setExplicitIFC(javax.swing.JComponent jc)
Sets an explicit initial focus component for this root form element.
|
static final java.lang.String $0
boolean isUseMaximumWidth()
This property influences how the form's layout manager sizes the component, often causing it to expand to fill horizontal space.
true if maximum width should be used, false otherwise.boolean isUseMaximumHeight()
This property influences how the form's layout manager sizes the component, often causing it to expand to fill vertical space.
true if maximum height should be used, false otherwise.void setExplicitIFC(javax.swing.JComponent jc)
When the form is displayed, focus will be directed to this specified
JComponent instead of relying on default focus traversal rules.
This provides fine-grained control over user interaction flow.
jc - The JComponent that should receive initial focus.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.