001/** 002 */ 003package org.nasdanika.html.model.bootstrap; 004 005import org.nasdanika.html.bootstrap.Color; 006 007/** 008 * <!-- begin-user-doc --> 009 * A representation of the model object '<em><b>Table Cell</b></em>'. 010 * <!-- end-user-doc --> 011 * 012 * <!-- begin-model-doc --> 013 * Table cell - regular or header. 014 * <!-- end-model-doc --> 015 * 016 * <p> 017 * The following features are supported: 018 * </p> 019 * <ul> 020 * <li>{@link org.nasdanika.html.model.bootstrap.TableCell#isHeader <em>Header</em>}</li> 021 * <li>{@link org.nasdanika.html.model.bootstrap.TableCell#getColSpan <em>Col Span</em>}</li> 022 * <li>{@link org.nasdanika.html.model.bootstrap.TableCell#getRowSpan <em>Row Span</em>}</li> 023 * <li>{@link org.nasdanika.html.model.bootstrap.TableCell#getColor <em>Color</em>}</li> 024 * <li>{@link org.nasdanika.html.model.bootstrap.TableCell#getBackground <em>Background</em>}</li> 025 * </ul> 026 * 027 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getTableCell() 028 * @model 029 * @generated 030 */ 031public interface TableCell extends BootstrapElement { 032 /** 033 * Returns the value of the '<em><b>Header</b></em>' attribute. 034 * <!-- begin-user-doc --> 035 * <!-- end-user-doc --> 036 * <!-- begin-model-doc --> 037 * If true, table cell is generated as ``<th>`` instead of the default ``<td>``. 038 * <!-- end-model-doc --> 039 * @return the value of the '<em>Header</em>' attribute. 040 * @see #setHeader(boolean) 041 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getTableCell_Header() 042 * @model 043 * @generated 044 */ 045 boolean isHeader(); 046 047 /** 048 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.TableCell#isHeader <em>Header</em>}' attribute. 049 * <!-- begin-user-doc --> 050 * <!-- end-user-doc --> 051 * @param value the new value of the '<em>Header</em>' attribute. 052 * @see #isHeader() 053 * @generated 054 */ 055 void setHeader(boolean value); 056 057 /** 058 * Returns the value of the '<em><b>Col Span</b></em>' attribute. 059 * <!-- begin-user-doc --> 060 * <!-- end-user-doc --> 061 * <!-- begin-model-doc --> 062 * Column span for the cell. 063 * <!-- end-model-doc --> 064 * @return the value of the '<em>Col Span</em>' attribute. 065 * @see #setColSpan(int) 066 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getTableCell_ColSpan() 067 * @model 068 * @generated 069 */ 070 int getColSpan(); 071 072 /** 073 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.TableCell#getColSpan <em>Col Span</em>}' attribute. 074 * <!-- begin-user-doc --> 075 * <!-- end-user-doc --> 076 * @param value the new value of the '<em>Col Span</em>' attribute. 077 * @see #getColSpan() 078 * @generated 079 */ 080 void setColSpan(int value); 081 082 /** 083 * Returns the value of the '<em><b>Row Span</b></em>' attribute. 084 * <!-- begin-user-doc --> 085 * <!-- end-user-doc --> 086 * <!-- begin-model-doc --> 087 * Row span for the cell. 088 * <!-- end-model-doc --> 089 * @return the value of the '<em>Row Span</em>' attribute. 090 * @see #setRowSpan(int) 091 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getTableCell_RowSpan() 092 * @model 093 * @generated 094 */ 095 int getRowSpan(); 096 097 /** 098 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.TableCell#getRowSpan <em>Row Span</em>}' attribute. 099 * <!-- begin-user-doc --> 100 * <!-- end-user-doc --> 101 * @param value the new value of the '<em>Row Span</em>' attribute. 102 * @see #getRowSpan() 103 * @generated 104 */ 105 void setRowSpan(int value); 106 107 /** 108 * Returns the value of the '<em><b>Color</b></em>' attribute. 109 * <!-- begin-user-doc --> 110 * <!-- end-user-doc --> 111 * <!-- begin-model-doc --> 112 * Cell color. 113 * <!-- end-model-doc --> 114 * @return the value of the '<em>Color</em>' attribute. 115 * @see #setColor(Color) 116 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getTableCell_Color() 117 * @model dataType="org.nasdanika.html.model.bootstrap.Color" 118 * @generated 119 */ 120 Color getColor(); 121 122 /** 123 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.TableCell#getColor <em>Color</em>}' attribute. 124 * <!-- begin-user-doc --> 125 * <!-- end-user-doc --> 126 * @param value the new value of the '<em>Color</em>' attribute. 127 * @see #getColor() 128 * @generated 129 */ 130 void setColor(Color value); 131 132 /** 133 * Returns the value of the '<em><b>Background</b></em>' attribute. 134 * <!-- begin-user-doc --> 135 * <!-- end-user-doc --> 136 * <!-- begin-model-doc --> 137 * Cell background color. Displays differently from "Color". Can also be specified via appearance. 138 * <!-- end-model-doc --> 139 * @return the value of the '<em>Background</em>' attribute. 140 * @see #setBackground(Color) 141 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getTableCell_Background() 142 * @model dataType="org.nasdanika.html.model.bootstrap.Color" 143 * @generated 144 */ 145 Color getBackground(); 146 147 /** 148 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.TableCell#getBackground <em>Background</em>}' attribute. 149 * <!-- begin-user-doc --> 150 * <!-- end-user-doc --> 151 * @param value the new value of the '<em>Background</em>' attribute. 152 * @see #getBackground() 153 * @generated 154 */ 155 void setBackground(Color value); 156 157} // TableCell