mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-26 06:35:10 +00:00
- Introduced TuningViewWindow for managing tuning view windows. - Implemented BurnButtonActionListener to handle burn button actions. - Created BurnButtonDelayThread to manage delay in burn actions. - Added BurnButtonInitializer for initializing burn button components. - Developed BurnButtonMouseAdapter to manage mouse interactions on burn buttons. - Implemented BurnButtonStateListener to manage burn button state changes. - Created CrossHairActionListener for handling crosshair actions. - Added CrossHairChannelListener to manage channel value updates. - Developed CrossHairPopupListener for managing crosshair popup actions. - Implemented SettingsPanelPopupListener for handling settings panel popups. - Created SettingsPanelSelectionListener for managing selection changes in settings. - Added TablePropertiesHandler for managing table properties. - Introduced CrcCheckActionListener for CRC check actions. - Implemented TimeSlipApplyListener for applying time slip settings. - Created TimeSlipCancelListener for canceling time slip actions. - Developed TimeSlipDialog for managing time slip dialog interactions. - Added TimeSlipFieldFocusListener to manage focus events on time slip fields. - Implemented TimeSlipPanel for displaying and managing time slip data. - Created CylPressureSenderThread for sending cylinder pressure data. - Developed MultiCylPressureSenderThread for managing multiple cylinder pressure data transmissions.
86 lines
1.8 KiB
Java
86 lines
1.8 KiB
Java
package com.efiAnalytics.dialogs;
|
|
|
|
import bH.J;
|
|
import bH.ab;
|
|
import bu.a;
|
|
import com.efiAnalytics.ui.a;
|
|
import java.awt.BorderLayout;
|
|
import java.awt.Dialog;
|
|
import java.awt.FlowLayout;
|
|
import java.awt.Window;
|
|
import java.util.ArrayList;
|
|
import javax.swing.JButton;
|
|
import javax.swing.JDialog;
|
|
import javax.swing.JPanel;
|
|
|
|
public class TimeSlipDialog extends JDialog {
|
|
e a;
|
|
|
|
ab b = null;
|
|
|
|
ArrayList c = new ArrayList();
|
|
|
|
public b(Window paramWindow, String paramString, ab paramab) {
|
|
super(paramWindow, paramString, Dialog.ModalityType.MODELESS);
|
|
this.a = new e(paramString, paramab);
|
|
this.b = paramab;
|
|
setLayout(new BorderLayout());
|
|
add(this.a, "Center");
|
|
JPanel jPanel = new JPanel();
|
|
jPanel.setLayout(new FlowLayout(2));
|
|
JButton jButton1 = new JButton(a("Apply"));
|
|
jButton1.addActionListener(new c(this));
|
|
JButton jButton2 = new JButton(a("Cancel"));
|
|
jButton2.addActionListener(new d(this));
|
|
if (J.a()) {
|
|
jPanel.add(jButton1);
|
|
jPanel.add(jButton2);
|
|
} else {
|
|
jPanel.add(jButton2);
|
|
jPanel.add(jButton1);
|
|
}
|
|
add(jPanel, "South");
|
|
}
|
|
|
|
public void a(a parama) {
|
|
this.a.a(parama);
|
|
}
|
|
|
|
public a a() {
|
|
return this.a.b();
|
|
}
|
|
|
|
public String b() {
|
|
return this.a.a();
|
|
}
|
|
|
|
private void c() {
|
|
for (a a : this.c) {
|
|
if (!a.a())
|
|
return;
|
|
}
|
|
dispose();
|
|
}
|
|
|
|
private void d() {
|
|
for (a a : this.c)
|
|
a.b();
|
|
dispose();
|
|
}
|
|
|
|
public void a(a parama) {
|
|
this.c.add(parama);
|
|
}
|
|
|
|
private String a(String paramString) {
|
|
if (this.b != null)
|
|
paramString = this.b.a(paramString);
|
|
return paramString;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/dialogs/b.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |