home *** CD-ROM | disk | FTP | other *** search
- package com.ibm.ivb.sguides.basic;
-
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import java.util.EventObject;
-
- class BasicSmartGuideButtonsUI$ActionHandler implements ActionListener {
- // $FF: synthetic field
- private final BasicSmartGuideButtonsUI this$0;
-
- public void actionPerformed(ActionEvent var1) {
- Object var2 = ((EventObject)var1).getSource();
- String var3 = null;
- if (var2 == this.this$0.sgbuttons.backButton) {
- var3 = "BackCommand";
- } else if (var2 == this.this$0.sgbuttons.nextButton) {
- var3 = "NextCommand";
- } else if (var2 == this.this$0.sgbuttons.finishButton) {
- var3 = "FinishCommand";
- } else if (var2 == this.this$0.sgbuttons.cancelButton) {
- var3 = "CancelCommand";
- } else if (var2 == this.this$0.sgbuttons.helpButton) {
- var3 = "HelpCommand";
- }
-
- if (var3 != null) {
- ActionEvent var4 = new ActionEvent(this.this$0.sgbuttons, 1001, var3);
- this.this$0.sgbuttons.fireActionPerformed(var4);
- }
-
- }
-
- BasicSmartGuideButtonsUI$ActionHandler(BasicSmartGuideButtonsUI var1) {
- this.this$0 = var1;
- this.this$0 = var1;
- }
- }
-