| java.lang.Object com.sun.satsa.pki.MessageDialog
MessageDialog | public class MessageDialog (Code) | | Provides methods for simple messages and requests.
|
chooseItem | public static int chooseItem(SecurityToken token, String title, String label, String[] list) throws InterruptedException(Code) | | Displays dialog that allows user to select one element
from the list.
Parameters: token - security token. Parameters: title - dialog title Parameters: label - list label Parameters: list - elements of the list -1 if user cancelled dialog, index of chosen itemotherwise throws: InterruptedException - if interrupted |
showMessage | public static int showMessage(SecurityToken token, String title, String message, boolean withCancel) throws InterruptedException(Code) | | Displays dialog with informational message or confirmation
request.
Parameters: token - security token. Parameters: title - dialog title Parameters: message - message text Parameters: withCancel - show Cancel button -1 if user cancelled dialog, 1 otherwise throws: InterruptedException - if interrupted |
|
|