Package org.primefaces.facelets

Examples of org.primefaces.facelets.MethodRule


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


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

 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("completeListener", null, new Class<?>[0]));
    metaRuleset.addRule(new MethodRule("cancelListener", null, new Class<?>[0]));
   
    return metaRuleset; 
  }
View Full Code Here

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

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

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

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

    metaRuleset.addRule(new MethodRule("slideEndListener", null, new Class[]{SlideEndEvent.class}));

    return metaRuleset;
  }
View Full Code Here

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

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

    metaRuleset.addRule(new MethodRule("eventSelectListener", null, new Class[]{ScheduleEntrySelectEvent.class}));
    metaRuleset.addRule(new MethodRule("dateSelectListener", null, new Class[]{DateSelectEvent.class}));
    metaRuleset.addRule(new MethodRule("eventMoveListener", null, new Class[]{ScheduleEntryMoveEvent.class}));
    metaRuleset.addRule(new MethodRule("eventResizeListener", null, new Class[]{ScheduleEntryResizeEvent.class}));
   
    return metaRuleset;
  }  
View Full Code Here

    @Override
    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

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.