• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ToggleEvent类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Hotbar类代码示例发布时间:2022-05-23
下一篇:
Java SetBucketLoggingConfigurationRequest类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap