/** * Sets the character translator for all cells in the row. * It will also remove any other translator set. * Nothing will happen if the argument is null. * @param charTranslator translator * @return this to allow chaining */ public AT_Row setCharTranslator(CharacterTranslator charTranslator) { if(this.hasCells()){ for(AT_Cell cell : this.getCells()){ cell.getContext().setCharTranslator(charTranslator); } } return this; } }
/** * Sets the character translator for all cells in the row. * It will also remove any other translator set. * Nothing will happen if the argument is null. * @param charTranslator translator * @return this to allow chaining */ public AT_Row setCharTranslator(CharacterTranslator charTranslator) { if(this.hasCells()){ for(AT_Cell cell : this.getCells()){ cell.getContext().setCharTranslator(charTranslator); } } return this; } }