Package net.datacrow.console.components.panels

Examples of net.datacrow.console.components.panels.FieldSelectionPanel


        defineFilterPanel = new DefineFilterEntryPanel(module);
       
        JPanel panelSort = new JPanel();
        panelSort.setLayout(Layout.getGBL());
       
        sortingPanel = new FieldSelectionPanel(module, true, false, true);
        sortingPanel.setSelectedFields(module.getSettings().getStringArray(DcRepository.ModuleSettings.stSearchOrder));
       
        panelSort.add(sortingPanel,   Layout.getGBC( 0, 0, 1, 1, 40.0, 40.0
                ,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
                 new Insets( 0, 5, 5, 5), 0, 0));
View Full Code Here


       
        setHelpIndex("dc.items.sort");
        setTitle(DcResources.getText("lblSort"));
       
        this.module = module;
        this.panelSorting = new FieldSelectionPanel(DcModules.get(module), true, false, true);
        this.panelSorting.setSelectedFields(
                DcModules.get(module).getSettings().getStringArray(DcRepository.ModuleSettings.stSearchOrder));
       
        build();
       
View Full Code Here

                continue;
           
            fields.add(field);
        }
       
        this.panelSorting = new FieldSelectionPanel(DcModules.get(module), fields);
       
        int[] groupBy = DcModules.get(module).getSettings().getIntArray(DcRepository.ModuleSettings.stGroupedBy);
        if (groupBy != null)
            this.panelSorting.setSelectedFields(groupBy);
       
View Full Code Here

        //Tabbed pane
        //**********************************************************
        JTabbedPane tp = ComponentFactory.getTabbedPane();
       
        DcModule module = DcModules.getCurrent();
        fsp = new FieldSelectionPanel(module, false, true, true);
       
        int[] fields = (int[]) module.getSetting(DcRepository.ModuleSettings.stCardViewItemDescription);
        fsp.setSelectedFields(fields);
       
        DcColorSelector csTextBg = ComponentFactory.getColorSelector(DcRepository.Settings.stCardViewBackgroundColor);
View Full Code Here

        setTitle(DcResources.getText("lblViewSettings"));
        setHelpIndex("dc.settings.tableview");

        DcModule module = DcModules.getCurrent();
       
        fspParent = new FieldSelectionPanel(module, true, true, true);
        fspParent.setSelectedFields((int[]) module.getSetting(DcRepository.ModuleSettings.stTableColumnOrder));
        if (module.getChild() != null) {
            fspChild = new FieldSelectionPanel(module.getChild(), true, true, true);
            fspChild.setSelectedFields((int[]) module.getChild().getSetting(DcRepository.ModuleSettings.stTableColumnOrder));
        }
       
        build();
        pack();
View Full Code Here

TOP

Related Classes of net.datacrow.console.components.panels.FieldSelectionPanel

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.