public void CheckTab(){
        
        updatedTab = new Tableau(this.tab.getX(), this.tab.getY());
        
        ArrayList al = new ArrayList();
        HashMap countList = new HashMap();
        
        for (int width = 0; width < tab.getY(); width++) {
            for (int length = 0; length < tab.getX() ; length++) {
                
                    al = getVecinity(Neighborhood.Moore, length, width, tab.getX(), tab.getY());
                    countList = VecinityStateCount(al);
                    
                if (invasionMode) {
                    al = getVecinity(Neighborhood.VonNeumann, length, width, tab.getX(), tab.getY());
                    countList = VecinityStateCount(al);
                }
                    
                if (fireMode) {
                    al = getVecinity(Neighborhood.Moore, length, width, tab.getX(), tab.getY());
                    countList = VecinityStateCount(al);
                }
                UpdateCheckedCell(tab.getTab()[length][width], updatedTab.getTab()[length][width], countList);
            }
        }
    }