|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2009-2010 jMonkeyEngine
|
|
|
|
|
|
+ * Copyright (c) 2009-2018 jMonkeyEngine
|
|
* All rights reserved.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -49,6 +49,7 @@ public class SkyboxWizardPanel1 implements WizardDescriptor.Panel {
|
|
// is kept separate. This can be more efficient: if the wizard is created
|
|
// is kept separate. This can be more efficient: if the wizard is created
|
|
// but never displayed, or not all panels are displayed, it is better to
|
|
// but never displayed, or not all panels are displayed, it is better to
|
|
// create only those which really need to be visible.
|
|
// create only those which really need to be visible.
|
|
|
|
+ @Override
|
|
public Component getComponent() {
|
|
public Component getComponent() {
|
|
if (component == null) {
|
|
if (component == null) {
|
|
component = new SkyboxVisualPanel1();
|
|
component = new SkyboxVisualPanel1();
|
|
@@ -56,6 +57,7 @@ public class SkyboxWizardPanel1 implements WizardDescriptor.Panel {
|
|
return component;
|
|
return component;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
public HelpCtx getHelp() {
|
|
public HelpCtx getHelp() {
|
|
// Show no Help button for this panel:
|
|
// Show no Help button for this panel:
|
|
return HelpCtx.DEFAULT_HELP;
|
|
return HelpCtx.DEFAULT_HELP;
|
|
@@ -63,6 +65,7 @@ public class SkyboxWizardPanel1 implements WizardDescriptor.Panel {
|
|
// return new HelpCtx(SampleWizardPanel1.class);
|
|
// return new HelpCtx(SampleWizardPanel1.class);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
public boolean isValid() {
|
|
public boolean isValid() {
|
|
// If it is always OK to press Next or Finish, then:
|
|
// If it is always OK to press Next or Finish, then:
|
|
return true;
|
|
return true;
|
|
@@ -73,9 +76,11 @@ public class SkyboxWizardPanel1 implements WizardDescriptor.Panel {
|
|
// and uncomment the complicated stuff below.
|
|
// and uncomment the complicated stuff below.
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
public final void addChangeListener(ChangeListener l) {
|
|
public final void addChangeListener(ChangeListener l) {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
public final void removeChangeListener(ChangeListener l) {
|
|
public final void removeChangeListener(ChangeListener l) {
|
|
}
|
|
}
|
|
/*
|
|
/*
|
|
@@ -106,9 +111,11 @@ public class SkyboxWizardPanel1 implements WizardDescriptor.Panel {
|
|
// settings object will be the WizardDescriptor, so you can use
|
|
// settings object will be the WizardDescriptor, so you can use
|
|
// WizardDescriptor.getProperty & putProperty to store information entered
|
|
// WizardDescriptor.getProperty & putProperty to store information entered
|
|
// by the user.
|
|
// by the user.
|
|
|
|
+ @Override
|
|
public void readSettings(Object settings) {
|
|
public void readSettings(Object settings) {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
public void storeSettings(Object settings) {
|
|
public void storeSettings(Object settings) {
|
|
WizardDescriptor wiz = (WizardDescriptor) settings;
|
|
WizardDescriptor wiz = (WizardDescriptor) settings;
|
|
SkyboxVisualPanel1 comp = (SkyboxVisualPanel1) getComponent();
|
|
SkyboxVisualPanel1 comp = (SkyboxVisualPanel1) getComponent();
|