com.izforge.izpack.installer.automation
Class PanelAutomationHelper

java.lang.Object
  extended by com.izforge.izpack.installer.automation.PanelAutomationHelper
All Implemented Interfaces:
AbstractUIHandler
Direct Known Subclasses:
ConsolePanelAutomationHelper

public abstract class PanelAutomationHelper
extends Object
implements AbstractUIHandler

Abstract class implementing basic functions needed by all panel automation helpers.

Author:
tisc

Field Summary
 
Fields inherited from interface com.izforge.izpack.api.handler.AbstractUIHandler
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO
 
Constructor Summary
PanelAutomationHelper()
           
 
Method Summary
 int askQuestion(String title, String question, int choices)
           
 int askQuestion(String title, String question, int choices, int default_choice)
           
 int askWarningQuestion(String title, String question, int choices, int default_choice)
           
 void emitError(String title, String message)
           
 void emitNotification(String message)
           
 boolean emitWarning(String title, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelAutomationHelper

public PanelAutomationHelper()
Method Detail

emitNotification

public void emitNotification(String message)
Specified by:
emitNotification in interface AbstractUIHandler

emitWarning

public boolean emitWarning(String title,
                           String message)
Specified by:
emitWarning in interface AbstractUIHandler

emitError

public void emitError(String title,
                      String message)
Specified by:
emitError in interface AbstractUIHandler

askQuestion

public int askQuestion(String title,
                       String question,
                       int choices)
Specified by:
askQuestion in interface AbstractUIHandler

askQuestion

public int askQuestion(String title,
                       String question,
                       int choices,
                       int default_choice)
Specified by:
askQuestion in interface AbstractUIHandler

askWarningQuestion

public int askWarningQuestion(String title,
                              String question,
                              int choices,
                              int default_choice)
Specified by:
askWarningQuestion in interface AbstractUIHandler


Copyright © 2018. All rights reserved.