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$9 implements ActionListener {
- // $FF: synthetic field
- private final JRadioButton val$selectionModeButton3;
- // $FF: synthetic field
- private final JRadioButton val$selectionModeButton2;
- // $FF: synthetic field
- private final TablePanel this$0;
- // $FF: synthetic field
- private final JRadioButton val$selectionModeButton1;
-
- public void actionPerformed(ActionEvent var1) {
- JRadioButton var2 = (JRadioButton)((EventObject)var1).getSource();
- boolean var3 = ((AbstractButton)var2).isSelected();
- if (var3) {
- if (var2 == this.val$selectionModeButton1) {
- this.this$0.tableView.setSelectionMode(0);
- } else if (var2 == this.val$selectionModeButton2) {
- this.this$0.tableView.setSelectionMode(1);
- } else if (var2 == this.val$selectionModeButton3) {
- this.this$0.tableView.setSelectionMode(2);
- }
- }
-
- this.this$0.tableView.repaint();
- }
-
- // $FF: synthetic method
- TablePanel$9(JRadioButton var1, JRadioButton var2, JRadioButton var3, TablePanel var4) {
- this.val$selectionModeButton1 = var1;
- this.val$selectionModeButton2 = var2;
- this.val$selectionModeButton3 = var3;
- this.this$0 = var4;
- }
- }
-