Files
tustu/app/com/efiAnalytics/ui/ButtonCellEditorRenderer.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

97 lines
2.3 KiB
Java

package com.efiAnalytics.ui;
import java.awt.Component;
import java.util.ArrayList;
import java.util.EventObject;
import java.util.List;
import javax.swing.AbstractCellEditor;
import javax.swing.JButton;
import javax.swing.JTable;
import javax.swing.event.CellEditorListener;
import javax.swing.table.TableCellEditor;
import javax.swing.table.TableCellRenderer;
public class ButtonCellEditorRenderer extends AbstractCellEditor implements TableCellEditor, TableCellRenderer {
private int a;
private int c;
List b = new ArrayList();
private final JButton d = new JButton();
public eV() {
this.d.addActionListener(new eW(this));
}
public void a(eX parameX) {
this.b.add(parameX);
}
public Component getTableCellRendererComponent(JTable paramJTable, Object paramObject, boolean paramBoolean1, boolean paramBoolean2, int paramInt1, int paramInt2) {
this.a = paramInt1;
this.c = paramInt2;
return c();
}
public Component getTableCellEditorComponent(JTable paramJTable, Object paramObject, boolean paramBoolean, int paramInt1, int paramInt2) {
this.a = paramInt1;
this.c = paramInt2;
return c();
}
public String a() {
return this.d.getActionCommand();
}
public void a(String paramString) {
this.d.setActionCommand(paramString);
}
public String b() {
return this.d.getText();
}
public void b(String paramString) {
this.d.setText(paramString);
}
public void a(boolean paramBoolean) {
this.d.setEnabled(paramBoolean);
}
public void addCellEditorListener(CellEditorListener paramCellEditorListener) {}
public void cancelCellEditing() {
fireEditingCanceled();
}
public Object getCellEditorValue() {
return c().getText();
}
public boolean isCellEditable(EventObject paramEventObject) {
return true;
}
public void removeCellEditorListener(CellEditorListener paramCellEditorListener) {}
public boolean shouldSelectCell(EventObject paramEventObject) {
return true;
}
public boolean stopCellEditing() {
fireEditingStopped();
return true;
}
public JButton c() {
return this.d;
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/eV.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/