/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | TreeUI.java | 29 import javax.swing.JTree; 33 * Pluggable look and feel interface for JTree. 45 public abstract Rectangle getPathBounds(JTree tree, TreePath path); 51 public abstract TreePath getPathForRow(JTree tree, int row); 58 public abstract int getRowForPath(JTree tree, TreePath path); 63 public abstract int getRowCount(JTree tree); 72 public abstract TreePath getClosestPathForLocation(JTree tree, int x, 79 public abstract boolean isEditing(JTree tree); 86 public abstract boolean stopEditing(JTree tree); 93 public abstract void cancelEditing(JTree tre [all...] |
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | javax_swing_JTree.java | 27 * @summary Tests JTree encoding 31 import javax.swing.JTree; 36 public final class javax_swing_JTree extends AbstractTest<JTree> { 41 protected JTree getObject() { 42 return new JTree(new MyModel()); 45 protected JTree getAnotherObject() { 46 return new JTree(); 49 protected void validate(JTree before, JTree after) {
|
H A D | Test4631471.java | 31 import javax.swing.JTree; 68 // the JTree will archive correctly too 105 public static JTree getTree() { 106 return new JTree(getRoot());
|
/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | TreeCellEditor.java | 30 import javax.swing.JTree; 36 * @see javax.swing.JTree 52 * @param tree the JTree that is asking the editor to edit; 62 Component getTreeCellEditorComponent(JTree tree, Object value,
|
H A D | TreeCellRenderer.java | 28 import javax.swing.JTree; 50 * focus. <code>tree</code> is the <code>JTree</code> the receiver is being 60 * JTree.DropLocation dropLocation = tree.getDropLocation(); 72 Component getTreeCellRendererComponent(JTree tree, Object value,
|
H A D | DefaultTreeCellEditor.java | 59 * @see javax.swing.JTree 93 /** <code>JTree</code> instance listening too. */ 94 protected transient JTree tree; 123 * object for a JTree using the specified renderer and 126 * @param tree a <code>JTree</code> object 129 public DefaultTreeCellEditor(JTree tree, 136 * object for a <code>JTree</code> using the 140 * @param tree a <code>JTree</code> object 144 public DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer, 204 public Component getTreeCellEditorComponent(JTree tre [all...] |
H A D | DefaultTreeCellRenderer.java | 41 import javax.swing.JTree; 110 private JTree tree; 375 * has the effect of letting the font of the JTree show 404 * has the effect of letting the background color of the JTree show 424 public Component getTreeCellRendererComponent(JTree tree, Object value, 439 JTree.DropLocation dropLocation = tree.getDropLocation();
|
/openjdk7/jdk/test/javax/swing/JTree/8003830/ |
H A D | bug8003830.java | 27 import javax.swing.JTree; 51 JTree tree = new JTree(); 60 public Rectangle getPathBounds(JTree tree, TreePath path) {
|
/openjdk7/jdk/test/javax/swing/JTree/8003400/ |
H A D | Test8003400.java | 27 * @summary Tests that JTree shows the last row 46 import javax.swing.JTree; 53 private static final String TITLE = "Test JTree with a large model"; 70 JTree tree = new JTree(root); 95 JTree tree = (JTree) pane.getViewport().getView();
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/ |
H A D | MultiTreeUI.java | 30 import javax.swing.JTree; 78 public Rectangle getPathBounds(JTree a, TreePath b) { 93 public TreePath getPathForRow(JTree a, int b) { 108 public int getRowForPath(JTree a, TreePath b) { 123 public int getRowCount(JTree a) { 138 public TreePath getClosestPathForLocation(JTree a, int b, int c) { 153 public boolean isEditing(JTree a) { 168 public boolean stopEditing(JTree a) { 180 public void cancelEditing(JTree a) { 189 public void startEditingAtPath(JTree [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/treetable/ |
H A D | TreeTableModelAdapter.java | 27 import javax.swing.JTree; 48 JTree tree; 51 public TreeTableModelAdapter(TreeTableModel treeTableModel, JTree tree) {
|
H A D | JTreeTable.java | 41 * by using a JTree as a renderer (and editor) for the cells in a 49 /** A subclass of JTree. */ 96 // Force the JTable and JTree to share their row selection models. 192 public JTree getTree() { 222 * A TreeCellRenderer that displays a JTree. 224 public class TreeTableCellRenderer extends JTree implements 394 * <code>getRowBounds</code> JTree method, and additionaly 405 JTree t = getTree();
|
/openjdk7/jdk/src/share/demo/jfc/Metalworks/ |
H A D | MetalworksInBox.java | 44 import javax.swing.JTree; 102 JTree tree = new JTree(top);
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | XTreeRenderer.java | 30 import javax.swing.JTree; 38 JTree tree, Object value, boolean selected, boolean expanded,
|
/openjdk7/jdk/test/javax/swing/JTree/4314199/ |
H A D | bug4314199.java | 28 * @summary Tests that JTree repaints correctly in a container with a JMenu 87 JTree tree = new JTree(new DefaultTreeModel(n1)); 88 tree.putClientProperty("JTree.lineStyle", "Angled");
|
/openjdk7/jdk/test/javax/swing/JTree/6505523/ |
H A D | bug6505523.java | 38 import javax.swing.JTree; 49 private static JTree tree; 101 tree = new JTree(model); 125 JFrame frame = new JFrame("JTree Problem");
|
/openjdk7/jdk/test/javax/swing/JTree/8004298/ |
H A D | bug8004298.java | 45 private static JTree tree; 99 tree = new JTree(root); 111 public Rectangle getPathBounds(JTree tree, TreePath path) {
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JTree.java | 63 * The following <code>JTree</code> methods use "visible" to mean "displayed": 73 * The next group of <code>JTree</code> methods use "visible" to mean 91 * final JTree tree = ...; 112 * To use <code>JTree</code> to display compound nodes 145 public class JTree extends JComponent implements Scrollable, Accessible class in inherits:JComponent,Scrollable,Accessible 321 * a drop location for a <code>JTree</code>. 431 JTree.this.expandRow(expandRow); 502 DefaultMutableTreeNode root = new DefaultMutableTreeNode("JTree"); 557 * Returns a <code>JTree</code> with a sample model. 563 public JTree() { method in class:JTree 577 public JTree(Object[] value) { method in class:JTree 593 public JTree(Vector<?> value) { method in class:JTree 610 public JTree(Hashtable<?,?> value) { method in class:JTree 626 public JTree(TreeNode root) { method in class:JTree 642 public JTree(TreeNode root, boolean asksAllowsChildren) { method in class:JTree 653 public JTree(TreeModel newModel) { method in class:JTree [all...] |
/openjdk7/jdk/test/javax/swing/JTree/4330357/ |
H A D | bug4330357.java | 27 * @summary Tests that real editor in JTree cleans up after editing was stopped 41 private static JTree tree; 145 tree = new JTree(); 178 public Component getTreeCellEditorComponent(JTree tree, Object value,
|
/openjdk7/jdk/src/share/demo/jfc/SampleTree/ |
H A D | SampleTreeCellRenderer.java | 45 import javax.swing.JTree; 91 * This is messaged from JTree whenever it needs to get the size 96 public Component getTreeCellRendererComponent(JTree tree, Object value, 150 the JTree we're contained in). */ {
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTreeUI.java | 92 protected JTree tree; 337 // push the value to the JTree instance. You should really only 338 // call these methods on the JTree. 519 public Rectangle getPathBounds(JTree tree, TreePath path) { 545 public TreePath getPathForRow(JTree tree, int row) { 554 public int getRowForPath(JTree tree, TreePath path) { 561 public int getRowCount(JTree tree) { 572 public TreePath getClosestPathForLocation(JTree tree, int x, int y) { 586 public boolean isEditing(JTree tree) { 595 public boolean stopEditing(JTree tre [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | SourceTreeTool.java | 57 private JTree tree; 78 tree = new JTree(new DefaultTreeModel(root));
|
/openjdk7/jdk/test/javax/swing/JTree/6263446/ |
H A D | bug6263446.java | 43 private static JTree tree; 155 tree = new JTree(createTreeModel());
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthTreeUI.java | 39 import javax.swing.JTree; 54 * {@link javax.swing.JTree}. 103 private void updateStyle(JTree tree) { 144 tree, JTree.SHOWS_ROOT_HANDLES_PROPERTY, showsRootHandles); 532 JTree.DropLocation dropLocation = tree.getDropLocation(); 629 updateStyle((JTree)event.getSource()); 633 JTree.DropLocation oldValue = (JTree.DropLocation)event.getOldValue(); 644 JTree.DropLocation loc = tree.getDropLocation(); 657 private void repaintDropLocation(JTree [all...] |
/openjdk7/jdk/test/com/sun/java/swing/plaf/gtk/4928019/ |
H A D | bug4928019.java | 232 new JTree() {
|