Examples of DcLongTextField


Examples of net.datacrow.console.components.DcLongTextField

   
    private void build() {
        //**********************************************************
        //Help panel
        //**********************************************************
        DcLongTextField explanation = ComponentFactory.getLongTextField();
        explanation.setText(DcResources.getText("msgImportSettingsExplanation"));
        ComponentFactory.setUneditable(explanation);
       
        //**********************************************************
        //Configuration panel
        //**********************************************************
 
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

    protected void build(String help, SettingsGroup settings) {

        //**********************************************************
        //Text panel
        //**********************************************************
        DcLongTextField fldHelp = ComponentFactory.getHelpTextField();
        JScrollPane spHelp = new JScrollPane(fldHelp);
        spHelp.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
        spHelp.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
        fldHelp.setText(help);
       
        //**********************************************************
        //Settings panel
        //**********************************************************
        pnlSettings = new SettingsPanel(settings, true);
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

    public static DcHtmlEditorPane getHtmlEditorPane() {
        return new DcHtmlEditorPane();
    }
   
    public static DcLongTextField getHelpTextField() {
        DcLongTextField textHelp = ComponentFactory.getLongTextField();
        textHelp.setBorder(null);
        textHelp.setEditable(false);
        textHelp.setMargin(new Insets(5,5,5,5));

        return textHelp;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

        button.setFont(getSystemFont());
        return button;
    }

    public static final DcLongTextField getTextArea() {
        DcLongTextField textArea = new DcLongTextField();
        textArea.setWrapStyleWord(true);
        textArea.setLineWrap(true);
        textArea.setEditable(true);
        textArea.setMargin(new Insets(5,5,5,5));
        textArea.setFont(getStandardFont());
        return textArea;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

        textpane.setFont(getStandardFont());
        return textpane;
    }

    public static final DcLongTextField getLongTextField() {
        DcLongTextField longText = new DcLongTextField();
        longText.setWrapStyleWord(true);
        longText.setLineWrap(true);
        longText.setEditable(true);
        longText.setMargin(new Insets(5,5,5,5));
        longText.setFont(getStandardFont());
        return longText;
    }
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

        //Donate panel
        //**********************************************************
        JPanel panelDonate = new JPanel();
        panelDonate.setLayout(Layout.getGBL());

        DcLongTextField donate = ComponentFactory.getLongTextField();
        donate.setText(DcResources.getText("msgDonateLargeText"));
        panelDonate.add(new JScrollPane(donate), Layout.getGBC(0, 0, 1, 1, 1.0, 1.0,
                GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
                new Insets(5, 5, 5, 5), 0, 0));

        //**********************************************************
 
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

    protected void build() {
       
        //**********************************************************
        //Help
        //**********************************************************
        DcLongTextField explanation = ComponentFactory.getLongTextField();
        explanation.setText(DcResources.getText("msgImportSettingsExplanation"));
        ComponentFactory.setUneditable(explanation);
       
        //**********************************************************
        //Input panel
        //**********************************************************
 
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

        scroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        scroller.getViewport().setScrollMode(JViewport.SIMPLE_SCROLL_MODE);

        NavigationPanel panelNav = new NavigationPanel(table);
       
        DcLongTextField textHelp = ComponentFactory.getHelpTextField();
        textHelp.setText(DcResources.getText("msgCardPictureSelectionHelp"));
        add(textHelp, Layout.getGBC(0, 0, 1, 1, 1.0, 1.0
                ,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
                 new Insets(5, 5, 5, 5), 0, 0));
        add(scroller,  Layout.getGBC(0, 1, 1, 1, 5.0, 5.0,
                GridBagConstraints.CENTER, GridBagConstraints.BOTH,
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

                String command = buttonGroup.getSelection().getActionCommand();
                selectedModule = Integer.parseInt(command);
            }
        }        
       
        DcLongTextField textHelp = ComponentFactory.getLongTextField();
        textHelp.setBorder(null);
        JScrollPane scroller = new JScrollPane(textHelp);
        scroller.setBorder(null);
        scroller.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        scroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);
        textHelp.setEditable(false);
        textHelp.setText(help);
       
        int y = 0;
        int x = 0;
       
        for (DcModule module : modules) {
View Full Code Here

Examples of net.datacrow.console.components.DcLongTextField

       
        //**********************************************************
        //Help panel
        //**********************************************************
       
        DcLongTextField textHelp = ComponentFactory.getLongTextField();
        JPanel helpPanel = new JPanel();
        helpPanel.setLayout(Layout.getGBL());

        textHelp.setBorder(null);
        JScrollPane scroller = new JScrollPane(textHelp);
        scroller.setBorder(null);
        scroller.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        scroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);
        textHelp.setEditable(false);
        textHelp.setText(DcResources.getText("msgFileRenamePreviewHelp"));
        textHelp.setMargin(new Insets(5,5,5,5));

        scroller.setPreferredSize(new Dimension(100, 60));
        scroller.setMinimumSize(new Dimension(100, 60));
        scroller.setMaximumSize(new Dimension(800, 60));
       
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.