mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
- Introduced NumericTextField class with focus and key listeners for enhanced user input handling. - Created NumericTextFieldFocusAdapter and NumericTextFieldKeyAdapter for focus and key event management. - Implemented RequiredFuelCalculatorPropertyStore for managing fuel calculation properties. - Added SettingCalibrationField and associated action listener for calibration settings. - Developed Table2DEditorPanel for 2D table editing functionality, including output channel subscription. - Introduced Table2DLabelTranslator and Table2DOutputChannelSubscriber for label translation and output channel management. - Added Table2DPropertyStore for property storage related to 2D tables. - Implemented TuningMenuBar and TuningMenuBuilder for dynamic menu creation based on tuning parameters. - Created TuningPopupMenu for context-sensitive actions in the tuning interface. - Established interfaces for text change notifications and listeners to facilitate communication between components.
62 lines
1.2 KiB
Java
62 lines
1.2 KiB
Java
package bt;
|
|
|
|
import G.R;
|
|
import G.be;
|
|
import G.cq;
|
|
import G.cu;
|
|
import V.a;
|
|
import bH.D;
|
|
import com.efiAnalytics.ui.w;
|
|
|
|
class H implements cq, bP {
|
|
double a = Double.NaN;
|
|
|
|
w b;
|
|
|
|
private p e = null;
|
|
|
|
R c;
|
|
|
|
be d;
|
|
|
|
public H(R paramR, be parambe, w paramw) {
|
|
this.c = paramR;
|
|
this.d = parambe;
|
|
this.b = paramw;
|
|
}
|
|
|
|
public void setCurrentOutputChannelValue(String paramString, double paramDouble) {
|
|
if (paramString.equals(this.b.g().w())) {
|
|
this.a = paramDouble;
|
|
} else if (paramString.equals(this.b.g().v()) && this.a != Double.NaN) {
|
|
try {
|
|
this.b.h().a(paramDouble + "", this.a + "");
|
|
if (this.e != null)
|
|
this.e.a(paramDouble, this.a);
|
|
} catch (Exception exception) {}
|
|
}
|
|
}
|
|
|
|
public void a() {
|
|
try {
|
|
cu.a().a(this.c.c(), this.d.f(), this);
|
|
cu.a().a(this.c.c(), this.d.d(), this);
|
|
} catch (a a) {
|
|
D.a("Unable to subscribe x or y axis for hightlights.", (Exception)a, this);
|
|
}
|
|
}
|
|
|
|
public void b() {
|
|
cu.a().a(this);
|
|
}
|
|
|
|
public void a(p paramp) {
|
|
this.e = paramp;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/bt/H.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |