Package org.openoffice.gdocs.ui.models

Examples of org.openoffice.gdocs.ui.models.DocumentsTableModel


        openButton.setText(Configuration.getResources().getString("Open"));
        openInBrowser.setText(Configuration.getResources().getString("OPEN_IN_BROWSER"));
        openViaBrowserButton.setText(Configuration.getResources().getString("OPEN_VIA_BROWSER"));
        closeButton.setText(Configuration.getResources().getString("Close"));
        jLabel2.setText(Configuration.getResources().getString("Filter"));
        jTable1.setModel(new DocumentsTableModel());
        jTable1.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        formatChoosePanel.setVisible(false);       
        formatChooserLabel.setText(Configuration.getResources().getString("As"));
        autoUpdate.setSelected(Configuration.isDefaultAutoUpdate());
        this.currentDocumentPath = currentDocumentPath;
View Full Code Here


        });
    }//GEN-LAST:event_getListButtonActionPerformed
   
   
    private void fillListOfDocuments(final Wrapper wrapper, List<Document> documents) {
        final DocumentsTableModel dtm = new DocumentsTableModel(wrapper);
        for (Document entry : documents) {
            dtm.add(entry);
        }
        jTable1.setModel(dtm);
        Map<String,String> folder2color = dtm.getFolders2ColorsMap();
        if (folder2color.size()>0) {
            foldersPanel.removeAll();
            foldersPanel.setVisible(true);
            foldersPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
            int idx=0;
View Full Code Here

private void filterTextKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_filterTextKeyReleased
    final int keyCode = evt.getKeyCode();
    if (keyCode!=KeyEvent.VK_DOWN && keyCode!=KeyEvent.VK_UP && keyCode!=KeyEvent.VK_ENTER) {
        String text = filterText.getText();
        DocumentsTableModel model = (DocumentsTableModel)jTable1.getModel();
        model.setFilter(text.toUpperCase());
        model.fireTableDataChanged();
    }
}//GEN-LAST:event_filterTextKeyReleased
View Full Code Here

TOP

Related Classes of org.openoffice.gdocs.ui.models.DocumentsTableModel

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.