本文整理汇总了Java中org.zkoss.zul.Messagebox.YES属性的典型用法代码示例。如果您正苦于以下问题:Java Messagebox.YES属性的具体用法?Java Messagebox.YES怎么用?Java Messagebox.YES使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.zkoss.zul.Messagebox
的用法示例。
在下文中一共展示了Messagebox.YES属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DeleteAlert
protected DeleteAlert(int num) throws InterruptedException {
super(
"Please, confirm that you want to delete the documents matching this query: "
+ request.getQueryString() + ". " + num
+ " document(s) will be erased", Messagebox.YES
| Messagebox.NO, Messagebox.QUESTION);
}
示例2: DeleteAlert
protected DeleteAlert(UrlFilterItem urlFilterItem)
throws InterruptedException {
super("Please, confirm that you want to delete the URL filter: "
+ urlFilterItem.getName(), Messagebox.YES | Messagebox.NO,
Messagebox.QUESTION);
this.urlFilterItem = urlFilterItem;
}
示例3: DeleteReportFileAlert
protected DeleteReportFileAlert(String reportFileName)
throws InterruptedException {
super("Please, confirm that you want to delete the reports file "
+ reportFileName
+ ". The File will be deleted from the filesystem",
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
this.reportFileName = reportFileName;
}
示例4: onEvent
@Override
public void onEvent(Event event) throws Exception {
switch (((Integer) event.getData()).intValue()) {
case Messagebox.OK:
onOk();
break;
case Messagebox.ABORT:
onAbort();
break;
case Messagebox.CANCEL:
onCancellation();
break;
case Messagebox.IGNORE:
onIgnore();
break;
case Messagebox.YES:
onYes();
break;
case Messagebox.NO:
onNo();
break;
case Messagebox.RETRY:
onRetry();
break;
}
if (redirection != null)
Executions.getCurrent().sendRedirect(redirection);
}
示例5: DeleteAlert
protected DeleteAlert(Analyzer deleteAnalyzer)
throws InterruptedException {
super("Please, confirm that you want to delete the analyzer: "
+ deleteAnalyzer.getName() + " "
+ deleteAnalyzer.getLang().getName(), Messagebox.YES
| Messagebox.NO, Messagebox.QUESTION);
this.deleteAnalyzer = deleteAnalyzer;
}
示例6: DeleteAlert
protected DeleteAlert(ParserFactory deleteParser)
throws InterruptedException {
super("Please, confirm that you want to delete the parser: "
+ deleteParser.getParserName(), Messagebox.YES
| Messagebox.NO, Messagebox.QUESTION);
this.deleteParser = deleteParser;
}
示例7: Tournament
public void onClick$newTournament (Event e){
int ret = Messagebox.show(LangUtils.getMessage(LangEnum.RESET), "Reset", Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
if(ret == Messagebox.YES){
Tournament t = new Tournament();
session.setAttribute("tournament", t);
deleteTabs();
}
((Tab) page.getFellowIfAny("playerTab")).setSelected(true);
binder.loadAll();
}
示例8:
public void onClick$deleteRound(Event e){
int ret = Messagebox.show(LangUtils.getMessage(LangEnum.DELETE_ROUND_MESSAGE), LangUtils.getMessage(LangEnum.DELETE_ROUND_TITLE), Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
if(ret == Messagebox.YES){
Events.postEvent("onDeleteRound", page.getFellow("divIndex"),round.roundNumber);
}
}
示例9: EraseIndexAlert
protected EraseIndexAlert(String indexName) throws InterruptedException {
super("Please, confirm that you want to erase the index: "
+ indexName + ". All the datas will be erased",
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
this.indexName = indexName;
}
示例10: RemoveAlert
public RemoveAlert(String selectedRequest) throws InterruptedException {
super("Please, confirm you want to remove the request: "
+ selectedRequest, Messagebox.CANCEL | Messagebox.YES,
Messagebox.QUESTION);
this.selectedRequest = selectedRequest;
}
示例11: DeleteAlert
protected DeleteAlert(T deleteItem) throws InterruptedException {
super("Please, confirm that you want to delete the item: "
+ deleteItem.getPattern() + " " + deleteItem.getName(),
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
this.deleteItem = deleteItem;
}
示例12: DeleteAlert
protected DeleteAlert(SiteMapItem siteMapItem) throws InterruptedException {
super("Please, confirm that you want to delete the Site Map URL: " + siteMapItem.getUri(),
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
this.siteMapItem = siteMapItem;
}
示例13: DeleteAlert
protected DeleteAlert(CredentialItem deleteCredential) throws InterruptedException {
super("Please, confirm that you want to delete the credential: " + deleteCredential.getPattern(),
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
this.deleteCredential = deleteCredential;
}
示例14: DeleteAlert
protected DeleteAlert(C deleteCrawl) throws InterruptedException {
super("Please, confirm that you want to delete the crawl process: " + deleteCrawl,
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
this.deleteCrawl = deleteCrawl;
}
示例15: DeleteAlert
protected DeleteAlert(FilePathItem deleteFilePath) throws InterruptedException {
super("Please, confirm that you want to delete the location: " + deleteFilePath.toString(),
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
this.deleteFilePath = deleteFilePath;
}