RowStyles.java :  » ERP-CRM-Financial » OpenXava-3.0 » org » openxava » annotations » Java Open Source

Java Open Source » ERP CRM Financial » OpenXava 3.0 
OpenXava 3.0 » org » openxava » annotations » RowStyles.java
package org.openxava.annotations;

import java.lang.annotation.*;


/**
 * A group of <code>@{@link RowStyle}</code> associated to the same collection. <p>
 * 
 * It allows to define a value different for <code>@{@link RowStyle}</code> in each view.<br>
 * Example:
 * <pre>
 * &nbsp;@RowStyles({
 * &nbsp;&nbsp;&nbsp;@RowStyle(forViews="Specials", style="highlight", property="type", value="special"),
 * &nbsp;&nbsp;&nbsp;@RowStyle(forViews="Complete", style="highlight", property="type", value="steady")   
 * &nbsp;})
 * </pre>
 *
 * @author Javier Paniza
 */

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD })
public @interface RowStyles {
  
  RowStyle [] value();
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.