Example usage for com.vaadin.ui VerticalLayout VerticalLayout

List of usage examples for com.vaadin.ui VerticalLayout VerticalLayout

Introduction

In this page you can find the example usage for com.vaadin.ui VerticalLayout VerticalLayout.

Prototype

public VerticalLayout() 

Source Link

Document

Constructs an empty VerticalLayout.

Usage

From source file:com.esofthead.mycollab.module.project.view.bug.ComponentFormLayoutFactory.java

License:Open Source License

@Override
public Layout getLayout() {
    final VerticalLayout layout = new VerticalLayout();

    this.gridFormLayout = new GridFormLayoutHelper(2, 3, "100%", "167px", Alignment.TOP_LEFT);
    this.gridFormLayout.getLayout().setWidth("100%");
    this.gridFormLayout.getLayout().setMargin(false);
    this.gridFormLayout.getLayout().addStyleName("colored-gridlayout");
    layout.addComponent(this.gridFormLayout.getLayout());

    return layout;
}

From source file:com.esofthead.mycollab.module.project.view.bug.ComponentListViewImpl.java

License:Open Source License

public ComponentListViewImpl() {
    this.setMargin(new MarginInfo(false, true, false, true));

    this.componentSearchPanel = new ComponentSearchPanel();
    this.addComponent(this.componentSearchPanel);

    this.componentListLayout = new VerticalLayout();
    this.addComponent(this.componentListLayout);

    this.generateDisplayTable();
}

From source file:com.esofthead.mycollab.module.project.view.bug.components.UnresolvedBugsByAssigneeWidget.java

License:Open Source License

public UnresolvedBugsByAssigneeWidget(final IBugReportDisplayContainer componentLayout) {
    super(AppContext.getMessage(BugI18nEnum.WIDGET_UNRESOLVED_BY_ASSIGNEE_TITLE), new VerticalLayout());

    this.componentLayout = componentLayout;
    this.setContentBorder(true);
    ((VerticalLayout) this.bodyContent).setSpacing(true);
    ((VerticalLayout) this.bodyContent).setMargin(true);
}

From source file:com.esofthead.mycollab.module.project.view.bug.components.UnresolvedBugsByAssigneeWidget2.java

License:Open Source License

public UnresolvedBugsByAssigneeWidget2() {
    super(AppContext.getMessage(BugI18nEnum.WIDGET_UNRESOLVED_BY_ASSIGNEE_TITLE), new VerticalLayout());
    this.setContentBorder(true);
    ((VerticalLayout) this.bodyContent).setSpacing(true);
    ((VerticalLayout) this.bodyContent).setMargin(true);
}

From source file:com.esofthead.mycollab.module.project.view.bug.components.UnresolvedBugsByPriorityWidget.java

License:Open Source License

public UnresolvedBugsByPriorityWidget(final IBugReportDisplayContainer componentLayout) {
    super(AppContext.getMessage(BugI18nEnum.WIDGET_UNRESOLVED_BY_PRIORITY_TITLE), new VerticalLayout());

    this.componentLayout = componentLayout;
    this.setContentBorder(true);
    ((VerticalLayout) this.bodyContent).setSpacing(true);
    ((VerticalLayout) this.bodyContent).setMargin(true);
}

From source file:com.esofthead.mycollab.module.project.view.bug.components.UnresolvedBugsByPriorityWidget2.java

License:Open Source License

public UnresolvedBugsByPriorityWidget2() {
    super(AppContext.getMessage(BugI18nEnum.WIDGET_UNRESOLVED_BY_PRIORITY_TITLE), new VerticalLayout());
    this.setContentBorder(true);
    ((VerticalLayout) this.bodyContent).setSpacing(true);
    ((VerticalLayout) this.bodyContent).setMargin(true);
}

From source file:com.esofthead.mycollab.module.project.view.bug.ResolvedInputWindow.java

License:Open Source License

ResolvedInputWindow(final IBugCallbackStatusComp callbackForm, final SimpleBug bug) {
    super("Resolve bug '" + bug.getSummary() + "'");
    this.bug = bug;
    this.callbackForm = callbackForm;

    VerticalLayout contentLayout = new VerticalLayout();
    this.setWidth("800px");
    this.setResizable(false);
    this.setModal(true);
    this.editForm = new EditForm();
    contentLayout.addComponent(this.editForm);
    this.editForm.setBean(bug);

    contentLayout.setMargin(new MarginInfo(false, false, true, false));
    this.setContent(contentLayout);
    this.center();
}

From source file:com.esofthead.mycollab.module.project.view.bug.VersionFormLayoutFactory.java

License:Open Source License

@Override
public Layout getLayout() {
    this.informationLayout = new GridFormLayoutHelper(2, 3, "100%", "167px", Alignment.TOP_LEFT);
    this.informationLayout.getLayout().setWidth("100%");
    this.informationLayout.getLayout().setMargin(false);
    this.informationLayout.getLayout().addStyleName("colored-gridlayout");
    final VerticalLayout layout = new VerticalLayout();
    layout.addComponent(this.informationLayout.getLayout());
    return layout;
}

From source file:com.esofthead.mycollab.module.project.view.bug.VersionListViewImpl.java

License:Open Source License

public VersionListViewImpl() {

    this.setMargin(new MarginInfo(false, true, false, true));

    this.componentSearchPanel = new VersionSearchPanel();
    this.addComponent(this.componentSearchPanel);

    this.componentListLayout = new VerticalLayout();
    this.addComponent(this.componentListLayout);

    this.generateDisplayTable();
}

From source file:com.esofthead.mycollab.module.project.view.bug.WontFixExplainWindow.java

License:Open Source License

WontFixExplainWindow(final IBugCallbackStatusComp callbackForm, final SimpleBug bug) {
    super("Won't fix bug '" + bug.getSummary() + "'");
    this.bug = bug;
    this.callbackForm = callbackForm;
    this.setWidth("750px");
    this.setResizable(false);
    this.setModal(true);

    VerticalLayout contentLayout = new VerticalLayout();
    contentLayout.setMargin(new MarginInfo(false, false, true, false));

    EditForm editForm = new EditForm();
    contentLayout.addComponent(editForm);
    editForm.setBean(bug);// w  w w.j a v a 2  s.c  om
    this.setContent(contentLayout);
    this.center();
}