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 ColorgetBackground()Returns the value of the 'Background' reference.BorderTypegetBottomBorder()Returns the value of the 'Bottom Border' attribute.ColorgetBottomColor()Returns the value of the 'Bottom Color' reference.StringgetDataFormat()Returns the value of the 'Data Format' attribute.FontgetFont()Returns the value of the 'Font' reference.HorizontalAlignmentgetHorizontal()Returns the value of the 'Horizontal' attribute.intgetIndentation()Returns the value of the 'Indentation' attribute.BorderTypegetLeftBorder()Returns the value of the 'Left Border' attribute.ColorgetLeftColor()Returns the value of the 'Left Color' reference.BorderTypegetRightBorder()Returns the value of the 'Right Border' attribute.ColorgetRightColor()Returns the value of the 'Right Color' reference.intgetRotation()Returns the value of the 'Rotation' attribute.BorderTypegetTopBorder()Returns the value of the 'Top Border' attribute.ColorgetTopColor()Returns the value of the 'Top Color' reference.VerticalAlignmentgetVertical()Returns the value of the 'Vertical' attribute.booleanisLocked()Returns the value of the 'Locked' attribute.booleanisWrapText()Returns the value of the 'Wrap Text' attribute.voidsetBackground(Color value)Sets the value of the 'Background' reference.voidsetBottomBorder(BorderType value)Sets the value of the 'Bottom Border' attribute.voidsetBottomColor(Color value)Sets the value of the 'Bottom Color' reference.voidsetDataFormat(String value)Sets the value of the 'Data Format' attribute.voidsetFont(Font value)Sets the value of the 'Font' reference.voidsetHorizontal(HorizontalAlignment value)Sets the value of the 'Horizontal' attribute.voidsetIndentation(int value)Sets the value of the 'Indentation' attribute.voidsetLeftBorder(BorderType value)Sets the value of the 'Left Border' attribute.voidsetLeftColor(Color value)Sets the value of the 'Left Color' reference.voidsetLocked(boolean value)Sets the value of the 'Locked' attribute.voidsetRightBorder(BorderType value)Sets the value of the 'Right Border' attribute.voidsetRightColor(Color value)Sets the value of the 'Right Color' reference.voidsetRotation(int value)Sets the value of the 'Rotation' attribute.voidsetTopBorder(BorderType value)Sets the value of the 'Top Border' attribute.voidsetTopColor(Color value)Sets the value of the 'Top Color' reference.voidsetVertical(VerticalAlignment value)Sets the value of the 'Vertical' attribute.voidsetWrapText(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()
-
-