public boolean addElement ( GridCellElement < P > element ) { if ( element != null && this . elements . add ( element ) ) { if ( element . addCellLink ( this ) ) { ++ this . referenceElementCount ; } return true ; } return false ; }
Add an element in the cell .