mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
- Implement WizardCancelActionListener to handle cancellation actions. - Create WizardDialog for managing dialog windows with window listener. - Add WizardDialogCallback for handling dialog callbacks. - Introduce WizardNextActionListener for handling next actions in the wizard. - Develop WizardPanel to manage the wizard's layout and navigation. - Implement WizardRunnable to run wizard actions in a separate thread. - Define WizardStepCallback interface for step callbacks in the wizard. - Create YAxisSelectorLayoutRunnable for managing layout updates. - Add YAxisSelectorPanel for selecting Y-axis options in the UI. - Remove unused interfaces and classes (cP, cT, co, cx, dx, eR, eU, ev).
40 lines
1.3 KiB
Java
40 lines
1.3 KiB
Java
package com.efiAnalytics.ui;
|
|
|
|
import java.beans.PropertyChangeEvent;
|
|
import java.beans.PropertyChangeListener;
|
|
import java.io.File;
|
|
import javax.swing.JFileChooser;
|
|
import javax.swing.JPanel;
|
|
|
|
public abstract class FileChooserPreviewPanel extends JPanel implements PropertyChangeListener {
|
|
public abstract void a(File paramFile);
|
|
|
|
public abstract void b(File paramFile);
|
|
|
|
public void propertyChange(PropertyChangeEvent paramPropertyChangeEvent) {
|
|
String str = paramPropertyChangeEvent.getPropertyName();
|
|
JFileChooser jFileChooser = (JFileChooser)paramPropertyChangeEvent.getSource();
|
|
if (!"directoryChanged".equals(str) && "SelectedFileChangedProperty".equals(str))
|
|
if (paramPropertyChangeEvent.getNewValue() != null) {
|
|
File file = new File(paramPropertyChangeEvent.getNewValue().toString());
|
|
if (file.isDirectory()) {
|
|
b(file);
|
|
} else {
|
|
a(file);
|
|
}
|
|
} else if (paramPropertyChangeEvent.getOldValue() != null) {
|
|
File file = new File(paramPropertyChangeEvent.getOldValue().toString());
|
|
if (file.isDirectory()) {
|
|
b(null);
|
|
} else {
|
|
a(null);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/ck.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |