mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
- Introduced multiple GaugeColorSetter classes (B to L) for setting gauge colors dynamically. - Implemented GaugePropertiesMenu class to manage gauge properties and settings. - Added action listeners for gauge styles and slider value changes to enhance interactivity. - Created RadioButtonColorSelectionListener and StaticValueActionListener for handling user input. - Ensured compatibility with existing gauge components and UI elements.
68 lines
1.3 KiB
Java
68 lines
1.3 KiB
Java
package L;
|
|
|
|
import G.dj;
|
|
import ax.S;
|
|
import ax.ab;
|
|
import ax.ac;
|
|
|
|
public class AccumulateFunction extends ac implements dj {
|
|
ab a;
|
|
|
|
ab b;
|
|
|
|
ab c = null;
|
|
|
|
double d = Double.NaN;
|
|
|
|
double e = Double.NaN;
|
|
|
|
protected b(ab paramab1, ab paramab2) {
|
|
this.a = paramab2;
|
|
this.b = paramab1;
|
|
}
|
|
|
|
protected b(ab paramab1, ab paramab2, ab paramab3) {
|
|
this.a = paramab2;
|
|
this.b = paramab1;
|
|
this.c = paramab3;
|
|
}
|
|
|
|
public double a(S paramS) {
|
|
double d = this.a.b(paramS);
|
|
if (Double.isNaN(this.e) || this.e != d) {
|
|
if (Double.isNaN(this.d)) {
|
|
if (this.c == null || this.c.b(paramS) == 0.0D) {
|
|
this.d = this.b.b(paramS);
|
|
} else {
|
|
this.d = this.c.b(paramS);
|
|
}
|
|
} else {
|
|
this.d += this.b.b(paramS);
|
|
}
|
|
this.e = d;
|
|
}
|
|
return this.d;
|
|
}
|
|
|
|
public double b(S paramS) {
|
|
return a(paramS);
|
|
}
|
|
|
|
public String toString() {
|
|
return (this.c == null) ? ("accumulate( " + this.b.toString() + " )") : ("accumulate( " + this.b.toString() + ", " + this.c.toString() + " )");
|
|
}
|
|
|
|
public double a() {
|
|
return a(0);
|
|
}
|
|
|
|
public double a(int paramInt) {
|
|
return this.d;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/L/b.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |