apps/toys/Hello/src/main/java/hello/dialog/wizard/Wizard.java
Print this page
*** 22,37 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package hello.dialog.wizard;
import java.util.HashMap;
import java.util.List;
import java.util.Optional;
import java.util.Stack;
- import javafx.scene.control.skin.AccordionSkin;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableMap;
import javafx.event.ActionEvent;
--- 22,37 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package hello.dialog.wizard;
+ import hello.HelloAccordion;
import java.util.HashMap;
import java.util.List;
import java.util.Optional;
import java.util.Stack;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableMap;
import javafx.event.ActionEvent;
*** 398,408 ****
// TODO this should just contain a ControlsFX Form, but for now it is hand-coded
public static class WizardPane extends DialogPane {
public WizardPane() {
// TODO extract to CSS
! setGraphic(new ImageView(new Image(AccordionSkin.class.getResource("modena/dialog-confirm.png").toExternalForm())));
}
// TODO we want to change this to an event-based API eventually
public void onEnteringPage(Wizard wizard) {
--- 398,408 ----
// TODO this should just contain a ControlsFX Form, but for now it is hand-coded
public static class WizardPane extends DialogPane {
public WizardPane() {
// TODO extract to CSS
! setGraphic(new ImageView(new Image(HelloAccordion.class.getResource("dialog/dialog-confirm.png").toExternalForm())));
}
// TODO we want to change this to an event-based API eventually
public void onEnteringPage(Wizard wizard) {