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("nodeSelectListener", null, new Class[]{NodeSelectEvent.class}));
        metaRuleset.addRule(new MethodRule("nodeUnselectListener", null, new Class[]{NodeUnselectEvent.class}));
    metaRuleset.addRule(new MethodRule("nodeExpandListener", null, new Class[]{NodeExpandEvent.class}));
    metaRuleset.addRule(new MethodRule("nodeCollapseListener", null, new Class[]{NodeCollapseEvent.class}));
        metaRuleset.addRule(new MethodRule("dragdropListener", null, new Class[]{DragDropEvent.class}));
   
    return metaRuleset;
  }
View Full Code Here


  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);

    metaRuleset.addRule(new MethodRule("listener", null, new Class[0]));

    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);

    metaRuleset.addRule(new MethodRule("tabChangeListener", String.class, new Class[]{TabChangeEvent.class}));

    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.