Package pdfdb.data.filetable

Examples of pdfdb.data.filetable.FileTable


    /** Initializes the GUI components.
     * @throws java.sql.SQLException If an error occurs. */
    private void initComponents() throws SQLException
    {
        summaryTable = new FileTable("Summary", isConnected());
        JComponent summaryContainer = getContainerForTable(summaryTable);
        JButton searchBtn = new DarkButton("Search");
        JPanel topPanel = new DarkPanel();
        JPanel searchPanel = new JPanel();
        String cmd = String.valueOf(EventController.OP_SEARCH);
View Full Code Here


            JComponent comp = (JComponent) tabbedPane.getComponentAt(model.
                    getSelectedIndex());

            if (!(oldTable == summaryTable && model.getSelectedIndex() == 0))
            {
                FileTable newTable = getTableForTab(comp);

                if (oldTable != null)
                {
                    oldTable.getSelectionModel().removeListSelectionListener(
                            this);
                }
                newTable.getSelectionModel().addListSelectionListener(this);
                oldTable = newTable;
            }
        }
    }
View Full Code Here

     * @throws java.sql.SQLException If an error occurs. */
    private JComponent createSearchComponent(String keywords) throws
            SQLException
    {
        Search searcher = SearchProvider.getSearch(SearchType.BASIC);
        FileTable table = new FileTable("Search", searcher, keywords,
                isConnected());
        return getContainerForTable(table);
    }
View Full Code Here

        if (index >= tabbedPane.getComponentCount() || index < 0)
        {
            throw new IllegalArgumentException();
        }
        Component component = tabbedPane.getComponentAt(index);
        FileTable table = getTableForTab(component);
        if (table != null)
        {
            table.shutdown();
        }
        tabbedPane.remove(index);
    }
View Full Code Here

TOP

Related Classes of pdfdb.data.filetable.FileTable

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.