mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-24 13:45:00 +00:00
- Implemented RestorePointsExclusionFilter for file filtering. - Created SensorComboBoxItemListener to handle sensor selection events. - Developed TableAxisDisplayPanel for displaying axis data in a table format. - Added TemperatureUnitActionListener to manage temperature unit changes. - Introduced ThermistorCalibrationPanel for thermistor calibration functionality. - Created WeightFieldFocusAdapter to manage focus events in weight input fields. - Added WeightInputPanel for inputting weight in both pounds and kilograms. - Removed obsolete aK panel class. - Introduced DisabledButton class to create non-interactive buttons. - Added FormattedTableCellRenderer for custom table cell rendering. - Implemented NoSelectionModel to prevent selection in specific tables. - Created NonEditableTable to disable editing in tables. - Added StringTransferable for handling string data transfer. - Implemented TableCenterCellEditor for centered text in table cells. - Developed TableTransferHandler for managing data transfer in tables.
46 lines
1.3 KiB
Java
46 lines
1.3 KiB
Java
package com.efiAnalytics.ui;
|
|
|
|
import java.awt.Dimension;
|
|
import javax.swing.JTable;
|
|
import javax.swing.table.TableCellEditor;
|
|
import javax.swing.table.TableCellRenderer;
|
|
|
|
class NonEditableTable extends JTable {
|
|
TableCellRenderer a = null;
|
|
|
|
public NonEditableTable(w paramw, Object[][] paramArrayOfObject, Object[] paramArrayOfObject1) {
|
|
super(paramArrayOfObject, paramArrayOfObject1);
|
|
setSelectionModel(new NoSelectionModel(this, paramw));
|
|
}
|
|
|
|
public void a(TableCellRenderer paramTableCellRenderer) {
|
|
this.a = paramTableCellRenderer;
|
|
}
|
|
|
|
public TableCellRenderer getCellRenderer(int paramInt1, int paramInt2) {
|
|
if (this.a == null)
|
|
this.a = new ai(this.b);
|
|
return this.a;
|
|
}
|
|
|
|
public void a(int paramInt) {
|
|
setPreferredSize(new Dimension(paramInt, 0));
|
|
}
|
|
|
|
public TableCellEditor getCellEditor(int paramInt1, int paramInt2) {
|
|
TableCellEditor tableCellEditor = super.getCellEditor(paramInt1, paramInt2);
|
|
if (tableCellEditor != null)
|
|
tableCellEditor.cancelCellEditing();
|
|
return tableCellEditor;
|
|
}
|
|
|
|
public boolean isCellEditable(int paramInt1, int paramInt2) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/ae.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |