001/** 002 */ 003package org.nasdanika.html.model.bootstrap; 004 005import org.eclipse.emf.ecore.EObject; 006import org.nasdanika.html.bootstrap.Color; 007import org.nasdanika.html.bootstrap.Text.Alignment; 008import org.nasdanika.html.bootstrap.Text.Transform; 009import org.nasdanika.html.bootstrap.Text.Weight; 010 011/** 012 * <!-- begin-user-doc --> 013 * A representation of the model object '<em><b>Text</b></em>'. 014 * <!-- end-user-doc --> 015 * 016 * <!-- begin-model-doc --> 017 * Text styling. 018 * <!-- end-model-doc --> 019 * 020 * <p> 021 * The following features are supported: 022 * </p> 023 * <ul> 024 * <li>{@link org.nasdanika.html.model.bootstrap.Text#getAlignment <em>Alignment</em>}</li> 025 * <li>{@link org.nasdanika.html.model.bootstrap.Text#getColor <em>Color</em>}</li> 026 * <li>{@link org.nasdanika.html.model.bootstrap.Text#getTransform <em>Transform</em>}</li> 027 * <li>{@link org.nasdanika.html.model.bootstrap.Text#getWeight <em>Weight</em>}</li> 028 * <li>{@link org.nasdanika.html.model.bootstrap.Text#isMonospace <em>Monospace</em>}</li> 029 * <li>{@link org.nasdanika.html.model.bootstrap.Text#isItalic <em>Italic</em>}</li> 030 * <li>{@link org.nasdanika.html.model.bootstrap.Text#isNowrap <em>Nowrap</em>}</li> 031 * <li>{@link org.nasdanika.html.model.bootstrap.Text#isTruncate <em>Truncate</em>}</li> 032 * </ul> 033 * 034 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText() 035 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='attributes'" 036 * @generated 037 */ 038public interface Text extends EObject { 039 /** 040 * Returns the value of the '<em><b>Alignment</b></em>' attribute. 041 * <!-- begin-user-doc --> 042 * <!-- end-user-doc --> 043 * <!-- begin-model-doc --> 044 * Text alignment. 045 * <!-- end-model-doc --> 046 * @return the value of the '<em>Alignment</em>' attribute. 047 * @see #setAlignment(Alignment) 048 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Alignment() 049 * @model dataType="org.nasdanika.html.model.bootstrap.TextAlignment" 050 * @generated 051 */ 052 Alignment getAlignment(); 053 054 /** 055 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getAlignment <em>Alignment</em>}' attribute. 056 * <!-- begin-user-doc --> 057 * <!-- end-user-doc --> 058 * @param value the new value of the '<em>Alignment</em>' attribute. 059 * @see #getAlignment() 060 * @generated 061 */ 062 void setAlignment(Alignment value); 063 064 /** 065 * Returns the value of the '<em><b>Color</b></em>' attribute. 066 * <!-- begin-user-doc --> 067 * <!-- end-user-doc --> 068 * <!-- begin-model-doc --> 069 * Text bootstrap color. 070 * <!-- end-model-doc --> 071 * @return the value of the '<em>Color</em>' attribute. 072 * @see #setColor(Color) 073 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Color() 074 * @model dataType="org.nasdanika.html.model.bootstrap.Color" 075 * annotation="urn:org.nasdanika default-feature='true'" 076 * @generated 077 */ 078 Color getColor(); 079 080 /** 081 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getColor <em>Color</em>}' attribute. 082 * <!-- begin-user-doc --> 083 * <!-- end-user-doc --> 084 * @param value the new value of the '<em>Color</em>' attribute. 085 * @see #getColor() 086 * @generated 087 */ 088 void setColor(Color value); 089 090 /** 091 * Returns the value of the '<em><b>Transform</b></em>' attribute. 092 * <!-- begin-user-doc --> 093 * <!-- end-user-doc --> 094 * <!-- begin-model-doc --> 095 * Text case transformation. 096 * <!-- end-model-doc --> 097 * @return the value of the '<em>Transform</em>' attribute. 098 * @see #setTransform(Transform) 099 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Transform() 100 * @model dataType="org.nasdanika.html.model.bootstrap.TextTransform" 101 * @generated 102 */ 103 Transform getTransform(); 104 105 /** 106 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getTransform <em>Transform</em>}' attribute. 107 * <!-- begin-user-doc --> 108 * <!-- end-user-doc --> 109 * @param value the new value of the '<em>Transform</em>' attribute. 110 * @see #getTransform() 111 * @generated 112 */ 113 void setTransform(Transform value); 114 115 /** 116 * Returns the value of the '<em><b>Weight</b></em>' attribute. 117 * <!-- begin-user-doc --> 118 * <!-- end-user-doc --> 119 * <!-- begin-model-doc --> 120 * Text weight. 121 * <!-- end-model-doc --> 122 * @return the value of the '<em>Weight</em>' attribute. 123 * @see #setWeight(Weight) 124 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Weight() 125 * @model dataType="org.nasdanika.html.model.bootstrap.TextWeight" 126 * @generated 127 */ 128 Weight getWeight(); 129 130 /** 131 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getWeight <em>Weight</em>}' attribute. 132 * <!-- begin-user-doc --> 133 * <!-- end-user-doc --> 134 * @param value the new value of the '<em>Weight</em>' attribute. 135 * @see #getWeight() 136 * @generated 137 */ 138 void setWeight(Weight value); 139 140 /** 141 * Returns the value of the '<em><b>Monospace</b></em>' attribute. 142 * <!-- begin-user-doc --> 143 * <!-- end-user-doc --> 144 * <!-- begin-model-doc --> 145 * Monospace flag. 146 * <!-- end-model-doc --> 147 * @return the value of the '<em>Monospace</em>' attribute. 148 * @see #setMonospace(boolean) 149 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Monospace() 150 * @model 151 * @generated 152 */ 153 boolean isMonospace(); 154 155 /** 156 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isMonospace <em>Monospace</em>}' attribute. 157 * <!-- begin-user-doc --> 158 * <!-- end-user-doc --> 159 * @param value the new value of the '<em>Monospace</em>' attribute. 160 * @see #isMonospace() 161 * @generated 162 */ 163 void setMonospace(boolean value); 164 165 /** 166 * Returns the value of the '<em><b>Italic</b></em>' attribute. 167 * <!-- begin-user-doc --> 168 * <!-- end-user-doc --> 169 * <!-- begin-model-doc --> 170 * Italic flag. 171 * <!-- end-model-doc --> 172 * @return the value of the '<em>Italic</em>' attribute. 173 * @see #setItalic(boolean) 174 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Italic() 175 * @model 176 * @generated 177 */ 178 boolean isItalic(); 179 180 /** 181 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isItalic <em>Italic</em>}' attribute. 182 * <!-- begin-user-doc --> 183 * <!-- end-user-doc --> 184 * @param value the new value of the '<em>Italic</em>' attribute. 185 * @see #isItalic() 186 * @generated 187 */ 188 void setItalic(boolean value); 189 190 /** 191 * Returns the value of the '<em><b>Nowrap</b></em>' attribute. 192 * <!-- begin-user-doc --> 193 * <!-- end-user-doc --> 194 * <!-- begin-model-doc --> 195 * Prevents text from wrapping. 196 * <!-- end-model-doc --> 197 * @return the value of the '<em>Nowrap</em>' attribute. 198 * @see #setNowrap(boolean) 199 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Nowrap() 200 * @model 201 * @generated 202 */ 203 boolean isNowrap(); 204 205 /** 206 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isNowrap <em>Nowrap</em>}' attribute. 207 * <!-- begin-user-doc --> 208 * <!-- end-user-doc --> 209 * @param value the new value of the '<em>Nowrap</em>' attribute. 210 * @see #isNowrap() 211 * @generated 212 */ 213 void setNowrap(boolean value); 214 215 /** 216 * Returns the value of the '<em><b>Truncate</b></em>' attribute. 217 * <!-- begin-user-doc --> 218 * <!-- end-user-doc --> 219 * <!-- begin-model-doc --> 220 * Use to truncate the text with an ellipsis. 221 * <!-- end-model-doc --> 222 * @return the value of the '<em>Truncate</em>' attribute. 223 * @see #setTruncate(boolean) 224 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Truncate() 225 * @model 226 * @generated 227 */ 228 boolean isTruncate(); 229 230 /** 231 * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isTruncate <em>Truncate</em>}' attribute. 232 * <!-- begin-user-doc --> 233 * <!-- end-user-doc --> 234 * @param value the new value of the '<em>Truncate</em>' attribute. 235 * @see #isTruncate() 236 * @generated 237 */ 238 void setTruncate(boolean value); 239 240} // Text