public static void setCellNestingFactory ( CompositeFactory factory ) { if ( threadNestingMap == null ) threadNestingMap = new Hashtable ( ) ; if ( factory == null ) threadNestingMap . remove ( Thread . currentThread ( ) ) ; else threadNestingMap . put ( Thread . currentThread ( ) , factory ) ; }
Add cell nesting factory . Set the CompositeFactory for this thread . Each new cell in the table added by this thread will have a new Composite from this factory nested in the Cell .