Method Summary |
|
public void | addGuiListener(GUIListener listener) Add a listener to the listener list. |
public void | blockGUI() Blocks GUI interaction. |
public void | buildConstraints(GridBagConstraints gbc, int gx, int gy, int gw, int gh, double wx, double wy) Sets the parameters of a GridBagConstraints object. |
public boolean | canShow(int panelnumber) Method checks whether conditions are met to show the given panel. |
public void | centerFrame(Window frame) Centers a window on screen. |
public void | exit() Makes a clean closing. |
public Debugger | getDebugger() |
public List<GUIListener> | getGuiListener() Returns the gui creation listener list. |
public Dimension | getPanelsContainerSize() Returns the panels container size. |
public InputStream | getResource(String res) Gets the stream to a resource.
Parameters: res - The resource id. |
public RulesEngine | getRules() |
public void | install(AbstractUIProgressHandler listener) Launches the installation. |
public boolean | isHeading(IzPanel caller) Returns whether this installer frame uses with the given panel a separated heading panel or
not. |
protected void | loadConditions() Reads the conditions specification file and initializes the rules engine. |
protected void | loadCustomIcons() Loads custom icons into the installer. |
public void | lockNextButton() Locks the 'next' button. |
public void | lockPrevButton() Locks the 'previous' button. |
public void | navigateNext() |
public void | navigateNext(int startPanel) This function searches for the next available panel, the search
begins from given panel+1. |
public void | navigateNext(int startPanel, boolean doValidation) This function searches for the next available panel, the search
begins from given panel+1. |
public void | navigatePrevious() |
public void | navigatePrevious(int endingPanel) This function switches to available panel that is just before given one. |
public void | releaseGUI() Releases GUI interaction. |
public void | setQuitButtonIcon(String iconName) Sets a new icon into the quit button if icons should be used, else nothing will be done. |
public void | setQuitButtonText(String text) Changes the quit button text. |
public void | setRules(RulesEngine rules) |
public void | skipPanel() Allows a panel to ask to be skipped. |
protected void | switchPanel(int last) Switches the current panel. |
public void | unlockNextButton() Unlocks the 'next' button. |
public void | unlockNextButton(boolean requestFocus) Unlocks the 'next' button. |
public void | unlockPrevButton() Unlocks the 'previous' button. |
protected void | wipeAborted() Wipes the written files when you abort the installation. |
public void | writeXMLTree(XMLElement root, OutputStream out) Writes an XML tree. |