Interface EntityEditPanel.Confirmer

Enclosing class:
EntityEditPanel

public static interface EntityEditPanel.Confirmer
Handles displaying confirmation messages for common actions to the user.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A convenience instance indicating no confirmation is needed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    confirm(JComponent dialogOwner)
    Returns true if the action is confirmed, presents an confirmation dialog to the user if required.
    default boolean
    confirm(JComponent dialogOwner, String message, String title)
    Shows a confirmation dialog
  • Field Details

  • Method Details

    • confirm

      boolean confirm(JComponent dialogOwner)
      Returns true if the action is confirmed, presents an confirmation dialog to the user if required.
      Parameters:
      dialogOwner - the owner for the dialog
      Returns:
      true if the action is confirmed
    • confirm

      default boolean confirm(JComponent dialogOwner, String message, String title)
      Shows a confirmation dialog
      Parameters:
      dialogOwner - the dialog owner
      message - the dialog message
      title - the dialog title
      Returns:
      true if the action is confirmed