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
A representation of the model object 'Font Def'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
bold()
faceName()
Returns the value of the 'Face Name' attribute.float
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
Returns the value of the 'Strikeout' attribute.boolean
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
boolean
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
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
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:
-
getHeight
float getHeight()Returns the value of the 'Height' attribute.- Returns:
- the value of the 'Height' attribute.
- See Also:
-
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:
-
isBold
boolean isBold()Returns the value of the 'Bold' attribute.- Returns:
- the value of the 'Bold' attribute.
- See Also:
-
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:
-
isItalic
boolean isItalic()Returns the value of the 'Italic' attribute.- Returns:
- the value of the 'Italic' attribute.
- See Also:
-
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:
-
isUnderline
boolean isUnderline()Returns the value of the 'Underline' attribute.- Returns:
- the value of the 'Underline' attribute.
- See Also:
-
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:
-
isStrikeout
boolean isStrikeout()Returns the value of the 'Strikeout' attribute.- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
-
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:
-
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
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:
-
faceName
String faceName() -
height
int height() -
heightF
float heightF() -
setHeight
void setHeight(int height) -
bold
boolean bold() -
italic
boolean italic() -
underline
boolean underline() -
strikeout
boolean strikeout() -
scale
int scale() -
compositeId
CompositeId compositeId()- Specified by:
compositeId
in interfaceFont
-