1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
279 } |
279 } |
280 |
280 |
281 /** |
281 /** |
282 * Obsolete as of Java 2 platform v1.3. Real time repaints, in response to |
282 * Obsolete as of Java 2 platform v1.3. Real time repaints, in response to |
283 * column dragging or resizing, are now unconditional. |
283 * column dragging or resizing, are now unconditional. |
284 */ |
284 * @param flag true if tableView should update the body of the |
285 /* |
285 * table in real time |
286 * Sets whether the body of the table updates in real time when |
|
287 * a column is resized or dragged. |
|
288 * |
|
289 * @param flag true if tableView should update |
|
290 * the body of the table in real time |
|
291 * @see #getUpdateTableInRealTime |
|
292 */ |
286 */ |
293 public void setUpdateTableInRealTime(boolean flag) { |
287 public void setUpdateTableInRealTime(boolean flag) { |
294 updateTableInRealTime = flag; |
288 updateTableInRealTime = flag; |
295 } |
289 } |
296 |
290 |
297 /** |
291 /** |
298 * Obsolete as of Java 2 platform v1.3. Real time repaints, in response to |
292 * Obsolete as of Java 2 platform v1.3. Real time repaints, in response to |
299 * column dragging or resizing, are now unconditional. |
293 * column dragging or resizing, are now unconditional. |
300 */ |
|
301 /* |
|
302 * Returns true if the body of the table view updates in real |
|
303 * time when a column is resized or dragged. User can set this flag to |
|
304 * false to speed up the table's response to user resize or drag actions. |
|
305 * The default is true. |
|
306 * |
|
307 * @return true if the table updates in real time |
294 * @return true if the table updates in real time |
308 * @see #setUpdateTableInRealTime |
|
309 */ |
295 */ |
310 public boolean getUpdateTableInRealTime() { |
296 public boolean getUpdateTableInRealTime() { |
311 return updateTableInRealTime; |
297 return updateTableInRealTime; |
312 } |
298 } |
313 |
299 |