Examples of defaultSettings()


Examples of org.berlin.patterns.swing.app.gui.Components.DefaultLayout.defaultSettings()

        public WindowBuilder withButtonPanel() {           
            final IButton enterButton = this.createEnterButton();
            final IButton clearButton = this.createClearButton();
            final IButton exitButton = this.createExitButton();          
            final ILayout layout = new DefaultLayout();
            layout.defaultSettings();
            layout.getConstraints().weighty = 0;           
            final JPanel swingButtonPanel = new JPanel(layout.getLayout());                       
            final IPanel panel = new CommandButtonPanel(swingButtonPanel, layout, enterButton, clearButton, exitButton);           
            panel.constructView();           
            // Set the components on the window //
View Full Code Here

Examples of org.berlin.patterns.swing.app.gui.Components.DefaultLayout.defaultSettings()

            /////////////////////////////////////////
            // Create a new panel
            // with the default layout
            /////////////////////////////////////////
            final ILayout layout = new DefaultLayout();
            layout.defaultSettings();
          
            final JPanel swingPanel = new JPanelResize(layout.getLayout());
            final IPanel panel = new LogAnalyzerPanel((IBasicWindow) this.getBasicWindow(), swingPanel, layout);
            panel.constructView();           
            ((BasicWindow) this.getBasicWindow()).setWindowPanel(panel);
View Full Code Here

Examples of org.berlin.patterns.swing.app.gui.Components.ILayout.defaultSettings()

        public WindowBuilder withButtonPanel() {           
            final IButton enterButton = this.createEnterButton();
            final IButton clearButton = this.createClearButton();
            final IButton exitButton = this.createExitButton();          
            final ILayout layout = new DefaultLayout();
            layout.defaultSettings();
            layout.getConstraints().weighty = 0;           
            final JPanel swingButtonPanel = new JPanel(layout.getLayout());                       
            final IPanel panel = new CommandButtonPanel(swingButtonPanel, layout, enterButton, clearButton, exitButton);           
            panel.constructView();           
            // Set the components on the window //
View Full Code Here

Examples of org.berlin.patterns.swing.app.gui.Components.ILayout.defaultSettings()

            /////////////////////////////////////////
            // Create a new panel
            // with the default layout
            /////////////////////////////////////////
            final ILayout layout = new DefaultLayout();
            layout.defaultSettings();
          
            final JPanel swingPanel = new JPanelResize(layout.getLayout());
            final IPanel panel = new LogAnalyzerPanel((IBasicWindow) this.getBasicWindow(), swingPanel, layout);
            panel.constructView();           
            ((BasicWindow) this.getBasicWindow()).setWindowPanel(panel);
View Full Code Here

Examples of org.berlin.patterns.swing.app.gui.Components.ITextArea.defaultSettings()

            } // End of the if - file exists //       
            final GlobalConfiguration globalConf = new GlobalConfiguration().load(GlobalConfiguration.PATH);
            globalConf.loadFromDynamicScript(propsLocalFile);                       
            // End of load conf //           
            final ITextArea textArea = new OutputTextArea(ta);
            textArea.defaultSettings();
            ta.setEditable(false);
            ((BasicWindow) this.getBasicWindow()).setOutputTextArea(textArea);
            textArea.setText("System Loaded - " + Version.num + (new Date()) + "\nWith action.command set to help, hit the execute button for help.\nAlso visit browser at http://localhost:7181\nParseLogs - the premier way to scan for errors and data in log files\n" + globalConf.getTopMessage() + "\n");     
            return this;
        } // End of the method //
View Full Code Here

Examples of org.berlin.patterns.swing.app.gui.Components.ITextArea.defaultSettings()

         * @return WindowBuilder
         */
        public WindowBuilder withInputCommandArea() {           
            final JTextArea ta = new JTextArea("");
            final ITextArea textArea = new CommandInputArea(ta);                                  
            textArea.defaultSettings();
           
            final Font font = new Font("Courier New", Font.BOLD, 14);
            ta.setFont(font);                                              
            ((BasicWindow) this.getBasicWindow()).setInputTextArea(textArea);
           
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.