View Javadoc

1   package org.telscenter.pas.hint.actions;
2   
3   import java.awt.CardLayout;
4   import java.awt.event.ActionEvent;
5   
6   import javax.swing.ImageIcon;
7   import javax.swing.JPanel;
8   
9   public class HintPrevAction extends HintAction {
10  
11  	public HintPrevAction(String title, ImageIcon icon, JPanel cards) {
12  		super(title, icon, cards);
13  	}
14  
15  	public void actionPerformed(ActionEvent e) {
16  		CardLayout cl = (CardLayout)(cards.getLayout());
17  		cl.previous(cards);
18  	}
19  }