Package com.sodius.mdw.metamodel.excel
Interface Font
-
- All Superinterfaces:
Comparable<Object>,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,org.eclipse.emf.common.notify.Notifier
public interface Font extends MDWEObject, org.eclipse.emf.ecore.EModelElement
A representation of the model object 'Font'.The following features are supported:
- See Also:
ExcelPackage.getFont()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FontCharSetgetCharSet()Returns the value of the 'Char Set' attribute.ColorgetColor()Returns the value of the 'Color' reference.floatgetHeight()Returns the value of the 'Height' attribute.StringgetName()Returns the value of the 'Name' attribute.TypeOffsetgetTypeOffset()Returns the value of the 'Type Offset' attribute.FontUnderlinegetUnderline()Returns the value of the 'Underline' attribute.booleanisBold()Returns the value of the 'Bold' attribute.booleanisItalic()Returns the value of the 'Italic' attribute.booleanisStrikeout()Returns the value of the 'Strikeout' attribute.voidsetBold(boolean value)Sets the value of the 'Bold' attribute.voidsetCharSet(FontCharSet value)Sets the value of the 'Char Set' attribute.voidsetColor(Color value)Sets the value of the 'Color' reference.voidsetHeight(float value)Sets the value of the 'Height' attribute.voidsetItalic(boolean value)Sets the value of the 'Italic' attribute.voidsetName(String value)Sets the value of the 'Name' attribute.voidsetStrikeout(boolean value)Sets the value of the 'Strikeout' attribute.voidsetTypeOffset(TypeOffset value)Sets the value of the 'Type Offset' attribute.voidsetUnderline(FontUnderline value)Sets the value of the 'Underline' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
-
-
-
Method Detail
-
getName
String getName()
Returns the value of the 'Name' attribute. The default value is"".- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),ExcelPackage.getFont_Name()
-
setName
void setName(String value)
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
isItalic
boolean isItalic()
Returns the value of the 'Italic' attribute.- Returns:
- the value of the 'Italic' attribute.
- See Also:
setItalic(boolean),ExcelPackage.getFont_Italic()
-
setItalic
void setItalic(boolean value)
Sets the value of the 'Italic' attribute.- Parameters:
value- the new value of the 'Italic' attribute.- See Also:
isItalic()
-
isBold
boolean isBold()
Returns the value of the 'Bold' attribute.- Returns:
- the value of the 'Bold' attribute.
- See Also:
setBold(boolean),ExcelPackage.getFont_Bold()
-
setBold
void setBold(boolean value)
Sets the value of the 'Bold' attribute.- Parameters:
value- the new value of the 'Bold' attribute.- See Also:
isBold()
-
isStrikeout
boolean isStrikeout()
Returns the value of the 'Strikeout' attribute.- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
setStrikeout(boolean),ExcelPackage.getFont_Strikeout()
-
setStrikeout
void setStrikeout(boolean value)
Sets the value of the 'Strikeout' attribute.- Parameters:
value- the new value of the 'Strikeout' attribute.- See Also:
isStrikeout()
-
getUnderline
FontUnderline getUnderline()
Returns the value of the 'Underline' attribute. The literals are from the enumerationFontUnderline.- Returns:
- the value of the 'Underline' attribute.
- See Also:
FontUnderline,setUnderline(FontUnderline),ExcelPackage.getFont_Underline()
-
setUnderline
void setUnderline(FontUnderline value)
Sets the value of the 'Underline' attribute.- Parameters:
value- the new value of the 'Underline' attribute.- See Also:
FontUnderline,getUnderline()
-
getColor
Color getColor()
Returns the value of the 'Color' reference.- Returns:
- the value of the 'Color' reference.
- See Also:
setColor(Color),ExcelPackage.getFont_Color()
-
setColor
void setColor(Color value)
Sets the value of the 'Color' reference.- Parameters:
value- the new value of the 'Color' reference.- See Also:
getColor()
-
getCharSet
FontCharSet getCharSet()
Returns the value of the 'Char Set' attribute. The literals are from the enumerationFontCharSet.- Returns:
- the value of the 'Char Set' attribute.
- See Also:
FontCharSet,setCharSet(FontCharSet),ExcelPackage.getFont_CharSet()
-
setCharSet
void setCharSet(FontCharSet value)
Sets the value of the 'Char Set' attribute.- Parameters:
value- the new value of the 'Char Set' attribute.- See Also:
FontCharSet,getCharSet()
-
getHeight
float getHeight()
Returns the value of the 'Height' attribute.- Returns:
- the value of the 'Height' attribute.
- See Also:
setHeight(float),ExcelPackage.getFont_Height()
-
setHeight
void setHeight(float value)
Sets the value of the 'Height' attribute.- Parameters:
value- the new value of the 'Height' attribute.- See Also:
getHeight()
-
getTypeOffset
TypeOffset getTypeOffset()
Returns the value of the 'Type Offset' attribute. The literals are from the enumerationTypeOffset.- Returns:
- the value of the 'Type Offset' attribute.
- See Also:
TypeOffset,setTypeOffset(TypeOffset),ExcelPackage.getFont_TypeOffset()
-
setTypeOffset
void setTypeOffset(TypeOffset value)
Sets the value of the 'Type Offset' attribute.- Parameters:
value- the new value of the 'Type Offset' attribute.- See Also:
TypeOffset,getTypeOffset()
-
-