本文整理汇总了Java中org.primefaces.event.ToggleEvent类的典型用法代码示例。如果您正苦于以下问题:Java ToggleEvent类的具体用法?Java ToggleEvent怎么用?Java ToggleEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ToggleEvent类属于org.primefaces.event包,在下文中一共展示了ToggleEvent类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: onEntityToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void onEntityToggle(ToggleEvent e) {
try {
this.columnVisibilityList.set(((Integer) e.getData() - 1), e.getVisibility() == Visibility.VISIBLE);
}
catch (Exception err) {
this.messageUtil.error(err);
}
}
开发者ID:ddRPB,项目名称:rpb,代码行数:9,代码来源:CrudEntityViewModel.java
示例2: onSubjectEntityToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void onSubjectEntityToggle(ToggleEvent e) {
try {
this.subjectsColumnVisibilityList.set(((Integer) e.getData() - 1), e.getVisibility() == Visibility.VISIBLE);
}
catch (Exception err) {
this.messageUtil.error(err);
}
}
开发者ID:ddRPB,项目名称:rpb,代码行数:9,代码来源:OCStudyBean.java
示例3: onEventEntityToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void onEventEntityToggle(ToggleEvent e) {
try {
this.eventsColumnVisibilityList.set(((Integer) e.getData() - 1), e.getVisibility() == Visibility.VISIBLE);
}
catch (Exception err) {
this.messageUtil.error(err);
}
}
开发者ID:ddRPB,项目名称:rpb,代码行数:9,代码来源:OCStudyBean.java
示例4: onDicomStudyEntityToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void onDicomStudyEntityToggle(ToggleEvent e) {
try {
this.dicomStudyColumnVisibilityList.set(((Integer) e.getData() - 1), e.getVisibility() == Visibility.VISIBLE);
}
catch (Exception err) {
this.messageUtil.error(err);
}
}
开发者ID:ddRPB,项目名称:rpb,代码行数:9,代码来源:DicomPatientStudyBean.java
示例5: onRowToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void onRowToggle(ToggleEvent event) {
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO,
"Row State " + event.getVisibility(),
"Model:" + ((Car) event.getData()).getModel());
FacesContext.getCurrentInstance().addMessage(null, msg);
}
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:8,代码来源:TableBean.java
示例6: handleToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
/**
* Action de cacher ou afficher un menu
* @param event {@link ToogleEvent} - Evénement déclencheur
*/
public void handleToggle(ToggleEvent event)
{
if(event.getComponent().getAttributes().get("id").equals(UserLogin.menuLeftID))
{
this.menuLeftClosed=event.getVisibility().equals(Visibility.HIDDEN);
}
else if(event.getComponent().getAttributes().get("id").equals(UserLogin.menuRightID))
{
this.menuRightClosed=event.getVisibility().equals(Visibility.HIDDEN);
}
}
开发者ID:nemolovich,项目名称:MSM,代码行数:16,代码来源:UserLogin.java
示例7: onRowToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void onRowToggle(ToggleEvent event) {
log.log(Level.INFO, ":: onRowToggle enter");
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, "Row State " + event.getVisibility(), "Model Template :" + ((ModelTemplate) event.getData()).getId());
FacesContext.getCurrentInstance().addMessage(null, msg);
}
开发者ID:itesla,项目名称:ipst,代码行数:6,代码来源:ModelTemplateContainerController.java
示例8: handleToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void handleToggle(ToggleEvent event) {
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, event.getComponent().getId() + " toggled", "Status:" + event.getVisibility().name());
addMessage(message);
}
开发者ID:rcandidosilva,项目名称:paas-iot-platform,代码行数:6,代码来源:SampleDashboardController.java
示例9: onRowToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void onRowToggle(ToggleEvent event) {
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, "Selected Vehicle", "Manufacturer:" + ((Vehicle) event.getData()).getManufacturer());
FacesContext.getCurrentInstance().addMessage(null, msg);
}
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:5,代码来源:VehicleTableController.java
示例10: handleToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void handleToggle(ToggleEvent event) {
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, event.getComponent().getId() + " toggled", "Status:" + event.getVisibility().name());
addMessage(message);
}
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:6,代码来源:PanelBean.java
示例11: handleToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void handleToggle(ToggleEvent event) {
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, ((LayoutUnit)event.getComponent()).getPosition() + " toggled", "Status:" + event.getVisibility().name());
addMessage(message);
}
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:6,代码来源:LayoutBean.java
示例12: handleToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void handleToggle(ToggleEvent event) {
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, "Fieldset Toggled", "Visibility:" + event.getVisibility());
FacesContext.getCurrentInstance().addMessage(null, msg);
}
开发者ID:websphere,项目名称:PrimefacesShowcase,代码行数:6,代码来源:FieldsetBean.java
示例13: handleToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
public void handleToggle(ToggleEvent event) {
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, ((LayoutUnit)event.getComponent()).getPosition() + " toggled", "Status:" + event.getVisibility().name());
addMessage(message);
}
开发者ID:diokey,项目名称:ums,代码行数:6,代码来源:LayoutBean.java
示例14: onRowToggle
import org.primefaces.event.ToggleEvent; //导入依赖的package包/类
/**
*
*
* @param event
*/
public void onRowToggle(ToggleEvent event) {
// ...
}
开发者ID:UniversityOfWuerzburg-ChairCompSciVI,项目名称:ueps,代码行数:9,代码来源:ExGroupTableBean.java
注:本文中的org.primefaces.event.ToggleEvent类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论