All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dongyue.util.anno.IrregularFieldAnno Maven / Gradle / Ivy

There is a newer version: 1.0.9.2
Show newest version
package com.dongyue.util.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 东岳
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface IrregularFieldAnno {
    /**
     * 行数从0开始数,字段所处的行数
     * @return 字段所处第几行
     */
    int row();
    /**
     * 列数从0开始数,字段所处的列数
     * @return 字段所处第几列
     */
    int cloumn();
    /**
     * 跨几行,默认一行不跨为0
     * @return 跨几行
     */
    int rowspan() default 0;
    /**
     * 跨几列,默认一列不跨为0
     * @return 跨几列
     */
    int colspan() default 0;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy