| | |
| | | |
| | | import org.opends.quicksetup.CurrentInstallStatus; |
| | | import org.opends.quicksetup.Step; |
| | | import org.opends.quicksetup.event.ButtonActionListener; |
| | | import org.opends.quicksetup.installer.FieldName; |
| | | import org.opends.quicksetup.installer.InstallProgressDescriptor; |
| | | import org.opends.quicksetup.installer.UserInstallData; |
| | |
| | | } |
| | | |
| | | /** |
| | | * Adds a button listener. All the button listeners will be notified when |
| | | * the buttons are clicked (by the user or programatically). |
| | | * @param l the ButtonActionListener to be added. |
| | | */ |
| | | public void addButtonActionListener(ButtonActionListener l) |
| | | { |
| | | for (Step s : hmPanels.keySet()) |
| | | { |
| | | getPanel(s).addButtonActionListener(l); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * Removes a button listener. |
| | | * @param l the ButtonActionListener to be removed. |
| | | */ |
| | | public void removeButtonActionListener(ButtonActionListener l) |
| | | { |
| | | for (Step s : hmPanels.keySet()) |
| | | { |
| | | getPanel(s).removeButtonActionListener(l); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * Displays the panel corresponding to the provided step. The panel contents |
| | | * are updated with the contents of the UserInstallData object. |
| | | * @param step the step that we want to display. |