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

49 lines
1.4 KiB
Java

package com.efiAnalytics.ui;
import java.awt.Component;
import java.awt.KeyEventDispatcher;
import java.awt.event.KeyEvent;
class DialogKeyEventDispatcher implements KeyEventDispatcher {
Component a = null;
DialogKeyEventDispatcher(dF paramdF, Component paramComponent) {
this.a = paramComponent;
}
public boolean dispatchKeyEvent(KeyEvent paramKeyEvent) {
if (!b(paramKeyEvent))
return false;
if (paramKeyEvent.getID() == 401)
switch (paramKeyEvent.getKeyCode()) {
case 27:
if (!a(paramKeyEvent)) {
this.b.k();
this.b.close();
return true;
}
break;
}
return false;
}
private boolean a(KeyEvent paramKeyEvent) {
return (paramKeyEvent.getSource() instanceof do && ((Component)paramKeyEvent.getSource()).getParent() instanceof BinTableView);
}
private boolean b(KeyEvent paramKeyEvent) {
for (Component component = paramKeyEvent.getComponent(); component != null; component = component.getParent()) {
if (component.equals(this.a))
return true;
if (component instanceof java.awt.Window)
return false;
}
return false;
}
}
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/dH.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/