Class EntityDialogs

java.lang.Object
is.codion.swing.framework.ui.EntityDialogs

public final class EntityDialogs extends Object
Provides edit and selection dialogs for entities.
  • Constructor Details

    • EntityDialogs

      public EntityDialogs()
  • Method Details

    • editDialog

      public static <T> EntityDialogs.EditDialogBuilder<T> editDialog(is.codion.swing.framework.model.SwingEntityEditModel editModel, is.codion.framework.domain.entity.attribute.Attribute<T> attribute)
      Type Parameters:
      T - the attribute type
      Parameters:
      editModel - the edit model to use
      attribute - the attribute to edit
      Returns:
      a new builder
    • selectionDialog

      public static EntityDialogs.SelectionDialogBuilder selectionDialog(is.codion.swing.framework.model.SwingEntityTableModel tableModel)
      Creates a new EntityDialogs.SelectionDialogBuilder instance for searching for and selecting one or more entities from a table model.
      Parameters:
      tableModel - the table model on which to base the table panel
      Returns:
      a new builder instance