mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 21:55:12 +00:00
- 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).
51 lines
1.3 KiB
Java
51 lines
1.3 KiB
Java
package com.efiAnalytics.ui;
|
|
|
|
import java.awt.Color;
|
|
import java.awt.Dimension;
|
|
import java.awt.Graphics;
|
|
import java.awt.Polygon;
|
|
import javax.swing.JButton;
|
|
|
|
class ArrowButton extends JButton {
|
|
Dimension a = new Dimension(14, 8);
|
|
|
|
int b = 1;
|
|
|
|
ez(ew paramew, int paramInt) {
|
|
this.b = paramInt;
|
|
}
|
|
|
|
public void paint(Graphics paramGraphics) {
|
|
super.paint(paramGraphics);
|
|
if (isEnabled()) {
|
|
paramGraphics.setColor(Color.BLACK);
|
|
} else {
|
|
paramGraphics.setColor(Color.GRAY);
|
|
}
|
|
Polygon polygon = new Polygon();
|
|
if (this.b == 1) {
|
|
polygon.addPoint(getWidth() / 2, getHeight() / 3);
|
|
polygon.addPoint(getWidth() * 2 / 3, getHeight() * 2 / 3);
|
|
polygon.addPoint(getWidth() / 3, getHeight() * 2 / 3);
|
|
} else {
|
|
polygon.addPoint(getWidth() / 2, getHeight() * 2 / 3);
|
|
polygon.addPoint(getWidth() * 2 / 3, getHeight() / 3);
|
|
polygon.addPoint(getWidth() / 3, getHeight() / 3);
|
|
}
|
|
paramGraphics.fillPolygon(polygon);
|
|
}
|
|
|
|
public Dimension getPreferredSize() {
|
|
return this.a;
|
|
}
|
|
|
|
public Dimension getMinimumSize() {
|
|
return this.a;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/ez.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |