jdk/src/java.desktop/share/classes/javax/swing/tree/VariableHeightLayoutCache.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 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 |
86 * A stack of stacks. |
86 * A stack of stacks. |
87 */ |
87 */ |
88 private Stack<Stack<TreePath>> tempStacks; |
88 private Stack<Stack<TreePath>> tempStacks; |
89 |
89 |
90 |
90 |
|
91 /** |
|
92 * Constructs a {@code VariableHeightLayoutCache}. |
|
93 */ |
91 public VariableHeightLayoutCache() { |
94 public VariableHeightLayoutCache() { |
92 super(); |
95 super(); |
93 tempStacks = new Stack<Stack<TreePath>>(); |
96 tempStacks = new Stack<Stack<TreePath>>(); |
94 visibleNodes = new Vector<Object>(); |
97 visibleNodes = new Vector<Object>(); |
95 boundsBuffer = new Rectangle(); |
98 boundsBuffer = new Rectangle(); |