本文整理汇总了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;
}
示例2: closeFragmentsView
import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void closeFragmentsView(CloseEvent event) {
this.isFragmentsViewActive = false;
}
示例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);
}
示例4: handleRecordingHistoryDlgClose
import org.primefaces.event.CloseEvent; //导入依赖的package包/类
public void handleRecordingHistoryDlgClose(CloseEvent event) {
selectedRecordingHistory = null;
selectedRecordingHistoryList = null;
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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!");
}
示例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!");
}