Search in sources :

Example 6 with CssLayout

use of com.vaadin.ui.CssLayout in project Activiti by Activiti.

the class MainLayout method initMain.

protected void initMain() {
    main = new CssLayout();
    main.setSizeFull();
    main.addStyleName(ExplorerLayout.STYLE_MAIN_CONTENT);
    addComponent(main);
    setExpandRatio(main, 1.0f);
}
Also used : CssLayout(com.vaadin.ui.CssLayout)

Example 7 with CssLayout

use of com.vaadin.ui.CssLayout in project Activiti by Activiti.

the class MainLayout method initHeader.

protected void initHeader() {
    header = new CssLayout();
    header.addStyleName(ExplorerLayout.STYLE_HEADER);
    header.setWidth(100, UNITS_PERCENTAGE);
    addComponent(header);
}
Also used : CssLayout(com.vaadin.ui.CssLayout)

Example 8 with CssLayout

use of com.vaadin.ui.CssLayout in project Activiti by Activiti.

the class MainLayout method initFooter.

protected void initFooter() {
    footer = new CssLayout();
    footer.setWidth(100, UNITS_PERCENTAGE);
    footer.addStyleName(ExplorerLayout.STYLE_MAIN_FOOTER);
    addComponent(footer);
    Label footerLabel = new Label();
    footerLabel.setContentMode(Label.CONTENT_XHTML);
    footerLabel.setValue(i18nManager.getMessage(Messages.FOOTER_MESSAGE));
    footerLabel.setWidth(100, UNITS_PERCENTAGE);
    footer.addComponent(footerLabel);
}
Also used : CssLayout(com.vaadin.ui.CssLayout) Label(com.vaadin.ui.Label)

Example 9 with CssLayout

use of com.vaadin.ui.CssLayout in project Activiti by Activiti.

the class TaskListHeader method initInputField.

protected void initInputField() {
    // Csslayout is used to style inputtext as rounded
    CssLayout csslayout = new CssLayout();
    csslayout.setHeight(24, UNITS_PIXELS);
    csslayout.setWidth(100, UNITS_PERCENTAGE);
    layout.addComponent(csslayout);
    inputField = new TextField();
    inputField.setWidth(100, UNITS_PERCENTAGE);
    inputField.addStyleName(ExplorerLayout.STYLE_SEARCHBOX);
    inputField.setInputPrompt(i18nManager.getMessage(Messages.TASK_CREATE_NEW));
    inputField.focus();
    csslayout.addComponent(inputField);
    layout.setComponentAlignment(csslayout, Alignment.MIDDLE_LEFT);
    layout.setExpandRatio(csslayout, 1.0f);
}
Also used : CssLayout(com.vaadin.ui.CssLayout) TextField(com.vaadin.ui.TextField)

Aggregations

CssLayout (com.vaadin.ui.CssLayout)9 Label (com.vaadin.ui.Label)4 LayoutClickEvent (com.vaadin.event.LayoutEvents.LayoutClickEvent)2 LayoutClickListener (com.vaadin.event.LayoutEvents.LayoutClickListener)2 Button (com.vaadin.ui.Button)2 ClickEvent (com.vaadin.ui.Button.ClickEvent)2 ClickListener (com.vaadin.ui.Button.ClickListener)2 Component (com.vaadin.ui.Component)2 VerticalLayout (com.vaadin.ui.VerticalLayout)2 PrettyTimeLabel (org.activiti.explorer.ui.custom.PrettyTimeLabel)2 ClaimTaskClickListener (org.activiti.explorer.ui.task.listener.ClaimTaskClickListener)2 TextArea (com.vaadin.ui.TextArea)1 TextField (com.vaadin.ui.TextField)1 Map (java.util.Map)1 TaskFormData (org.activiti.engine.form.TaskFormData)1 FormPropertiesEventListener (org.activiti.explorer.ui.form.FormPropertiesEventListener)1 FormPropertiesForm (org.activiti.explorer.ui.form.FormPropertiesForm)1 FormPropertiesEvent (org.activiti.explorer.ui.form.FormPropertiesForm.FormPropertiesEvent)1 SurveillanceViewAlarmTable (org.opennms.features.vaadin.surveillanceviews.ui.dashboard.SurveillanceViewAlarmTable)1 SurveillanceViewGraphComponent (org.opennms.features.vaadin.surveillanceviews.ui.dashboard.SurveillanceViewGraphComponent)1