Package com.ca.directory.jxplorer.tree

Examples of com.ca.directory.jxplorer.tree.SmartTree


        // Make sure this window gets the new L&F too...
        SwingUtilities.updateComponentTreeUI(this);

        // Get the trees...
        SmartTree explore = jx.getTree();
        SmartTree search = jx.getSearchTree();
        SmartTree schema = jx.getSchemaTree();

        // To stop the truncation of tree nodes esp in Java L&F...what a joke....
        SwingUtilities.updateComponentTreeUI(explore);
        SwingUtilities.updateComponentTreeUI(search);
        SwingUtilities.updateComponentTreeUI(schema);

        // Make sure each tree's popup menu gets the new L&F...
        SwingUtilities.updateComponentTreeUI(explore.getPopupTool());
        SwingUtilities.updateComponentTreeUI(search.getPopupTool());
        SwingUtilities.updateComponentTreeUI(schema.getPopupTool());

        // Make sure each tree's search dialog gets the new L&F...
        SearchGUI sExplore = explore.getSearchGUI();
        SearchGUI sSearch = search.getSearchGUI();
        SearchGUI sSchema = schema.getSearchGUI();

        if (sExplore != null)
            SwingUtilities.updateComponentTreeUI(sExplore);
        if (sSearch != null)
            SwingUtilities.updateComponentTreeUI(sSearch);
View Full Code Here


        {
            public void actionPerformed(ActionEvent e)
            {
                JMenuItem item = (JMenuItem)e.getSource();

                SmartTree activeTree = jxplorer.getActiveTree();
                boolean usingSearch = (activeTree == jxplorer.searchTree);

                if (item == fullExport)
                    ldifFullExport(activeTree, usingSearch);
                else if (item == subExport)
View Full Code Here

    *    row number and not the row number after a sort.
    */
    public void goToEntry(int selectedRow)
    {
            // Get the Explore tab tree...
      SmartTree tree = jx.getTree();

            // Get the DN from the HashMap store (get the true row number from the sorter)...
      Object temp = map.get(String.valueOf(sorter.getTrueIndex(selectedRow)));
      tree.collapse();
      tree.readAndExpandDN(new DN(temp.toString()));

            // Flip to the Explore tab...
      jx.getTreeTabPane().setSelectedComponent(jx.getExplorePanel());
    }
View Full Code Here

TOP

Related Classes of com.ca.directory.jxplorer.tree.SmartTree

Copyright © 2018 www.massapicom. 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.