Interface CustomMessageHandler

All Known Implementing Classes:
ExampleCustomMessageHandler

public interface CustomMessageHandler
allow user to handle output messages
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Allow user to add own action to all dialog messages and also bypass dialog messages
    Allow user to add own action to all dialog messages and also bypass dialog messages
    boolean
    Allow user to add own action to all dialog messages and also bypass dialog messages
  • Method Details

    • showMessage

      boolean showMessage(Object message)
      Allow user to add own action to all dialog messages and also bypass dialog messages
      Parameters:
      message - the message to be shown
      Returns:
      true if you still want message displayed
    • requestInput

      String requestInput(Object[] args)
      Allow user to add own action to all dialog messages and also bypass dialog messages
      Parameters:
      args - string or component passed in as parameters
      Returns:
      null if you still want input requested and used
    • requestConfirm

      int requestConfirm(Object[] args)
      Allow user to add own action to all dialog messages and also bypass dialog messages
      Parameters:
      args - string or component passed in as parameters
      Returns:
      int value returnd by JOptionPane.showConfirmDialog -1 to popup JPedal menu