mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +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).
33 lines
1.0 KiB
Java
33 lines
1.0 KiB
Java
package com.efiAnalytics.ui;
|
|
|
|
import java.awt.Component;
|
|
import java.awt.Container;
|
|
import java.awt.Dimension;
|
|
import java.awt.FlowLayout;
|
|
|
|
class CenteredFlowLayout extends FlowLayout {
|
|
fR(fL paramfL) {}
|
|
|
|
public void layoutContainer(Container paramContainer) {
|
|
Component component = paramContainer.getComponent(0);
|
|
if (component != null) {
|
|
Dimension dimension1 = component.getPreferredSize();
|
|
Dimension dimension2 = paramContainer.getSize();
|
|
int i = (dimension2.width - dimension1.width) / 2;
|
|
int j = (dimension2.height - dimension1.height) / 2;
|
|
int k = (dimension2.width > dimension1.width) ? dimension1.width : dimension2.width;
|
|
int m = (dimension2.height > dimension1.height) ? dimension1.height : dimension2.height;
|
|
if (j < 1)
|
|
j = 0;
|
|
if (i < 1)
|
|
i = 0;
|
|
component.setBounds(i, j, k, m);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/fR.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |