mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 21:55:12 +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).
42 lines
1.0 KiB
Java
42 lines
1.0 KiB
Java
package com.efiAnalytics.tuningwidgets.panels;
|
|
|
|
import bH.X;
|
|
import com.efiAnalytics.ui.do;
|
|
|
|
class InjectorFlowUnitField extends do {
|
|
boolean a = false;
|
|
|
|
InjectorFlowUnitField(RequiredFuelCalculatorDialog paraman) {}
|
|
|
|
public void a() {
|
|
if (!this.a) {
|
|
String str = getText();
|
|
try {
|
|
if (str.trim().length() > 0) {
|
|
double d = Double.parseDouble(str);
|
|
setText("" + (int)Math.round(d * 10.5D));
|
|
}
|
|
} catch (NumberFormatException numberFormatException) {}
|
|
this.a = true;
|
|
}
|
|
}
|
|
|
|
public void b() {
|
|
if (this.a) {
|
|
String str = getText();
|
|
try {
|
|
if (str.trim().length() > 0) {
|
|
double d = Double.parseDouble(str);
|
|
setText(X.b(d / 10.5D, 1));
|
|
}
|
|
} catch (NumberFormatException numberFormatException) {}
|
|
this.a = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/tuningwidgets/panels/av.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |