Search in sources :

Example 21 with VerticalLayout

use of com.vaadin.ui.VerticalLayout in project opennms by OpenNMS.

the class RrdField method initContent.

/* (non-Javadoc)
     * @see com.vaadin.ui.CustomField#initContent()
     */
@Override
public Component initContent() {
    VerticalLayout layout = new VerticalLayout();
    layout.addComponent(step);
    layout.addComponent(table);
    layout.addComponent(toolbar);
    layout.setComponentAlignment(toolbar, Alignment.MIDDLE_RIGHT);
    return layout;
}
Also used : VerticalLayout(com.vaadin.ui.VerticalLayout)

Example 22 with VerticalLayout

use of com.vaadin.ui.VerticalLayout in project opennms by OpenNMS.

the class MaskElementField method initContent.

/* (non-Javadoc)
     * @see com.vaadin.ui.CustomField#initContent()
     */
@Override
public Component initContent() {
    final VerticalLayout layout = new VerticalLayout();
    layout.addComponent(table);
    layout.addComponent(toolbar);
    layout.setComponentAlignment(toolbar, Alignment.MIDDLE_RIGHT);
    return layout;
}
Also used : VerticalLayout(com.vaadin.ui.VerticalLayout)

Example 23 with VerticalLayout

use of com.vaadin.ui.VerticalLayout in project opennms by OpenNMS.

the class MaskVarbindField method initContent.

/* (non-Javadoc)
     * @see com.vaadin.ui.CustomField#initContent()
     */
@Override
public Component initContent() {
    VerticalLayout layout = new VerticalLayout();
    layout.addComponent(table);
    layout.addComponent(toolbar);
    layout.setComponentAlignment(toolbar, Alignment.MIDDLE_RIGHT);
    return layout;
}
Also used : VerticalLayout(com.vaadin.ui.VerticalLayout)

Example 24 with VerticalLayout

use of com.vaadin.ui.VerticalLayout in project opennms by OpenNMS.

the class VarbindsDecodeField method initContent.

/* (non-Javadoc)
     * @see com.vaadin.ui.CustomField#initContent()
     */
@Override
public Component initContent() {
    VerticalLayout layout = new VerticalLayout();
    layout.addComponent(table);
    layout.addComponent(toolbar);
    layout.setComponentAlignment(toolbar, Alignment.MIDDLE_RIGHT);
    return layout;
}
Also used : VerticalLayout(com.vaadin.ui.VerticalLayout)

Example 25 with VerticalLayout

use of com.vaadin.ui.VerticalLayout in project opennms by OpenNMS.

the class SurveillanceViewsConfigUI method init.

/**
     * {@inheritDoc}
     */
@Override
protected void init(VaadinRequest request) {
    /**
         * Force the reload of the configuration
         */
    SurveillanceViewProvider.getInstance().load();
    /**
         * Create the basic layout
         */
    VerticalLayout rootLayout = new VerticalLayout();
    rootLayout.setSizeFull();
    rootLayout.setSpacing(true);
    rootLayout.addComponent(new SurveillanceViewsConfigList(m_surveillanceViewService));
    setContent(rootLayout);
}
Also used : VerticalLayout(com.vaadin.ui.VerticalLayout)

Aggregations

VerticalLayout (com.vaadin.ui.VerticalLayout)75 Label (com.vaadin.ui.Label)33 HorizontalLayout (com.vaadin.ui.HorizontalLayout)21 Link (com.vaadin.ui.Link)13 Button (com.vaadin.ui.Button)12 ExternalResource (com.vaadin.server.ExternalResource)9 ClickEvent (com.vaadin.ui.Button.ClickEvent)8 PostConstruct (javax.annotation.PostConstruct)8 Panel (com.vaadin.ui.Panel)7 ClickListener (com.vaadin.ui.Button.ClickListener)6 Embedded (com.vaadin.ui.Embedded)5 ExternalResource (com.vaadin.terminal.ExternalResource)4 StreamResource (com.vaadin.terminal.StreamResource)4 LayoutClickEvent (com.vaadin.event.LayoutEvents.LayoutClickEvent)3 LayoutClickListener (com.vaadin.event.LayoutEvents.LayoutClickListener)3 InputStream (java.io.InputStream)3 PrettyTimeLabel (org.activiti.explorer.ui.custom.PrettyTimeLabel)3 Resource (com.vaadin.terminal.Resource)2 StreamSource (com.vaadin.terminal.StreamResource.StreamSource)2 CssLayout (com.vaadin.ui.CssLayout)2