当前位置: 首页>>代码示例>>Java>>正文


Java CloseEvent类代码示例

本文整理汇总了Java中org.primefaces.event.CloseEvent的典型用法代码示例。如果您正苦于以下问题:Java CloseEvent类的具体用法?Java CloseEvent怎么用?Java CloseEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


CloseEvent类属于org.primefaces.event包,在下文中一共展示了CloseEvent类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: closeSpectrumView

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void closeSpectrumView(CloseEvent event) {
	this.isSpectrumViewActive = false;
}
 
开发者ID:c-ruttkies,项目名称:MetFragRelaunched,代码行数:4,代码来源:MetFragWebBean.java

示例2: closeFragmentsView

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void closeFragmentsView(CloseEvent event) {
	this.isFragmentsViewActive = false;
}
 
开发者ID:c-ruttkies,项目名称:MetFragRelaunched,代码行数:4,代码来源:MetFragWebBean.java

示例3: handleClose

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void handleClose(CloseEvent event) {
    FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, "Panel Closed", "Closed panel id:'" + event.getComponent().getId() + "'");

    addMessage(message);
}
 
开发者ID:rcandidosilva,项目名称:paas-iot-platform,代码行数:6,代码来源:SampleDashboardController.java

示例4: handleRecordingHistoryDlgClose

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void handleRecordingHistoryDlgClose(CloseEvent event) {
    selectedRecordingHistory = null;
    selectedRecordingHistoryList = null;
}
 
开发者ID:Comcast,项目名称:cats,代码行数:5,代码来源:SettopRecordingController.java

示例5: handleClose

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void handleClose(CloseEvent event) {
	FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, "Panel Closed", "Closed panel id:'" + event.getComponent().getId() + "'");
	
	addMessage(message);
}
 
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:6,代码来源:PanelBean.java

示例6: handleClose

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void handleClose(CloseEvent event) {
	FacesContext facesContext = FacesContext.getCurrentInstance();
	FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, event.getComponent().getId() + " closed", "So you don't like nature?");
	
	facesContext.addMessage(null, message);
}
 
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:7,代码来源:DialogBean.java

示例7: handleClose

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void handleClose(CloseEvent event) {
	FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, "Unit Closed", "Position:'" + ((LayoutUnit)event.getComponent()).getPosition() + "'");
	
	addMessage(message);
}
 
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:6,代码来源:LayoutBean.java

示例8: handleClose

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void handleClose(CloseEvent event) {
       FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, "Unit Closed", "Position:'" + ((LayoutUnit)event.getComponent()).getPosition() + "'");
       
       addMessage(message);
}
 
开发者ID:diokey,项目名称:ums,代码行数:6,代码来源:LayoutBean.java

示例9: activityEvent

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
/**
 * M�todo Callback referente à retomada de atividade. Este m�todo � acionado
 * ao fechado a mensagem de di�logo sobre inatividade na tela.
 * 
 * @param facesEvent
 */
public void activityEvent(CloseEvent facesEvent) {
	addMessage(FacesMessage.SEVERITY_INFO, "Timeout de sess�o reiniciado!");
}
 
开发者ID:darciopacifico,项目名称:omr,代码行数:10,代码来源:AbstractJSFBeanImpl.java

示例10: activityEvent

import org.primefaces.event.CloseEvent; //导入依赖的package包/类
/**
 * Método Callback referente à retomada de atividade. Este método é acionado
 * ao fechado a mensagem de diálogo sobre inatividade na tela.
 * 
 * @param facesEvent
 */
public void activityEvent(CloseEvent facesEvent) {
	addMessage(FacesMessage.SEVERITY_INFO, "Timeout de sessão reiniciado!");
}
 
开发者ID:darciopacifico,项目名称:omr,代码行数:10,代码来源:AbstractJSFBeanImpl.java


注:本文中的org.primefaces.event.CloseEvent类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。