Package com.sodius.mdw.metamodel.excel
Interface CellStyle
-
- All Superinterfaces:
Comparable<Object>
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,org.eclipse.emf.common.notify.Notifier
public interface CellStyle extends MDWEObject, org.eclipse.emf.ecore.EModelElement
A representation of the model object 'Cell Style'.The following features are supported:
- See Also:
ExcelPackage.getCellStyle()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Color
getBackground()
Returns the value of the 'Background' reference.BorderType
getBottomBorder()
Returns the value of the 'Bottom Border' attribute.Color
getBottomColor()
Returns the value of the 'Bottom Color' reference.String
getDataFormat()
Returns the value of the 'Data Format' attribute.Font
getFont()
Returns the value of the 'Font' reference.HorizontalAlignment
getHorizontal()
Returns the value of the 'Horizontal' attribute.int
getIndentation()
Returns the value of the 'Indentation' attribute.BorderType
getLeftBorder()
Returns the value of the 'Left Border' attribute.Color
getLeftColor()
Returns the value of the 'Left Color' reference.BorderType
getRightBorder()
Returns the value of the 'Right Border' attribute.Color
getRightColor()
Returns the value of the 'Right Color' reference.int
getRotation()
Returns the value of the 'Rotation' attribute.BorderType
getTopBorder()
Returns the value of the 'Top Border' attribute.Color
getTopColor()
Returns the value of the 'Top Color' reference.VerticalAlignment
getVertical()
Returns the value of the 'Vertical' attribute.boolean
isLocked()
Returns the value of the 'Locked' attribute.boolean
isWrapText()
Returns the value of the 'Wrap Text' attribute.void
setBackground(Color value)
Sets the value of the 'Background
' reference.void
setBottomBorder(BorderType value)
Sets the value of the 'Bottom Border
' attribute.void
setBottomColor(Color value)
Sets the value of the 'Bottom Color
' reference.void
setDataFormat(String value)
Sets the value of the 'Data Format
' attribute.void
setFont(Font value)
Sets the value of the 'Font
' reference.void
setHorizontal(HorizontalAlignment value)
Sets the value of the 'Horizontal
' attribute.void
setIndentation(int value)
Sets the value of the 'Indentation
' attribute.void
setLeftBorder(BorderType value)
Sets the value of the 'Left Border
' attribute.void
setLeftColor(Color value)
Sets the value of the 'Left Color
' reference.void
setLocked(boolean value)
Sets the value of the 'Locked
' attribute.void
setRightBorder(BorderType value)
Sets the value of the 'Right Border
' attribute.void
setRightColor(Color value)
Sets the value of the 'Right Color
' reference.void
setRotation(int value)
Sets the value of the 'Rotation
' attribute.void
setTopBorder(BorderType value)
Sets the value of the 'Top Border
' attribute.void
setTopColor(Color value)
Sets the value of the 'Top Color
' reference.void
setVertical(VerticalAlignment value)
Sets the value of the 'Vertical
' attribute.void
setWrapText(boolean value)
Sets the value of the 'Wrap Text
' 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
-
getHorizontal
HorizontalAlignment getHorizontal()
Returns the value of the 'Horizontal' attribute. The literals are from the enumerationHorizontalAlignment
.- Returns:
- the value of the 'Horizontal' attribute.
- See Also:
HorizontalAlignment
,setHorizontal(HorizontalAlignment)
,ExcelPackage.getCellStyle_Horizontal()
-
setHorizontal
void setHorizontal(HorizontalAlignment value)
Sets the value of the 'Horizontal
' attribute.- Parameters:
value
- the new value of the 'Horizontal' attribute.- See Also:
HorizontalAlignment
,getHorizontal()
-
getVertical
VerticalAlignment getVertical()
Returns the value of the 'Vertical' attribute. The literals are from the enumerationVerticalAlignment
.- Returns:
- the value of the 'Vertical' attribute.
- See Also:
VerticalAlignment
,setVertical(VerticalAlignment)
,ExcelPackage.getCellStyle_Vertical()
-
setVertical
void setVertical(VerticalAlignment value)
Sets the value of the 'Vertical
' attribute.- Parameters:
value
- the new value of the 'Vertical' attribute.- See Also:
VerticalAlignment
,getVertical()
-
getBackground
Color getBackground()
Returns the value of the 'Background' reference.- Returns:
- the value of the 'Background' reference.
- See Also:
setBackground(Color)
,ExcelPackage.getCellStyle_Background()
-
setBackground
void setBackground(Color value)
Sets the value of the 'Background
' reference.- Parameters:
value
- the new value of the 'Background' reference.- See Also:
getBackground()
-
getIndentation
int getIndentation()
Returns the value of the 'Indentation' attribute.- Returns:
- the value of the 'Indentation' attribute.
- See Also:
setIndentation(int)
,ExcelPackage.getCellStyle_Indentation()
-
setIndentation
void setIndentation(int value)
Sets the value of the 'Indentation
' attribute.- Parameters:
value
- the new value of the 'Indentation' attribute.- See Also:
getIndentation()
-
isLocked
boolean isLocked()
Returns the value of the 'Locked' attribute.- Returns:
- the value of the 'Locked' attribute.
- See Also:
setLocked(boolean)
,ExcelPackage.getCellStyle_Locked()
-
setLocked
void setLocked(boolean value)
Sets the value of the 'Locked
' attribute.- Parameters:
value
- the new value of the 'Locked' attribute.- See Also:
isLocked()
-
getRotation
int getRotation()
Returns the value of the 'Rotation' attribute.- Returns:
- the value of the 'Rotation' attribute.
- See Also:
setRotation(int)
,ExcelPackage.getCellStyle_Rotation()
-
setRotation
void setRotation(int value)
Sets the value of the 'Rotation
' attribute.- Parameters:
value
- the new value of the 'Rotation' attribute.- See Also:
getRotation()
-
isWrapText
boolean isWrapText()
Returns the value of the 'Wrap Text' attribute.- Returns:
- the value of the 'Wrap Text' attribute.
- See Also:
setWrapText(boolean)
,ExcelPackage.getCellStyle_WrapText()
-
setWrapText
void setWrapText(boolean value)
Sets the value of the 'Wrap Text
' attribute.- Parameters:
value
- the new value of the 'Wrap Text' attribute.- See Also:
isWrapText()
-
getFont
Font getFont()
Returns the value of the 'Font' reference.- Returns:
- the value of the 'Font' reference.
- See Also:
setFont(Font)
,ExcelPackage.getCellStyle_Font()
-
setFont
void setFont(Font value)
Sets the value of the 'Font
' reference.- Parameters:
value
- the new value of the 'Font' reference.- See Also:
getFont()
-
getDataFormat
String getDataFormat()
Returns the value of the 'Data Format' attribute. The default value is""
.- Returns:
- the value of the 'Data Format' attribute.
- See Also:
setDataFormat(String)
,ExcelPackage.getCellStyle_DataFormat()
-
setDataFormat
void setDataFormat(String value)
Sets the value of the 'Data Format
' attribute.- Parameters:
value
- the new value of the 'Data Format' attribute.- See Also:
getDataFormat()
-
getTopBorder
BorderType getTopBorder()
Returns the value of the 'Top Border' attribute. The literals are from the enumerationBorderType
.- Returns:
- the value of the 'Top Border' attribute.
- See Also:
BorderType
,setTopBorder(BorderType)
,ExcelPackage.getCellStyle_TopBorder()
-
setTopBorder
void setTopBorder(BorderType value)
Sets the value of the 'Top Border
' attribute.- Parameters:
value
- the new value of the 'Top Border' attribute.- See Also:
BorderType
,getTopBorder()
-
getBottomBorder
BorderType getBottomBorder()
Returns the value of the 'Bottom Border' attribute. The literals are from the enumerationBorderType
.- Returns:
- the value of the 'Bottom Border' attribute.
- See Also:
BorderType
,setBottomBorder(BorderType)
,ExcelPackage.getCellStyle_BottomBorder()
-
setBottomBorder
void setBottomBorder(BorderType value)
Sets the value of the 'Bottom Border
' attribute.- Parameters:
value
- the new value of the 'Bottom Border' attribute.- See Also:
BorderType
,getBottomBorder()
-
getRightColor
Color getRightColor()
Returns the value of the 'Right Color' reference.- Returns:
- the value of the 'Right Color' reference.
- See Also:
setRightColor(Color)
,ExcelPackage.getCellStyle_RightColor()
-
setRightColor
void setRightColor(Color value)
Sets the value of the 'Right Color
' reference.- Parameters:
value
- the new value of the 'Right Color' reference.- See Also:
getRightColor()
-
getLeftColor
Color getLeftColor()
Returns the value of the 'Left Color' reference.- Returns:
- the value of the 'Left Color' reference.
- See Also:
setLeftColor(Color)
,ExcelPackage.getCellStyle_LeftColor()
-
setLeftColor
void setLeftColor(Color value)
Sets the value of the 'Left Color
' reference.- Parameters:
value
- the new value of the 'Left Color' reference.- See Also:
getLeftColor()
-
getBottomColor
Color getBottomColor()
Returns the value of the 'Bottom Color' reference.- Returns:
- the value of the 'Bottom Color' reference.
- See Also:
setBottomColor(Color)
,ExcelPackage.getCellStyle_BottomColor()
-
setBottomColor
void setBottomColor(Color value)
Sets the value of the 'Bottom Color
' reference.- Parameters:
value
- the new value of the 'Bottom Color' reference.- See Also:
getBottomColor()
-
getTopColor
Color getTopColor()
Returns the value of the 'Top Color' reference.- Returns:
- the value of the 'Top Color' reference.
- See Also:
setTopColor(Color)
,ExcelPackage.getCellStyle_TopColor()
-
setTopColor
void setTopColor(Color value)
Sets the value of the 'Top Color
' reference.- Parameters:
value
- the new value of the 'Top Color' reference.- See Also:
getTopColor()
-
getRightBorder
BorderType getRightBorder()
Returns the value of the 'Right Border' attribute. The literals are from the enumerationBorderType
.- Returns:
- the value of the 'Right Border' attribute.
- See Also:
BorderType
,setRightBorder(BorderType)
,ExcelPackage.getCellStyle_RightBorder()
-
setRightBorder
void setRightBorder(BorderType value)
Sets the value of the 'Right Border
' attribute.- Parameters:
value
- the new value of the 'Right Border' attribute.- See Also:
BorderType
,getRightBorder()
-
getLeftBorder
BorderType getLeftBorder()
Returns the value of the 'Left Border' attribute. The literals are from the enumerationBorderType
.- Returns:
- the value of the 'Left Border' attribute.
- See Also:
BorderType
,setLeftBorder(BorderType)
,ExcelPackage.getCellStyle_LeftBorder()
-
setLeftBorder
void setLeftBorder(BorderType value)
Sets the value of the 'Left Border
' attribute.- Parameters:
value
- the new value of the 'Left Border' attribute.- See Also:
BorderType
,getLeftBorder()
-
-