Examples of makeVisible()


Examples of java.awt.peer.ListPeer.makeVisible()

     */
    public synchronized void makeVisible(int index) {
        visibleIndex = index;
        ListPeer peer = (ListPeer)this.peer;
        if (peer != null) {
            peer.makeVisible(index);
        }
    }

    /**
     * Gets the preferred dimensions for a list with the specified
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

                        }
                    }
                    if (pParent.isOpened()) {
                      // CraigM:12/06/2008 - Don't scroll (as Forte didn't), just make visible.
                        // tree.scrollPathToVisible(new TreePath(pChild.getPath()));
                      tree.makeVisible(new TreePath(pChild.getPath()));
                    }
                    handled = true;
                }
                else if (root instanceof OutlineField) {
                    OutlineField of = (OutlineField)root;
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

                        }
                    }
                    if (pParent.isOpened()) {
                      // CraigM:12/06/2008 - Don't scroll (as Forte didn't), just make visible.
                        // tree.scrollPathToVisible(new TreePath(pChild.getPath()));
                      tree.makeVisible(new TreePath(pChild.getPath()));
                    }
                    handled = true;
                }
                else if (root instanceof OutlineField) {
                    OutlineField of = (OutlineField)root;
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

                        }
                    }
                    if (pParent.isOpened()) {
                      // CraigM:12/06/2008 - Don't scroll (as Forte didn't), just make visible.
                        // tree.scrollPathToVisible(new TreePath(pChild.getPath()));
                      tree.makeVisible(new TreePath(pChild.getPath()));
                    }
                    handled = true;
                }
                else if (root instanceof OutlineField) {
                    OutlineField of = (OutlineField)root;
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

    DataView dataView = cayenneProject.createDataView();
    DataViewTreeModel dataViewTreeModel =
        (DataViewTreeModel)dataViewTree.getModel();
    TreePath path = dataViewTreeModel.dataViewAdded(dataView);
    dataViewTree.makeVisible(path);
    dataView.addPropertyChangeListener(propertyChangeMediator);
  }

    private class AddNewObjEntityViewAction extends AbstractAction {
    private AddNewObjEntityViewAction() {
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

    }

    DataViewTreeModel dataViewTreeModel =
        (DataViewTreeModel)dataViewTree.getModel();
    TreePath path = dataViewTreeModel.objEntityViewAdded(view);
    dataViewTree.makeVisible(path);
    DataMapTreeModel dataMapTreeModel =
        (DataMapTreeModel)dataMapTree.getModel();
    path = dataMapTreeModel.objEntityViewAdded(view);
    if (path != null)
      dataMapTree.makeVisible(path);
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

    ObjEntityView objEntityView = (ObjEntityView)selectionPath.getLastPathComponent();
    ObjEntityViewField newField = objEntityView.createObjEntityViewField();
    DataViewTreeModel dataViewTreeModel =
        (DataViewTreeModel)dataViewTree.getModel();
    TreePath path = dataViewTreeModel.fieldAdded(newField);
    dataViewTree.makeVisible(path);
    DataMapTreeModel dataMapTreeModel =
        (DataMapTreeModel)dataMapTree.getModel();
    path = dataMapTreeModel.fieldAdded(newField);
    if (path != null)
      dataMapTree.makeVisible(path);
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

            vpath.copyInto(path);
            Object last = path[vpath.size() - 1];
            path[vpath.size()] = model.getChild(last, index);
            TreePath selectionPath = new TreePath(path);
            tree.setSelectionPath(selectionPath);
            tree.makeVisible(selectionPath);
            tree.scrollPathToVisible(selectionPath);
        }
    }

    public void aboutToStart(Test suite, TestResult result) {
View Full Code Here

Examples of javax.swing.JTree.makeVisible()

      vpath.copyInto(path);
      Object last= path[vpath.size()-1];
      path[vpath.size()]= model.getChild(last, index);
      TreePath selectionPath= new TreePath(path);
      tree.setSelectionPath(selectionPath);
      tree.makeVisible(selectionPath);
    }
  }
 
  public void aboutToStart(Test suite, TestResult result) {
    fTreeBrowser.showTestTree(suite);
View Full Code Here

Examples of lipstone.joshua.parser.SettingsWindow.makeVisible()

        if (c != null) {
          Point p = c.getLocation();
          p.x = p.x + c.getWidth();
          window.setLocation(p);
        }
        window.makeVisible();
      }
    };
    helpClick = new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.