1 21 22 package com.izforge.izpack.util; 23 24 31 32 public interface AbstractUIHandler 33 { 34 35 43 public void emitNotification(String message); 44 45 52 public boolean emitWarning(String title, String message); 53 54 60 public void emitError(String title, String message); 61 62 public static final int ANSWER_CANCEL = 45; 65 66 public static final int ANSWER_YES = 47; 67 68 public static final int ANSWER_NO = 49; 69 70 public static final int CHOICES_YES_NO = 37; 72 73 public static final int CHOICES_YES_NO_CANCEL = 38; 74 75 84 public int askQuestion(String title, String question, int choices); 85 86 96 public int askQuestion(String title, String question, int choices, int default_choice); 97 98 } 99 | Popular Tags |