Package com._1c.g5.v8.dt.mcore
Interface FontDef
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,Font
,MutableFont
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
PlatformFont
- All Known Implementing Classes:
FontDefImpl
,PlatformFontImpl
public interface FontDef extends Font, MutableFont
A representation of the model object 'Font Def'.The following features are supported:
- See Also:
McorePackage.getFontDef()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
bold()
CompositeId
compositeId()
String
faceName()
String
getFaceName()
Returns the value of the 'Face Name' attribute.float
getHeight()
Returns the value of the 'Height' attribute.int
getScale()
Returns the value of the 'Scale' attribute.int
height()
float
heightF()
boolean
isBold()
Returns the value of the 'Bold' attribute.boolean
isItalic()
Returns the value of the 'Italic' attribute.boolean
isStrikeout()
Returns the value of the 'Strikeout' attribute.boolean
isUnderline()
Returns the value of the 'Underline' attribute.boolean
italic()
int
scale()
void
setBold(boolean value)
Sets the value of the 'Bold
' attribute.void
setFaceName(String value)
Sets the value of the 'Face Name
' attribute.void
setHeight(float value)
Sets the value of the 'Height
' attribute.void
setHeight(int height)
void
setItalic(boolean value)
Sets the value of the 'Italic
' attribute.void
setScale(int value)
Sets the value of the 'Scale
' attribute.void
setStrikeout(boolean value)
Sets the value of the 'Strikeout
' attribute.void
setUnderline(boolean value)
Sets the value of the 'Underline
' attribute.boolean
strikeout()
boolean
underline()
-
-
-
Method Detail
-
getFaceName
String getFaceName()
Returns the value of the 'Face Name' attribute. The default value is""
.- Returns:
- the value of the 'Face Name' attribute.
- See Also:
setFaceName(String)
,McorePackage.getFontDef_FaceName()
-
setFaceName
void setFaceName(String value)
Sets the value of the 'Face Name
' attribute.- Specified by:
setFaceName
in interfaceMutableFont
- Parameters:
value
- the new value of the 'Face Name' attribute.- See Also:
getFaceName()
-
getHeight
float getHeight()
Returns the value of the 'Height' attribute.- Returns:
- the value of the 'Height' attribute.
- See Also:
setHeight(float)
,McorePackage.getFontDef_Height()
-
setHeight
void setHeight(float value)
Sets the value of the 'Height
' attribute.- Specified by:
setHeight
in interfaceMutableFont
- Parameters:
value
- the new value of the 'Height' attribute.- See Also:
getHeight()
-
isBold
boolean isBold()
Returns the value of the 'Bold' attribute.- Returns:
- the value of the 'Bold' attribute.
- See Also:
setBold(boolean)
,McorePackage.getFontDef_Bold()
-
setBold
void setBold(boolean value)
Sets the value of the 'Bold
' attribute.- Specified by:
setBold
in interfaceMutableFont
- Parameters:
value
- the new value of the 'Bold' attribute.- See Also:
isBold()
-
isItalic
boolean isItalic()
Returns the value of the 'Italic' attribute.- Returns:
- the value of the 'Italic' attribute.
- See Also:
setItalic(boolean)
,McorePackage.getFontDef_Italic()
-
setItalic
void setItalic(boolean value)
Sets the value of the 'Italic
' attribute.- Specified by:
setItalic
in interfaceMutableFont
- Parameters:
value
- the new value of the 'Italic' attribute.- See Also:
isItalic()
-
isUnderline
boolean isUnderline()
Returns the value of the 'Underline' attribute.- Returns:
- the value of the 'Underline' attribute.
- See Also:
setUnderline(boolean)
,McorePackage.getFontDef_Underline()
-
setUnderline
void setUnderline(boolean value)
Sets the value of the 'Underline
' attribute.- Specified by:
setUnderline
in interfaceMutableFont
- Parameters:
value
- the new value of the 'Underline' attribute.- See Also:
isUnderline()
-
isStrikeout
boolean isStrikeout()
Returns the value of the 'Strikeout' attribute.- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
setStrikeout(boolean)
,McorePackage.getFontDef_Strikeout()
-
setStrikeout
void setStrikeout(boolean value)
Sets the value of the 'Strikeout
' attribute.- Specified by:
setStrikeout
in interfaceMutableFont
- Parameters:
value
- the new value of the 'Strikeout' attribute.- See Also:
isStrikeout()
-
getScale
int getScale()
Returns the value of the 'Scale' attribute. The default value is"100"
.- Returns:
- the value of the 'Scale' attribute.
- See Also:
setScale(int)
,McorePackage.getFontDef_Scale()
-
setScale
void setScale(int value)
Sets the value of the 'Scale
' attribute.- Specified by:
setScale
in interfaceMutableFont
- Parameters:
value
- the new value of the 'Scale' attribute.- See Also:
getScale()
-
setHeight
void setHeight(int height)
-
compositeId
CompositeId compositeId()
- Specified by:
compositeId
in interfaceFont
-
-