001 /*
002 * SimuCS - Simulator to use with Classifier Systems
003 * MSc project - Oxford University
004 * by Benoit Isaac - Summer 2005
005 */
006
007 package simuLCS.graphics;
008 import java.awt.GridLayout;
009
010 import javax.swing.JTabbedPane;
011
012 /**
013 * Handles all the Tabs
014 * @author Benoit
015 *
016 */
017 public class G_PanCustTab extends G_Panel {
018
019 private G_PanCustTabAgents tabAgents ;
020 private G_PanCustTabBehaviour tabBehaviour ;
021 private G_PanCustTabLearning tabLearning;
022
023 public G_PanCustTab()
024 {
025 super();
026 this.setLayout(new GridLayout(1,1));
027
028 JTabbedPane tabPan = new JTabbedPane();
029 tabAgents = new G_PanCustTabAgents();
030 tabBehaviour = new G_PanCustTabBehaviour();
031 tabLearning = new G_PanCustTabLearning();
032
033 tabPan.addTab("Agents",tabAgents);
034 tabPan.addTab("Behaviours",tabBehaviour);
035 tabPan.addTab("Watch Learning",tabLearning);
036
037 add(tabPan);
038 }
039
040
041
042
043
044 /**
045 * @return
046 */
047 public G_PanCustTabAgents getTabAgents() {
048 return tabAgents;
049 }
050
051 }