MOA 12.03
Real Time Analytics for Data Streams
ClassificationTabPanel.java
Go to the documentation of this file.
00001 /*
00002  *    ClassificationTabPanel.java
00003  *    Copyright (C) 2007 University of Waikato, Hamilton, New Zealand
00004  *    @author Richard Kirkby (rkirkby@cs.waikato.ac.nz)
00005  *
00006  *    This program is free software; you can redistribute it and/or modify
00007  *    it under the terms of the GNU General Public License as published by
00008  *    the Free Software Foundation; either version 3 of the License, or
00009  *    (at your option) any later version.
00010  *
00011  *    This program is distributed in the hope that it will be useful,
00012  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *    GNU General Public License for more details.
00015  *
00016  *    You should have received a copy of the GNU General Public License
00017  *    along with this program. If not, see <http://www.gnu.org/licenses/>.
00018  *    
00019  */
00020 package moa.gui;
00021 
00022 import java.awt.BorderLayout;
00023 
00030 public class ClassificationTabPanel extends AbstractTabPanel {
00031 
00032         private static final long serialVersionUID = 1L;
00033 
00034         protected TaskManagerPanel taskManagerPanel;
00035 
00036         protected PreviewPanel previewPanel;
00037 
00038         public ClassificationTabPanel() {
00039                 this.taskManagerPanel = new TaskManagerPanel();
00040                 this.previewPanel = new PreviewPanel();
00041                 this.taskManagerPanel.setPreviewPanel(this.previewPanel);
00042                 setLayout(new BorderLayout());
00043                 add(this.taskManagerPanel, BorderLayout.NORTH);
00044                 add(this.previewPanel, BorderLayout.CENTER);
00045         }
00046 
00047         //returns the string to display as title of the tab
00048     @Override
00049         public String getTabTitle() {
00050                 return "Classification";
00051         }
00052 
00053         //a short description (can be used as tool tip) of the tab, or contributor, etc.
00054     @Override
00055         public String getDescription(){
00056                 return "MOA Classification";
00057         }
00058 
00059 }
00060 
00061 
00062 
 All Classes Namespaces Files Functions Variables Enumerations