mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-05-02 01:25:52 +00:00
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).
This commit is contained in:
58
app/com/efiAnalytics/ui/SpinnerButtonPanel.java
Normal file
58
app/com/efiAnalytics/ui/SpinnerButtonPanel.java
Normal file
@@ -0,0 +1,58 @@
|
||||
package com.efiAnalytics.ui;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.GridLayout;
|
||||
import java.util.ArrayList;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
public class SpinnerButtonPanel extends JPanel {
|
||||
ArrayList a = new ArrayList();
|
||||
|
||||
public ew() {
|
||||
setLayout(new GridLayout(2, 1));
|
||||
ez ez = new ez(this, 1);
|
||||
ez.setFocusable(false);
|
||||
ez.addActionListener(new ex(this));
|
||||
add(ez);
|
||||
ez = new ez(this, 2);
|
||||
ez.setFocusable(false);
|
||||
ez.addActionListener(new ey(this));
|
||||
add(ez);
|
||||
}
|
||||
|
||||
protected void a() {
|
||||
for (cP cP : this.a)
|
||||
cP.l();
|
||||
}
|
||||
|
||||
protected void b() {
|
||||
for (cP cP : this.a)
|
||||
cP.m();
|
||||
}
|
||||
|
||||
public void a(cP paramcP) {
|
||||
this.a.add(paramcP);
|
||||
}
|
||||
|
||||
public void setEnabled(boolean paramBoolean) {
|
||||
Component[] arrayOfComponent = getComponents();
|
||||
for (byte b = 0; b < arrayOfComponent.length; b++)
|
||||
arrayOfComponent[b].setEnabled(paramBoolean);
|
||||
}
|
||||
|
||||
public void setToolTipText(String paramString) {
|
||||
Component[] arrayOfComponent = getComponents();
|
||||
for (byte b = 0; b < arrayOfComponent.length; b++) {
|
||||
if (arrayOfComponent[b] instanceof JComponent)
|
||||
((JComponent)arrayOfComponent[b]).setToolTipText(paramString);
|
||||
}
|
||||
super.setToolTipText(paramString);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/ew.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
Reference in New Issue
Block a user