Files
tustu/app/obfuscated_packages/bt/NumericTextField.java
johndoe6345789 ad67fb1f86 Add new components for numeric text fields and table editing
- 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.
2026-01-11 08:28:37 +00:00

73 lines
1.6 KiB
Java

package bt;
import com.efiAnalytics.ui.do;
import java.awt.Dimension;
import java.util.ArrayList;
import javax.swing.BorderFactory;
public class A extends do {
ArrayList a = new ArrayList();
private int b = 60;
public A() {
this("");
}
public A(String paramString) {
super(paramString);
addFocusListener(new B(this));
addKeyListener(new C(this));
setBorder(BorderFactory.createLoweredBevelBorder());
}
public Dimension getPreferredSize() {
Dimension dimension = super.getPreferredSize();
if (dimension.width < this.b)
dimension.setSize(this.b, dimension.height);
return dimension;
}
public Dimension getMinimumSize() {
Dimension dimension = super.getMinimumSize();
if (dimension.width < this.b)
dimension.setSize(this.b, dimension.height);
return dimension;
}
public void setEnabled(boolean paramBoolean) {
super.setEnabled(paramBoolean);
if (paramBoolean) {
setBorder(BorderFactory.createLoweredBevelBorder());
} else {
setBorder(BorderFactory.createEmptyBorder());
}
}
public double a() {
return f() ? Integer.parseInt(getText(), 16) : Double.parseDouble(getText());
}
public void a(bZ parambZ) {
this.a.add(parambZ);
}
public void b(bZ parambZ) {
this.a.remove(parambZ);
}
private void b() {
for (bZ bZ : this.a)
bZ.b(getText());
}
public void a(int paramInt) {
this.b = paramInt;
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/bt/A.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/