OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of app; | 5 part of app; |
6 | 6 |
7 abstract class TableTreeRow extends Observable { | 7 abstract class TableTreeRow extends Observable { |
8 final TableTreeRow parent; | 8 final TableTreeRow parent; |
9 @observable final int depth; | 9 @observable final int depth; |
10 @observable final List<TableTreeRow> children = new List<TableTreeRow>(); | 10 @observable final List<TableTreeRow> children = new List<TableTreeRow>(); |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 if (column != _sortColumnIndex) { | 204 if (column != _sortColumnIndex) { |
205 return columns[column].label + '\u2003'; | 205 return columns[column].label + '\u2003'; |
206 } | 206 } |
207 return columns[column].label + (_sortDescending ? arrowUp : arrowDown); | 207 return columns[column].label + (_sortDescending ? arrowUp : arrowDown); |
208 } | 208 } |
209 | 209 |
210 dynamic getValue(int row, int column) { | 210 dynamic getValue(int row, int column) { |
211 return rows[row].values[column]; | 211 return rows[row].values[column]; |
212 } | 212 } |
213 } | 213 } |
OLD | NEW |