View Javadoc

1   /*
2    * Created on 14-May-2005
3    */
4   package ca.spaz.cron.summary;
5   
6   import java.awt.BorderLayout;
7   import java.util.List;
8   
9   import javax.swing.BorderFactory;
10  
11  import ca.spaz.cron.database.NutrientInfo;
12  
13  public class MineralSummaryPanel extends AbstractNutrientSummaryPanel {
14     
15     public MineralSummaryPanel() { 
16        setLayout(new BorderLayout());
17        setBorder(BorderFactory.createEmptyBorder(4,4,4,4));      
18        add(getNutrientTablePane(), BorderLayout.CENTER);
19     }
20  
21     protected List getNutrientList() {
22        return NutrientInfo.getMinerals();
23     }
24  
25  }