Files
tustu/app/com/efiAnalytics/ui/ManagedTabbedPane.java
johndoe6345789 e17cdf49b3 Add wizard UI components and functionality
- 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).
2026-01-11 07:05:02 +00:00

90 lines
2.0 KiB
Java

package com.efiAnalytics.ui;
import c.e;
import java.util.HashMap;
import javax.swing.JTabbedPane;
import javax.swing.SwingUtilities;
public class ManagedTabbedPane extends JTabbedPane {
private HashMap a = new HashMap<>();
public boolean d(String paramString) {
for (byte b = 0; b < getTabCount(); b++) {
if (getTitleAt(b).equals(paramString))
return true;
}
return false;
}
public boolean e(String paramString) {
return (f(paramString) == getSelectedIndex());
}
public int f(String paramString) {
for (byte b = 0; b < getTabCount(); b++) {
if (getTitleAt(b).equals(paramString))
return b;
}
return -1;
}
public boolean g(String paramString) {
for (byte b = 0; b < getTabCount(); b++) {
if (getTitleAt(b).equals(paramString)) {
setSelectedIndex(b);
return true;
}
}
return false;
}
public void a(String paramString, boolean paramBoolean) {
for (byte b = 0; b < getTabCount(); b++) {
if (getTitleAt(b).equals(paramString))
setEnabledAt(b, paramBoolean);
}
}
public void setEnabledAt(int paramInt, boolean paramBoolean) {
if (SwingUtilities.isEventDispatchThread()) {
super.setEnabledAt(paramInt, paramBoolean);
} else {
eL eL = new eL(this, paramInt, paramBoolean);
SwingUtilities.invokeLater(eL);
}
}
public void a(String paramString, e parame) {
i().put(paramString, parame);
}
public void d() {
for (byte b = 0; b < getTabCount(); b++) {
e e = (e)i().get(getTitleAt(b));
if (e != null) {
boolean bool = e.a();
if (isEnabledAt(b) != bool)
setEnabledAt(b, bool);
}
}
}
public HashMap i() {
return this.a;
}
public void j() {
this.a.clear();
}
public void removeAll() {
super.removeAll();
j();
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/eK.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/