001package react4j.dom.proptypes.html.attributeTypes; 002 003import java.lang.annotation.Documented; 004import javax.annotation.Nonnull; 005import org.intellij.lang.annotations.MagicConstant; 006 007/** 008 * An enumerated value to define the cells that the header element relates to. 009 */ 010@Documented 011@MagicConstant( valuesFromClass = HeaderScope.class ) 012public @interface HeaderScope 013{ 014 /** 015 * The header relates to all cells of the row it belongs to. 016 */ 017 @Nonnull 018 String row = "row"; 019 /** 020 * The header relates to all cells of the column it belongs to. 021 */ 022 @Nonnull 023 String col = "col"; 024 /** 025 * The header belongs to a rowgroup and relates to all of its cells. These cells can be 026 * placed to the right or the left of the header, depending on the value of the <code>dir</code> 027 * attribute in the <code><table></code> element. 028 */ 029 @Nonnull 030 String rowgroup = "rowgroup"; 031 /** 032 * The header belongs to a colgroup and relates to all of its cells. 033 */ 034 @Nonnull 035 String colgroup = "colgroup"; 036 /** 037 * The default value. 038 */ 039 @Nonnull 040 String auto = "auto"; 041}