org.nasdanika.html.model.bootstrap.Text Maven / Gradle / Ivy
/**
*/
package org.nasdanika.html.model.bootstrap;
import org.eclipse.emf.ecore.EObject;
import org.nasdanika.html.bootstrap.Color;
import org.nasdanika.html.bootstrap.Text.Alignment;
import org.nasdanika.html.bootstrap.Text.Transform;
import org.nasdanika.html.bootstrap.Text.Weight;
/**
*
* A representation of the model object 'Text'.
*
*
*
* Text styling.
*
*
*
* The following features are supported:
*
*
* - {@link org.nasdanika.html.model.bootstrap.Text#getAlignment Alignment}
* - {@link org.nasdanika.html.model.bootstrap.Text#getColor Color}
* - {@link org.nasdanika.html.model.bootstrap.Text#getTransform Transform}
* - {@link org.nasdanika.html.model.bootstrap.Text#getWeight Weight}
* - {@link org.nasdanika.html.model.bootstrap.Text#isMonospace Monospace}
* - {@link org.nasdanika.html.model.bootstrap.Text#isItalic Italic}
* - {@link org.nasdanika.html.model.bootstrap.Text#isNowrap Nowrap}
* - {@link org.nasdanika.html.model.bootstrap.Text#isTruncate Truncate}
*
*
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText()
* @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='attributes'"
* @generated
*/
public interface Text extends EObject {
/**
* Returns the value of the 'Alignment' attribute.
*
*
*
* Text alignment.
*
* @return the value of the 'Alignment' attribute.
* @see #setAlignment(Alignment)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Alignment()
* @model dataType="org.nasdanika.html.model.bootstrap.TextAlignment"
* @generated
*/
Alignment getAlignment();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getAlignment Alignment}' attribute.
*
*
* @param value the new value of the 'Alignment' attribute.
* @see #getAlignment()
* @generated
*/
void setAlignment(Alignment value);
/**
* Returns the value of the 'Color' attribute.
*
*
*
* Text bootstrap color.
*
* @return the value of the 'Color' attribute.
* @see #setColor(Color)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Color()
* @model dataType="org.nasdanika.html.model.bootstrap.Color"
* annotation="urn:org.nasdanika default-feature='true'"
* @generated
*/
Color getColor();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getColor Color}' attribute.
*
*
* @param value the new value of the 'Color' attribute.
* @see #getColor()
* @generated
*/
void setColor(Color value);
/**
* Returns the value of the 'Transform' attribute.
*
*
*
* Text case transformation.
*
* @return the value of the 'Transform' attribute.
* @see #setTransform(Transform)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Transform()
* @model dataType="org.nasdanika.html.model.bootstrap.TextTransform"
* @generated
*/
Transform getTransform();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getTransform Transform}' attribute.
*
*
* @param value the new value of the 'Transform' attribute.
* @see #getTransform()
* @generated
*/
void setTransform(Transform value);
/**
* Returns the value of the 'Weight' attribute.
*
*
*
* Text weight.
*
* @return the value of the 'Weight' attribute.
* @see #setWeight(Weight)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Weight()
* @model dataType="org.nasdanika.html.model.bootstrap.TextWeight"
* @generated
*/
Weight getWeight();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#getWeight Weight}' attribute.
*
*
* @param value the new value of the 'Weight' attribute.
* @see #getWeight()
* @generated
*/
void setWeight(Weight value);
/**
* Returns the value of the 'Monospace' attribute.
*
*
*
* Monospace flag.
*
* @return the value of the 'Monospace' attribute.
* @see #setMonospace(boolean)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Monospace()
* @model
* @generated
*/
boolean isMonospace();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isMonospace Monospace}' attribute.
*
*
* @param value the new value of the 'Monospace' attribute.
* @see #isMonospace()
* @generated
*/
void setMonospace(boolean value);
/**
* Returns the value of the 'Italic' attribute.
*
*
*
* Italic flag.
*
* @return the value of the 'Italic' attribute.
* @see #setItalic(boolean)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Italic()
* @model
* @generated
*/
boolean isItalic();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isItalic Italic}' attribute.
*
*
* @param value the new value of the 'Italic' attribute.
* @see #isItalic()
* @generated
*/
void setItalic(boolean value);
/**
* Returns the value of the 'Nowrap' attribute.
*
*
*
* Prevents text from wrapping.
*
* @return the value of the 'Nowrap' attribute.
* @see #setNowrap(boolean)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Nowrap()
* @model
* @generated
*/
boolean isNowrap();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isNowrap Nowrap}' attribute.
*
*
* @param value the new value of the 'Nowrap' attribute.
* @see #isNowrap()
* @generated
*/
void setNowrap(boolean value);
/**
* Returns the value of the 'Truncate' attribute.
*
*
*
* Use to truncate the text with an ellipsis.
*
* @return the value of the 'Truncate' attribute.
* @see #setTruncate(boolean)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getText_Truncate()
* @model
* @generated
*/
boolean isTruncate();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Text#isTruncate Truncate}' attribute.
*
*
* @param value the new value of the 'Truncate' attribute.
* @see #isTruncate()
* @generated
*/
void setTruncate(boolean value);
} // Text