Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EditorComponents.DetailEditorComponents
java.lang.Object
is.codion.swing.framework.ui.EditorComponents.DetailEditorComponents
- Enclosing class:
EditorComponents
Manages detail
EditorComponents.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionget(ForeignKey foreignKey) voidremove(ForeignKey foreignKey) Removes the detail components associated with the given foreign key from thisEditorComponentsinstance.voidRemoves the detail components associated with the given name from thisEditorComponentsinstance.
-
Method Details
-
get
- Parameters:
foreignKey- the foreign key- Returns:
- a detail
EditorComponentsinstance based on the given foreign key - Throws:
IllegalStateException- if no detail editor is registered for the foreign key, or if multiple detail editors are registered for it (useget(String)with an explicit name in that case)- See Also:
-
get
- Parameters:
name- the detail editor name- Returns:
- a detail
EditorComponentsinstance based on the given name - Throws:
IllegalStateException- in case no detail editor has been set for the given name- See Also:
-
remove
Removes the detail components associated with the given foreign key from thisEditorComponentsinstance.- Parameters:
foreignKey- the foreign key- Throws:
IllegalStateException- if no detail components are associated with the given foreign key, or if multiple detail components are associated with it (useremove(String)with an explicit name in that case)- See Also:
-
remove
Removes the detail components associated with the given name from thisEditorComponentsinstance.- Parameters:
name- the name- Throws:
IllegalStateException- in case no detail components are associated with the given name- See Also:
-