Package nextapp.echo2.app

Examples of nextapp.echo2.app.SplitPane


    protected void initForm() {
        super.initForm();

        ButtonGroup radioGroup = new ButtonGroup();
        Column colMain = new Column();
        Row row1 = new Row();
        row1.setAlignment(Alignment.ALIGN_TOP);
        rbNoDate = new JbsRadioButton();
        rbNoDate.setText(JbsL10N.getString("FmSelectDate.noDate"));
        rbNoDate.setGroup(radioGroup);
        row1.add(rbNoDate);
        colMain.add(row1);
        Row row2 = new Row();
        row2.setAlignment(Alignment.ALIGN_TOP);
        rbDate = new JbsRadioButton();
        rbDate.setText(JbsL10N.getString("FmSelectDate.selectDate") + ":");
        rbDate.setGroup(radioGroup);
        row2.add(rbDate);
        colMain.add(row2);
        //Row row3 = new Row();
        dtMain = new DateChooser();
        row2.add(dtMain);
        //colMain.add(row3);
        this.getPnMain().add(colMain);
    }
View Full Code Here


        textField = new JbsTextField();

        this.getTextField().setDisabledBackground(this.getTextField().getBackground());
        this.getTextField().setDisabledForeground(this.getTextField().getForeground());

        Row row = new Row();
        row.add(textField);
        row.add(btnSelect);
        this.add(row);
    }
View Full Code Here

        this.setMaximizable(false);
        this.setKeystrokeListener(this.createKeyStrokeListener());
        this.setPostOnEnterKey(true);
        this.setCancelOnEscKey(true);

        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(45));

        this.add(spMain);
        spMain.add(initPnButtons());

        pnMain = new JbsContentPane();
        spMain.add(pnMain);
    }
View Full Code Here

        super.createControls();
        this.setPnMainCustomers(new PnHierarchyCustomerListPart(this,false));
        this.setPnSubCustomers(new PnHierarchyCustomerListPart(this,true));
        this.getPnSubCustomers().setSearchable(false);
       
        this.setSpTables(new SplitPane());
        this.getSpTables().setOrientation(SplitPane.ORIENTATION_VERTICAL);
        this.getSpTables().setSeparatorPosition(new JbsExtent(350,JbsExtent.PX));
        this.getSpTables().setSeparatorWidth(new JbsExtent(1,JbsExtent.PX));
    }
View Full Code Here

    protected void initWizard() {
        this.setLastDirection(JbsWizard.WZDIR_NONE);
        this.setPages(new ArrayList<JbsWizardPage>());
        this.setKeystrokeListener(this.createKeyStrokeListener());
       
        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(50));
       
        this.add(spMain);
        spMain.add(createPnButtons());

        pnMain = new ContainerEx();
        //pnMain.add(new Label("hallo"));
        spMain.add(pnMain);
        this.setPageIndex(0);
    }
View Full Code Here

    protected void initPanel() {
        pnContent = new ContentPane();
        pnPageTree = new ContentPane();

        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_HORIZONTAL, new JbsExtent(175));
        spMain.setSeparatorWidth(new JbsExtent(1, JbsExtent.PX));
        this.add(spMain);

        spMain.add(pnPageTree);
        spMain.add(pnContent);

        createTree();

        JbsButton btnTest = new JbsButton("Test");
        pnContent.add(btnTest);
View Full Code Here

       
    /**
     * Create your controls here.
     */
    protected void createControls() throws Exception {
        this.setSpMain(new SplitPane());
        this.getSpMain().setOrientation(SplitPane.ORIENTATION_HORIZONTAL_RIGHT_LEFT);
        this.getSpMain().setSeparatorPosition(new JbsExtent(this.STD_TOOLPANEWIDTH,JbsExtent.PX));
        this.getSpMain().setSeparatorWidth(new JbsExtent(1,JbsExtent.PX));
       
        this.setToolPane(this.createToolPane());
View Full Code Here

    protected void initForm() {
        super.initForm();
        this.setMinimizable(false);
        this.setMaximizable(false);

        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(45));

        this.add(spMain);
        spMain.add(initPnButtons());
       
        pnMain = new ContentPane();
       
        //textArea = new TextArea();
        //JbsGrid grdText = new JbsGrid(1);
        //grdText.add(textArea);
       
        colText = new Column();
        pnMain.add(colText);
        spMain.add(pnMain);
    }
View Full Code Here

        super();
        initPanel();
    }

    protected void initPanel() {
        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL, new JbsExtent(23));
        spMain.setSeparatorWidth(new JbsExtent(1, JbsExtent.PX));
        this.add(spMain);

        Row rowTitle = new Row();
        rowTitle.setStyleName("TitlePane");
        Label lblTitle = new Label("OpenJBS");
        lblTitle.setStyleName("TitleLabel.Main");
        rowTitle.add(lblTitle);

        lblModuleName = new Label("");
        lblModuleName.setStyleName("TitleLabel.Main");
        rowTitle.add(lblModuleName);
       
        spMain.add(rowTitle);

        pnModuleArea = new PnModuleArea();

        if ((ClientGlobals.getUser().getStartModule()!=null) && (ClientGlobals.getUser().canRead(ClientGlobals.getUser().getStartModule())))
            pnModuleArea.setPnCurrentModule(ClientGlobals.getUser().getStartModule().getClientPanel());
        else
            pnModuleArea.setPnCurrentModule(new PnWelcome());
       
        SplitPane spApp = new SplitPane(SplitPane.ORIENTATION_HORIZONTAL, new JbsExtent(200));
        spApp.setSeparatorWidth(new JbsExtent(1, JbsExtent.PX));
        spMain.add(spApp);

        PnModules pnModules = new PnModules(pnModuleArea);
        spApp.add(pnModules);

        spApp.add(pnModuleArea);

       
       
        SplitPane spSub = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(23));
        spSub.add(new StatusBar());
        spSub.add(spApp);

        spMain.add(spSub);


    }
View Full Code Here

            public void actionPerformed(ActionEvent arg0) {
                printLetter();
            }
        });
       
        this.setSpMain(new SplitPane());
        this.getSpMain().setOrientation(SplitPane.ORIENTATION_HORIZONTAL_RIGHT_LEFT);
        this.getSpMain().setSeparatorPosition(new JbsExtent(PnModule.STD_TOOLPANEWIDTH,JbsExtent.PX));
        this.getSpMain().setSeparatorWidth(new JbsExtent(1,JbsExtent.PX));
       
        this.setToolPane(new JbsObjectToolPane());
View Full Code Here

TOP

Related Classes of nextapp.echo2.app.SplitPane

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.