public interface FontDefinition extends IChartObject
The following features are supported:
| 限定符和类型 | 方法和说明 |
|---|---|
FontDefinition |
copyInstance() |
TextAlignment |
getAlignment()
Returns the value of the 'Alignment' containment reference.
|
java.lang.String |
getName()
Returns the value of the 'Name' attribute.
|
double |
getRotation()
Returns the value of the 'Rotation' attribute.
|
float |
getSize()
Returns the value of the 'Size' attribute.
|
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 |
isSetItalic()
Returns whether the value of the '
Italic' attribute is set.
|
boolean |
isSetRotation()
Returns whether the value of the '
Rotation' attribute is set |
boolean |
isSetSize()
Returns whether the value of the '
Size' attribute is set.
|
boolean |
isSetStrikethrough()
Returns whether the value of the '
Strikethrough' attribute is set |
boolean |
isSetUnderline()
Returns whether the value of the '
Underline' attribute is set |
boolean |
isSetWordWrap()
Returns whether the value of the '
Word Wrap' attribute is set |
boolean |
isStrikethrough()
Returns the value of the 'Strikethrough' attribute.
|
boolean |
isUnderline()
Returns the value of the 'Underline' attribute.
|
boolean |
isWordWrap()
Returns the value of the 'Word Wrap' attribute.
|
void |
setAlignment(TextAlignment value)
Sets the value of the '
Alignment' containment reference |
void |
setBold(boolean value)
Sets the value of the '
Bold' attribute |
void |
setItalic(boolean value)
Sets the value of the '
Italic' attribute |
void |
setName(java.lang.String value)
Sets the value of the '
Name' attribute |
void |
setRotation(double value)
Sets the value of the '
Rotation' attribute.
|
void |
setSize(float value)
Sets the value of the '
Size' attribute |
void |
setStrikethrough(boolean value)
Sets the value of the '
Strikethrough' attribute |
void |
setUnderline(boolean value)
Sets the value of the '
Underline' attribute.
|
void |
setWordWrap(boolean value)
Sets the value of the '
Word Wrap' attribute.
|
void |
unsetBold()
Unsets the value of the '
Bold' attribute |
void |
unsetItalic()
Unsets the value of the '
Italic' attribute |
void |
unsetRotation()
Unsets the value of the '
Rotation' attribute.
|
void |
unsetSize()
Unsets the value of the '
Size' attribute |
void |
unsetStrikethrough()
Unsets the value of the '
Strikethrough' attribute |
void |
unsetUnderline()
Unsets the value of the '
Underline' attribute.
|
void |
unsetWordWrap()
Unsets the value of the '
Word Wrap' attribute.
|
java.lang.String getName()
setName(String),
AttributePackage.getFontDefinition_Name()void setName(java.lang.String value)
Name' attribute.
Sets the font name. value - the new value of the 'Name' attribute.getName()float getSize()
isSetSize(),
unsetSize(),
setSize(float),
AttributePackage.getFontDefinition_Size()void setSize(float value)
Size' attribute.
Sets the font size. value - the new value of the 'Size' attribute.isSetSize(),
unsetSize(),
getSize()void unsetSize()
Size' attribute.
isSetSize(),
getSize(),
setSize(float)boolean isSetSize()
Size' attribute is set. unsetSize(),
getSize(),
setSize(float)boolean isBold()
isSetBold(),
unsetBold(),
setBold(boolean),
AttributePackage.getFontDefinition_Bold()void setBold(boolean value)
Bold' attribute.
Gets whether the font is to be in bold. value - the new value of the 'Bold' attribute.isSetBold(),
unsetBold(),
isBold()void unsetBold()
Bold' attribute.
isSetBold(),
isBold(),
setBold(boolean)boolean isSetBold()
Bold' attribute is set. unsetBold(),
isBold(),
setBold(boolean)boolean isItalic()
isSetItalic(),
unsetItalic(),
setItalic(boolean),
AttributePackage.getFontDefinition_Italic()void setItalic(boolean value)
Italic' attribute.
Sets whether the font is to be rendered in italics. value - the new value of the 'Italic' attribute.isSetItalic(),
unsetItalic(),
isItalic()void unsetItalic()
Italic' attribute.
boolean isSetItalic()
Italic' attribute is set. unsetItalic(),
isItalic(),
setItalic(boolean)boolean isStrikethrough()
isSetStrikethrough(),
unsetStrikethrough(),
setStrikethrough(boolean),
AttributePackage.getFontDefinition_Strikethrough()void setStrikethrough(boolean value)
Strikethrough' attribute.
Sets whether the font is to be rendered with strikethrough. value - the new value of the 'Strikethrough' attribute.isSetStrikethrough(),
unsetStrikethrough(),
isStrikethrough()void unsetStrikethrough()
Strikethrough' attribute.
boolean isSetStrikethrough()
Strikethrough' attribute is set.
unsetStrikethrough(),
isStrikethrough(),
setStrikethrough(boolean)boolean isUnderline()
isSetUnderline(),
unsetUnderline(),
setUnderline(boolean),
AttributePackage.getFontDefinition_Underline()void setUnderline(boolean value)
Underline' attribute. Sets whether the font is to be underlined. value - the new value of the 'Underline' attribute.isSetUnderline(),
unsetUnderline(),
isUnderline()void unsetUnderline()
Underline' attribute. boolean isSetUnderline()
Underline' attribute is set.
unsetUnderline(),
isUnderline(),
setUnderline(boolean)boolean isWordWrap()
isSetWordWrap(),
unsetWordWrap(),
setWordWrap(boolean),
AttributePackage.getFontDefinition_WordWrap()void setWordWrap(boolean value)
Word Wrap' attribute. Sets whether the word wrapping is enabled. value - the new value of the 'Word Wrap' attribute.isSetWordWrap(),
unsetWordWrap(),
isWordWrap()void unsetWordWrap()
Word Wrap' attribute. boolean isSetWordWrap()
Word Wrap' attribute is set.
unsetWordWrap(),
isWordWrap(),
setWordWrap(boolean)TextAlignment getAlignment()
setAlignment(TextAlignment),
AttributePackage.getFontDefinition_Alignment()void setAlignment(TextAlignment value)
Alignment' containment reference.
Sets the text alignment for the font. value - the new value of the 'Alignment' containment reference.getAlignment()double getRotation()
isSetRotation(),
unsetRotation(),
setRotation(double),
AttributePackage.getFontDefinition_Rotation()void setRotation(double value)
Rotation' attribute. Sets the text rotation angle (in degrees). value - the new value of the 'Rotation' attribute.isSetRotation(),
unsetRotation(),
getRotation()void unsetRotation()
Rotation' attribute. boolean isSetRotation()
Rotation' attribute is set.
unsetRotation(),
getRotation(),
setRotation(double)FontDefinition copyInstance()
copyInstance 在接口中 IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.