mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-05-06 19:39:42 +00:00
597a90ec58
- Introduced TuningViewWindow for managing tuning view windows. - Implemented BurnButtonActionListener to handle burn button actions. - Created BurnButtonDelayThread to manage delay in burn actions. - Added BurnButtonInitializer for initializing burn button components. - Developed BurnButtonMouseAdapter to manage mouse interactions on burn buttons. - Implemented BurnButtonStateListener to manage burn button state changes. - Created CrossHairActionListener for handling crosshair actions. - Added CrossHairChannelListener to manage channel value updates. - Developed CrossHairPopupListener for managing crosshair popup actions. - Implemented SettingsPanelPopupListener for handling settings panel popups. - Created SettingsPanelSelectionListener for managing selection changes in settings. - Added TablePropertiesHandler for managing table properties. - Introduced CrcCheckActionListener for CRC check actions. - Implemented TimeSlipApplyListener for applying time slip settings. - Created TimeSlipCancelListener for canceling time slip actions. - Developed TimeSlipDialog for managing time slip dialog interactions. - Added TimeSlipFieldFocusListener to manage focus events on time slip fields. - Implemented TimeSlipPanel for displaying and managing time slip data. - Created CylPressureSenderThread for sending cylinder pressure data. - Developed MultiCylPressureSenderThread for managing multiple cylinder pressure data transmissions.
31 lines
817 B
Java
31 lines
817 B
Java
package com.efiAnalytics.apps.ts.tuningViews;
|
|
|
|
import java.awt.Graphics;
|
|
import java.awt.Image;
|
|
import javax.swing.JComponent;
|
|
import javax.swing.UIManager;
|
|
|
|
class PreviewImageComponent extends JComponent {
|
|
private Image b = null;
|
|
|
|
e(b paramb) {}
|
|
|
|
public void paint(Graphics paramGraphics) {
|
|
if (this.b != null) {
|
|
paramGraphics.drawImage(this.b, 0, 0, getWidth(), getHeight(), null);
|
|
} else {
|
|
paramGraphics.setColor(UIManager.getColor("Label.foreground"));
|
|
paramGraphics.drawString("No Image", 10, 20);
|
|
}
|
|
}
|
|
|
|
public void a(Image paramImage) {
|
|
this.b = paramImage;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/apps/ts/tuningViews/e.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |