home *** CD-ROM | disk | FTP | other *** search
- import com.sun.java.swing.AbstractButton;
- import com.sun.java.swing.JRadioButton;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import java.util.EventObject;
-
- final class TablePanel$10 implements ActionListener {
- // $FF: synthetic field
- private final JRadioButton val$resizeModeButton3;
- // $FF: synthetic field
- private final JRadioButton val$resizeModeButton2;
- // $FF: synthetic field
- private final TablePanel this$0;
- // $FF: synthetic field
- private final JRadioButton val$resizeModeButton1;
-
- public void actionPerformed(ActionEvent var1) {
- JRadioButton var2 = (JRadioButton)((EventObject)var1).getSource();
- boolean var3 = ((AbstractButton)var2).isSelected();
- if (var3) {
- if (var2 == this.val$resizeModeButton1) {
- this.this$0.tableView.setAutoResizeMode(0);
- return;
- }
-
- if (var2 == this.val$resizeModeButton2) {
- this.this$0.tableView.setAutoResizeMode(1);
- return;
- }
-
- if (var2 == this.val$resizeModeButton3) {
- this.this$0.tableView.setAutoResizeMode(2);
- }
- }
-
- }
-
- // $FF: synthetic method
- TablePanel$10(JRadioButton var1, JRadioButton var2, JRadioButton var3, TablePanel var4) {
- this.val$resizeModeButton1 = var1;
- this.val$resizeModeButton2 = var2;
- this.val$resizeModeButton3 = var3;
- this.this$0 = var4;
- }
- }
-