Lines Matching refs:if
83 if (isAdd) {
84 if (!(classNameToAddOrRemove in currentNames)) {
89 if (currentNames[i] == classNameToAddOrRemove) {
101 if (map[key] == value)
108 * Looks up |key| in |map|, and returns the resulting entry, if there is one.
114 if (key in map)
186 * Adds a header row, if not already present, and adds a new column to it,
192 // Insert empty new row at start of |rows_| if currently no header row.
193 if (!this.hasHeaderRow_) {
214 * Returns the cell at position (rowIndex, columnIndex), or null if there is
218 if (rowIndex >= this.rows_.length)
221 if (columnIndex >= row.length)
228 * |spacing| indicates number of extra spaces, if any, to add between
240 // If header row is present, temporarily add a spacer row to |rows_|.
241 if (this.hasHeaderRow_) {
245 if (!cell)
257 if (cell && !cell.allowOverflow) {
265 // Print title, if present.
266 if (this.title_) {
281 if (cell) {
286 if (cell.alignRight) {
299 // Remove spacer row under the header row, if one was added.
300 if (this.hasHeaderRow_)
319 // Add title, if needed.
320 if (this.title_) {
327 // Fill table body, adding header row first, if needed.
331 if (r == 0 && this.hasHeaderRow_) {
340 if (cell) {
342 if (cell.alignRight)
344 // If allowing overflow on the rightmost cell of a row,
347 if (cell.allowOverflow && !this.getCell_(r, c + 1))
349 if (cell.link) {