Package org.jpedal.external
Interface CustomMessageHandler
- All Known Implementing Classes:
ExampleCustomMessageHandler
public interface CustomMessageHandler
allow user to handle output messages
-
Method Summary
Modifier and TypeMethodDescriptionint
requestConfirm
(Object[] args) Allow user to add own action to all dialog messages and also bypass dialog messagesrequestInput
(Object[] args) Allow user to add own action to all dialog messages and also bypass dialog messagesboolean
showMessage
(Object message) Allow user to add own action to all dialog messages and also bypass dialog messages
-
Method Details
-
showMessage
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
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
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
-