Package org.primefaces.facelets

Examples of org.primefaces.facelets.MethodRule


 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("closeListener", null, new Class[]{CloseEvent.class}));
    metaRuleset.addRule(new MethodRule("toggleListener", null, new Class[]{ToggleEvent.class}));
   
    return metaRuleset; 
  }
View Full Code Here


  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] dateSelectEventClass = new Class[]{DateSelectEvent.class};
   
    metaRuleset.addRule(new MethodRule("selectListener", null, dateSelectEventClass));
   
    return metaRuleset;
  }
View Full Code Here

    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] selectEventClasses = new Class[]{NodeSelectEvent.class};
    Class[] expandEventClasses = new Class[]{NodeExpandEvent.class};
    Class[] collapseEventClasses = new Class[]{NodeCollapseEvent.class};
   
    metaRuleset.addRule(new MethodRule("nodeSelectListener", List.class, selectEventClasses));
    metaRuleset.addRule(new MethodRule("nodeExpandListener", List.class, expandEventClasses));
    metaRuleset.addRule(new MethodRule("nodeCollapseListener", List.class, collapseEventClasses));
   
    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] eventClasses = new Class[]{CloseEvent.class};
   
    metaRuleset.addRule(new MethodRule("closeListener", null, eventClasses));
   
    return metaRuleset; 
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] paramList = new Class[]{String.class, String[].class};
   
    MetaRule metaRule = new MethodRule("commandHandler", String.class, paramList);
    metaRuleset.addRule(metaRule);
   
    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] fileUploadEventClass = new Class[]{FileUploadEvent.class};
   
    metaRuleset.addRule(new MethodRule("fileUploadListener", List.class, fileUploadEventClass));
   
    return metaRuleset;
  }
View Full Code Here

 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("toggleListener", null, new Class[]{ToggleEvent.class}));
    metaRuleset.addRule(new MethodRule("closeListener", null, new Class[]{CloseEvent.class}));
    metaRuleset.addRule(new MethodRule("resizeListener", null, new Class[]{ResizeEvent.class}));
   
    return metaRuleset; 
  }
View Full Code Here

 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("overlaySelectListener", null, new Class[]{OverlaySelectEvent.class}));
    metaRuleset.addRule(new MethodRule("stateChangeListener", null, new Class[]{StateChangeEvent.class}));
    metaRuleset.addRule(new MethodRule("pointSelectListener", null, new Class[]{PointSelectEvent.class}));
    metaRuleset.addRule(new MethodRule("markerDragListener", null, new Class[]{MarkerDragEvent.class}));
   
    return metaRuleset;
  }
View Full Code Here

 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("reorderListener", null, new Class[]{DashboardReorderEvent.class}));
   
    return metaRuleset; 
  }
View Full Code Here

  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    Class[] eventClasses = new Class[]{FlowEvent.class};
   
    metaRuleset.addRule(new MethodRule("flowListener", String.class, eventClasses));
   
    return metaRuleset; 
  }
View Full Code Here

TOP

Related Classes of org.primefaces.facelets.MethodRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.