本文整理匯總了Java中com.vaadin.server.FontAwesome.SEARCH屬性的典型用法代碼示例。如果您正苦於以下問題:Java FontAwesome.SEARCH屬性的具體用法?Java FontAwesome.SEARCH怎麽用?Java FontAwesome.SEARCH使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類com.vaadin.server.FontAwesome
的用法示例。
在下文中一共展示了FontAwesome.SEARCH屬性的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: SearchAnneeUnivApoField
/**
* Constructeur, initialisation du champs
* @param libelleBtnFind
*/
public SearchAnneeUnivApoField(String libelleBtnFind) {
super();
layout = new HorizontalLayout();
layout.setSpacing(true);
anneeField = new TextField();
anneeField.addValueChangeListener(e->showOrHideError());
anneeField.setNullRepresentation("");
anneeField.setReadOnly(true);
btnSearch = new OneClickButton(libelleBtnFind,FontAwesome.SEARCH);
btnSearch.addClickListener(e->{
SearchAnneeUnivApoWindow window = new SearchAnneeUnivApoWindow();
window.addAnneeUniListener(a->changeFieldValue(a));
UI.getCurrent().addWindow(window);
});
layout.addComponent(anneeField);
layout.addComponent(btnSearch);
}
示例2: createSearchButton
/**
* 創建查詢按鈕
* @return
*/
private Button createSearchButton() {
searchButton = new Button("查詢",FontAwesome.SEARCH);
searchButton.setStyleName(ValoTheme.BUTTON_PRIMARY);
searchButton.addClickListener((Button.ClickListener) clickEvent -> {
search();
});
return searchButton;
}
示例3: initButtons
private void initButtons(){
addButton= new Button(FontAwesome.PLUS);
editButton= new Button(FontAwesome.EDIT);
deleteButton= new Button(FontAwesome.TRASH_O);
queryButton= new Button(FontAwesome.SEARCH);
addComponents(addButton, editButton, deleteButton, queryButton);
}