mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
Add new UI components including ArrowButtonPanel, ArrowButtonMouseListener, ColorGradientInterpolator, ColorGradientStop, GridSelectionWindow, and related listeners for enhanced functionality
This commit is contained in:
@@ -3,8 +3,8 @@ package com.efiAnalytics.ui;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseListener;
|
||||
|
||||
class fD implements MouseListener {
|
||||
fD(fC paramfC) {}
|
||||
class ArrowButtonMouseListener implements MouseListener {
|
||||
ArrowButtonMouseListener(ArrowButtonPanel paramfC) {}
|
||||
|
||||
public void mouseClicked(MouseEvent paramMouseEvent) {
|
||||
if (paramMouseEvent.getY() > this.a.c && paramMouseEvent.getY() < 2 * this.a.c) {
|
||||
@@ -9,7 +9,7 @@ import java.util.List;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
public class fC extends JPanel {
|
||||
public class ArrowButtonPanel extends JPanel {
|
||||
Polygon a = new Polygon();
|
||||
|
||||
Polygon b = new Polygon();
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.efiAnalytics.ui;
|
||||
|
||||
public interface fa {
|
||||
public interface CellSelectionListener {
|
||||
void a(int paramInt1, int paramInt2);
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.efiAnalytics.ui;
|
||||
import java.awt.Color;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class fA {
|
||||
public class ColorGradientInterpolator {
|
||||
ArrayList a = new ArrayList();
|
||||
|
||||
private Color b = Color.WHITE;
|
||||
@@ -51,8 +51,8 @@ public class fA {
|
||||
return this.b;
|
||||
}
|
||||
|
||||
public static fA a(Color paramColor) {
|
||||
fA fA1 = new fA();
|
||||
public static ColorGradientInterpolator a(Color paramColor) {
|
||||
ColorGradientInterpolator fA1 = new ColorGradientInterpolator();
|
||||
fA1.a(0.0D, paramColor);
|
||||
fA1.a(8.0D, Color.yellow);
|
||||
fA1.a(50.0D, Color.GREEN);
|
||||
@@ -2,12 +2,12 @@ package com.efiAnalytics.ui;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
class fB {
|
||||
class ColorGradientStop {
|
||||
private double b = 0.0D;
|
||||
|
||||
private Color c = null;
|
||||
|
||||
fB(fA paramfA) {}
|
||||
ColorGradientStop(ColorGradientInterpolator paramfA) {}
|
||||
|
||||
public double a() {
|
||||
return this.b;
|
||||
@@ -3,8 +3,8 @@ package com.efiAnalytics.ui;
|
||||
import java.awt.event.WindowEvent;
|
||||
import java.awt.event.WindowFocusListener;
|
||||
|
||||
class fd implements WindowFocusListener {
|
||||
fd(fc paramfc) {}
|
||||
class GridSelectionFocusListener implements WindowFocusListener {
|
||||
GridSelectionFocusListener(GridSelectionWindow paramfc) {}
|
||||
|
||||
public void windowGainedFocus(WindowEvent paramWindowEvent) {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.efiAnalytics.ui;
|
||||
|
||||
class fe implements Runnable {
|
||||
fe(fc paramfc) {}
|
||||
class GridSelectionFocusRunnable implements Runnable {
|
||||
GridSelectionFocusRunnable(GridSelectionWindow paramfc) {}
|
||||
|
||||
public void run() {
|
||||
this.a.requestFocus();
|
||||
@@ -6,7 +6,7 @@ import java.util.ArrayList;
|
||||
import javax.swing.JWindow;
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
public class fc extends JWindow {
|
||||
public class GridSelectionWindow extends JWindow {
|
||||
int a = -1;
|
||||
|
||||
int b = -1;
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.efiAnalytics.ui;
|
||||
|
||||
public interface fb {
|
||||
public interface TableSelectionListener {
|
||||
void a(int paramInt1, int paramInt2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user