Examples of VerticalPanel


Examples of com.google.gwt.user.client.ui.VerticalPanel

        getNotes();
    }

    private VerticalPanel createForm() {

        final VerticalPanel form = new VerticalPanel();
        form.setStyleName("formPanel");

        final HorizontalPanel titleLine = new HorizontalPanel();
        final HTML textNoteTitle = new HTML("Title: ");
        textNoteTitle.setWidth("50px");
        titleLine.add(textNoteTitle);
        titleLine.add(inputNoteTitle);

        final HorizontalPanel textLine = new HorizontalPanel();
        final HTML textNoteText = new HTML("Note: ");
        textNoteText.setWidth("50px");
        textLine.add(textNoteText);
        textLine.add(inputNoteText);

        form.add(titleLine);
        form.add(textLine);
        form.add(createButtons());

        return form;
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.VerticalPanel

    private CollegeEntry collegeEntry;

    public ProConDispPanel(String string, List<String> list,
            CollegeEntry collegeEntry) {
        this.collegeEntry = collegeEntry;
        mainPanel = new VerticalPanel();
        mainPanel.add(new Label(string));
        for (String str : list) {
            addRow(str);
        }
View Full Code Here

Examples of com.google.gwt.user.client.ui.VerticalPanel

            Application application) {

        this.serviceCache = serviceCache;
        this.application = application;

        VerticalPanel mainPanel = new VerticalPanel();

        Grid ratingGrid = new Grid(thisUser.getRatingTypes().size(), 2);

        int row = 0;
        for (RatingType ratingType : thisUser.getRatingTypes()) {

            ratingGrid.setWidget(row, 0, new Label(ratingType.getName()));

            int rating = application.getRating(ratingType);

            RatingChooser chooser = new RatingChooser(ratingType, rating);
            chooser.addChangeListener(this);
            ratingGrid.setWidget(row, 1, chooser);

            row++;
        }
        mainPanel.add(ratingGrid);

        initWidget(mainPanel);
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.VerticalPanel

            .getPercentFormat();
    private VerticalPanel rankPanel;
    private User thisUser;

    public SchoolRanks() {
        VerticalPanel mainPanel = new VerticalPanel();
        mainPanel.add(new Label("Rankings"));

        rankPanel = new VerticalPanel();

        mainPanel.add(rankPanel);

        initWidget(mainPanel);
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.VerticalPanel

    grid.setWidget(0, 1, columnIndexBox);
    grid.setWidget(0, 2, stretchButton);
    grid.setHTML(0, 3, DESC_STRETCH);

    // Width options
    VerticalPanel widthContainer = new VerticalPanel();
    widthContainer.add(columnWidthBox);
    widthContainer.add(guaranteedCheck);
    columnWidthBox.setWidth("70px");
    columnWidthBox.setText("10");
    grid.setHTML(1, 0, "<B>Width:</B>");
    grid.setWidget(1, 1, widthContainer);
    grid.setWidget(1, 2, resizeButton);
View Full Code Here

Examples of com.google.gwt.user.client.ui.VerticalPanel

    private CreatePostButton createB;

    public ForumDisplay(ForumApp forumApp) {
        this.forumApp = forumApp;
        allPosts = new VerticalPanel();
        allPosts.setStylePrimaryName("ForumPosts");
        initWidget(allPosts);
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.VerticalPanel

        Log.error("e: " + e);

        e.printStackTrace();

        VerticalPanel panel = new VerticalPanel();

        panel.add(new Label("Error"));
        panel.add(new Label(e.getMessage()));

        RootPanel.get(getPreLoadID()).setVisible(false);
        RootPanel.get(getLoadID()).add(panel);
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.VerticalPanel

            HorizontalPanel mainP = new HorizontalPanel();

            FlowPanel authorSide = new FlowPanel();
            authorSide.setStylePrimaryName("AuthorSide");
            VerticalPanel postSide = new VerticalPanel();
            postSide.setStylePrimaryName("PostSide");

            authorSide.add(new Label("Author: "));
            UserLink author = new UserLink(post.getAuthor());
            authorSide.add(author);

            Label date = new Label(df.format(post.getDate()));
            date.addStyleDependentName("Date");
            authorSide.add(date);

            Label postT = new Label(post.getPostTitle());
            postT.addStyleDependentName("title");
            postSide.add(postT);

            Label postS = new HTML(post.getPostString());
            postSide.add(postS);

            mainP.add(authorSide);
            mainP.add(postSide);

            initWidget(mainP);
View Full Code Here

Examples of org.apache.jmeter.gui.util.VerticalPanel

        pane.setLayout(new BorderLayout(10,10));
        pane.setBackground(Color.white);
        pane.add(this.getNamePanel(),BorderLayout.NORTH);

        meanCheck.addChangeListener(this);
        VerticalPanel options = new VerticalPanel(Color.white);
        meanCheck.setBackground(Color.white);
        medianCheck.setBackground(Color.white);
        maxCheck.setBackground(Color.white);
        minCheck.setBackground(Color.white);
        responseRateCheck.setBackground(Color.white);
        transferRateCheck.setBackground(Color.white);
        fiftypercentCheck.setBackground(Color.white);
        nintypercentCheck.setBackground(Color.white);
        errorRateCheck.setBackground(Color.white);
        options.add(meanCheck);
        options.add(medianCheck);
        options.add(maxCheck);
        options.add(minCheck);
        options.add(responseRateCheck);
        options.add(transferRateCheck);
        options.add(fiftypercentCheck);
        options.add(nintypercentCheck);
        options.add(errorRateCheck);

        add(pane,BorderLayout.NORTH);
        add(options,BorderLayout.CENTER);
    }
View Full Code Here

Examples of org.apache.jmeter.gui.util.VerticalPanel

        JPanel pane = new JPanel();
        pane.setLayout(new BorderLayout(10,10));
        pane.setBackground(Color.white);
        pane.add(this.getNamePanel(),BorderLayout.NORTH);

        VerticalPanel options = new VerticalPanel(Color.white);
        yAxisLabel.setBackground(Color.white);

        JLabel xLabel = new JLabel(JMeterUtils.getResString("report_chart_x_axis"));
        HorizontalPanel xpanel = new HorizontalPanel(Color.white);
        xLabel.setBorder(new EmptyBorder(5,2,5,2));
        xItems.setBackground(Color.white);
        xItems.setValues(AbstractTable.xitems);
        xpanel.add(xLabel);
        xpanel.add(xItems);
        options.add(xpanel);

        JLabel xALabel = new JLabel(JMeterUtils.getResString("report_chart_x_axis_label"));
        HorizontalPanel xApanel = new HorizontalPanel(Color.white);
        xALabel.setBorder(new EmptyBorder(5,2,5,2));
        xAxisLabel.setBackground(Color.white);
        xAxisLabel.setValues(AbstractChart.X_LABELS);
        xApanel.add(xALabel);
        xApanel.add(xAxisLabel);
        options.add(xApanel);

        JLabel yLabel = new JLabel(JMeterUtils.getResString("report_chart_y_axis"));
        HorizontalPanel ypanel = new HorizontalPanel(Color.white);
        yLabel.setBorder(new EmptyBorder(5,2,5,2));
        yItems.setBackground(Color.white);
        yItems.setValues(AbstractTable.items);
        ypanel.add(yLabel);
        ypanel.add(yItems);
        options.add(ypanel);
        options.add(yAxisLabel);
        options.add(caption);
        options.add(urls);

        add(pane,BorderLayout.NORTH);
        add(options,BorderLayout.CENTER);
    }
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.