Class ExampleCustomMessageHandler

  • All Implemented Interfaces:
    org.jpedal.external.CustomMessageHandler

    public class ExampleCustomMessageHandler
    extends Object
    implements org.jpedal.external.CustomMessageHandler
    • Constructor Detail

      • ExampleCustomMessageHandler

        public ExampleCustomMessageHandler()
    • Method Detail

      • showMessage

        public boolean showMessage​(Object message)
        Description copied from interface: org.jpedal.external.CustomMessageHandler
        Allow user to add own action to all dialog messages and also bypass dialog messages
        Specified by:
        showMessage in interface org.jpedal.external.CustomMessageHandler
        Returns:
        true if you still want message displayed
      • requestInput

        public String requestInput​(Object[] args)
        input request and parameters passed in
        Specified by:
        requestInput in interface org.jpedal.external.CustomMessageHandler
        Parameters:
        args -
        Returns:
        null will call input - otherwise will use non-null value
      • requestConfirm

        public int requestConfirm​(Object[] args)
        Allow user to add own action to all dialog messages and also bypass dialog messages
        Specified by:
        requestConfirm in interface org.jpedal.external.CustomMessageHandler
        Parameters:
        args -
        Returns:
        int value returnd by JOptionPane.showConfirmDialog