Package com._1c.g5.v8.dt.mcore
Interface FontRef
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,Font
,MutableFont
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
PlatformFontRef
,StyleFont
- All Known Implementing Classes:
FontRefImpl
,PlatformFontRefImpl
,StyleFontImpl
public interface FontRef extends Font, MutableFont
A representation of the model object 'Font Ref'.The following features are supported:
- See Also:
McorePackage.getFontRef()
-
-
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.Font
getFont()
Returns the value of the 'Font' reference.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
isSetBold()
Returns whether the value of the 'Bold
' attribute is set.boolean
isSetFaceName()
Returns whether the value of the 'Face Name
' attribute is set.boolean
isSetHeight()
Returns whether the value of the 'Height
' attribute is set.boolean
isSetItalic()
Returns whether the value of the 'Italic
' attribute is set.boolean
isSetScale()
Returns whether the value of the 'Scale
' attribute is set.boolean
isSetStrikeout()
Returns whether the value of the 'Strikeout
' attribute is set.boolean
isSetUnderline()
Returns whether the value of the 'Underline
' attribute is set.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
setFont(Font value)
Sets the value of the 'Font
' reference.void
setHeight(float value)
Sets the value of the 'Height
' attribute.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()
void
unsetBold()
Unsets the value of the 'Bold
' attribute.void
unsetFaceName()
Unsets the value of the 'Face Name
' attribute.void
unsetHeight()
Unsets the value of the 'Height
' attribute.void
unsetItalic()
Unsets the value of the 'Italic
' attribute.void
unsetScale()
Unsets the value of the 'Scale
' attribute.void
unsetStrikeout()
Unsets the value of the 'Strikeout
' attribute.void
unsetUnderline()
Unsets the value of the 'Underline
' attribute.
-
-
-
Method Detail
-
getFont
Font getFont()
Returns the value of the 'Font' reference.- Returns:
- the value of the 'Font' reference.
- See Also:
setFont(Font)
,McorePackage.getFontRef_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()
-
getFaceName
String getFaceName()
Returns the value of the 'Face Name' attribute.- Returns:
- the value of the 'Face Name' attribute.
- See Also:
isSetFaceName()
,unsetFaceName()
,setFaceName(String)
,McorePackage.getFontRef_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:
isSetFaceName()
,unsetFaceName()
,getFaceName()
-
unsetFaceName
void unsetFaceName()
Unsets the value of the 'Face Name
' attribute.- See Also:
isSetFaceName()
,getFaceName()
,setFaceName(String)
-
isSetFaceName
boolean isSetFaceName()
Returns whether the value of the 'Face Name
' attribute is set.- Returns:
- whether the value of the 'Face Name' attribute is set.
- See Also:
unsetFaceName()
,getFaceName()
,setFaceName(String)
-
getHeight
float getHeight()
Returns the value of the 'Height' attribute.- Returns:
- the value of the 'Height' attribute.
- See Also:
isSetHeight()
,unsetHeight()
,setHeight(float)
,McorePackage.getFontRef_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:
isSetHeight()
,unsetHeight()
,getHeight()
-
unsetHeight
void unsetHeight()
Unsets the value of the 'Height
' attribute.- See Also:
isSetHeight()
,getHeight()
,setHeight(float)
-
isSetHeight
boolean isSetHeight()
Returns whether the value of the 'Height
' attribute is set.- Returns:
- whether the value of the 'Height' attribute is set.
- See Also:
unsetHeight()
,getHeight()
,setHeight(float)
-
isBold
boolean isBold()
Returns the value of the 'Bold' attribute.- Returns:
- the value of the 'Bold' attribute.
- See Also:
isSetBold()
,unsetBold()
,setBold(boolean)
,McorePackage.getFontRef_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:
isSetBold()
,unsetBold()
,isBold()
-
unsetBold
void unsetBold()
Unsets the value of the 'Bold
' attribute.- See Also:
isSetBold()
,isBold()
,setBold(boolean)
-
isSetBold
boolean isSetBold()
Returns whether the value of the 'Bold
' attribute is set.- Returns:
- whether the value of the 'Bold' attribute is set.
- See Also:
unsetBold()
,isBold()
,setBold(boolean)
-
isItalic
boolean isItalic()
Returns the value of the 'Italic' attribute.- Returns:
- the value of the 'Italic' attribute.
- See Also:
isSetItalic()
,unsetItalic()
,setItalic(boolean)
,McorePackage.getFontRef_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:
isSetItalic()
,unsetItalic()
,isItalic()
-
unsetItalic
void unsetItalic()
Unsets the value of the 'Italic
' attribute.- See Also:
isSetItalic()
,isItalic()
,setItalic(boolean)
-
isSetItalic
boolean isSetItalic()
Returns whether the value of the 'Italic
' attribute is set.- Returns:
- whether the value of the 'Italic' attribute is set.
- See Also:
unsetItalic()
,isItalic()
,setItalic(boolean)
-
isUnderline
boolean isUnderline()
Returns the value of the 'Underline' attribute.- Returns:
- the value of the 'Underline' attribute.
- See Also:
isSetUnderline()
,unsetUnderline()
,setUnderline(boolean)
,McorePackage.getFontRef_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:
isSetUnderline()
,unsetUnderline()
,isUnderline()
-
unsetUnderline
void unsetUnderline()
Unsets the value of the 'Underline
' attribute.- See Also:
isSetUnderline()
,isUnderline()
,setUnderline(boolean)
-
isSetUnderline
boolean isSetUnderline()
Returns whether the value of the 'Underline
' attribute is set.- Returns:
- whether the value of the 'Underline' attribute is set.
- See Also:
unsetUnderline()
,isUnderline()
,setUnderline(boolean)
-
isStrikeout
boolean isStrikeout()
Returns the value of the 'Strikeout' attribute.- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
isSetStrikeout()
,unsetStrikeout()
,setStrikeout(boolean)
,McorePackage.getFontRef_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:
isSetStrikeout()
,unsetStrikeout()
,isStrikeout()
-
unsetStrikeout
void unsetStrikeout()
Unsets the value of the 'Strikeout
' attribute.- See Also:
isSetStrikeout()
,isStrikeout()
,setStrikeout(boolean)
-
isSetStrikeout
boolean isSetStrikeout()
Returns whether the value of the 'Strikeout
' attribute is set.- Returns:
- whether the value of the 'Strikeout' attribute is set.
- See Also:
unsetStrikeout()
,isStrikeout()
,setStrikeout(boolean)
-
getScale
int getScale()
Returns the value of the 'Scale' attribute. The default value is"100"
.- Returns:
- the value of the 'Scale' attribute.
- See Also:
isSetScale()
,unsetScale()
,setScale(int)
,McorePackage.getFontRef_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:
isSetScale()
,unsetScale()
,getScale()
-
unsetScale
void unsetScale()
Unsets the value of the 'Scale
' attribute.- See Also:
isSetScale()
,getScale()
,setScale(int)
-
isSetScale
boolean isSetScale()
Returns whether the value of the 'Scale
' attribute is set.- Returns:
- whether the value of the 'Scale' attribute is set.
- See Also:
unsetScale()
,getScale()
,setScale(int)
-
compositeId
CompositeId compositeId()
- Specified by:
compositeId
in interfaceFont
-
-