Java Code Examples for com.vaadin.server.FontAwesome#PLUS

The following examples show how to use com.vaadin.server.FontAwesome#PLUS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ZookeeperConsumerManageUI.java    From dubbox with Apache License 2.0 5 votes vote down vote up
/**
 * 创建添加按钮
 * @return
 */
private Button createAddButton() {
    Button addButton = new Button("添加", FontAwesome.PLUS);
    addButton.addStyleName(ValoTheme.BUTTON_FRIENDLY);
    addButton.addClickListener((Button.ClickListener) clickEvent ->{
        zookeeperConsumerAddUI.clearForm();
        UI.getCurrent().addWindow(zookeeperConsumerAddUI);
    });
    return addButton;
}
 
Example 2
Source File: ZookeeperAppManageUI.java    From dubbox with Apache License 2.0 5 votes vote down vote up
/**
 * 创建添加按钮
 * @return
 */
private Button createAddButton() {
    Button addButton = new Button("添加",FontAwesome.PLUS);
    addButton.addStyleName(ValoTheme.BUTTON_FRIENDLY);
    addButton.addClickListener((Button.ClickListener) clickEvent ->{
        zookeeperAppAddUI.clearForm();
        UI.getCurrent().addWindow(zookeeperAppAddUI);
    });
    return addButton;
}
 
Example 3
Source File: ZookeeperProviderManageUI.java    From dubbox with Apache License 2.0 5 votes vote down vote up
/**
 * 创建添加按钮
 * @return
 */
private Button createAddButton() {
    Button addButton = new Button("添加", FontAwesome.PLUS);
    addButton.addStyleName(ValoTheme.BUTTON_FRIENDLY);
    addButton.addClickListener((Button.ClickListener) clickEvent ->{
        zookeeperProviderAddUI.clearForm();
        UI.getCurrent().addWindow(zookeeperProviderAddUI);
    });
    return addButton;
}
 
Example 4
Source File: ZookeeperConsumerManageUI.java    From dubbo-switch with Apache License 2.0 5 votes vote down vote up
/**
 * 创建添加按钮
 * @return
 */
private Button createAddButton() {
    Button addButton = new Button("添加", FontAwesome.PLUS);
    addButton.addStyleName(ValoTheme.BUTTON_FRIENDLY);
    addButton.addClickListener((Button.ClickListener) clickEvent ->{
        zookeeperConsumerAddUI.clearForm();
        UI.getCurrent().addWindow(zookeeperConsumerAddUI);
    });
    return addButton;
}
 
Example 5
Source File: ZookeeperAppManageUI.java    From dubbo-switch with Apache License 2.0 5 votes vote down vote up
/**
 * 创建添加按钮
 * @return
 */
private Button createAddButton() {
    Button addButton = new Button("添加",FontAwesome.PLUS);
    addButton.addStyleName(ValoTheme.BUTTON_FRIENDLY);
    addButton.addClickListener((Button.ClickListener) clickEvent ->{
        zookeeperAppAddUI.clearForm();
        UI.getCurrent().addWindow(zookeeperAppAddUI);
    });
    return addButton;
}
 
Example 6
Source File: ZookeeperProviderManageUI.java    From dubbo-switch with Apache License 2.0 5 votes vote down vote up
/**
 * 创建添加按钮
 * @return
 */
private Button createAddButton() {
    Button addButton = new Button("添加", FontAwesome.PLUS);
    addButton.addStyleName(ValoTheme.BUTTON_FRIENDLY);
    addButton.addClickListener((Button.ClickListener) clickEvent ->{
        zookeeperProviderAddUI.clearForm();
        UI.getCurrent().addWindow(zookeeperProviderAddUI);
    });
    return addButton;
}