org.eclipse.birt.chart.model.attribute
Interface FontDefinition

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
FontDefinitionImpl

public interface FontDefinition
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Font Definition'. This type holds all font-related information.

The following features are supported:

See Also:
AttributePackage.getFontDefinition()

Method Summary
 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.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getName

public java.lang.String getName()
Returns the value of the 'Name' attribute. Gets the font name. Holds the font name.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), AttributePackage.getFontDefinition_Name()

setName

public void setName(java.lang.String value)
Sets the value of the 'Name' attribute. Sets the font name.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getSize

public float getSize()
Returns the value of the 'Size' attribute. Gets the font size. Holds the font size. This can be a floating point number.

Returns:
the value of the 'Size' attribute.
See Also:
isSetSize(), unsetSize(), setSize(float), AttributePackage.getFontDefinition_Size()

setSize

public void setSize(float value)
Sets the value of the 'Size' attribute. Sets the font size.

Parameters:
value - the new value of the 'Size' attribute.
See Also:
isSetSize(), unsetSize(), getSize()

unsetSize

public void unsetSize()
Unsets the value of the 'Size' attribute.

See Also:
isSetSize(), getSize(), setSize(float)

isSetSize

public boolean isSetSize()
Returns whether the value of the ' Size' attribute is set.

Returns:
whether the value of the 'Size' attribute is set.
See Also:
unsetSize(), getSize(), setSize(float)

isBold

public boolean isBold()
Returns the value of the 'Bold' attribute. Gets whether the font is to be in bold. This specifies if the font is to be in bold.

Returns:
the value of the 'Bold' attribute.
See Also:
isSetBold(), unsetBold(), setBold(boolean), AttributePackage.getFontDefinition_Bold()

setBold

public void setBold(boolean value)
Sets the value of the 'Bold' attribute. Gets whether the font is to be in bold.

Parameters:
value - the new value of the 'Bold' attribute.
See Also:
isSetBold(), unsetBold(), isBold()

unsetBold

public void unsetBold()
Unsets the value of the 'Bold' attribute.

See Also:
isSetBold(), isBold(), setBold(boolean)

isSetBold

public 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

public boolean isItalic()
Returns the value of the 'Italic' attribute. Gets whether the font is to be rendered in italics. This specifies if the font is to be in italics.

Returns:
the value of the 'Italic' attribute.
See Also:
isSetItalic(), unsetItalic(), setItalic(boolean), AttributePackage.getFontDefinition_Italic()

setItalic

public void setItalic(boolean value)
Sets the value of the 'Italic' attribute. Sets whether the font is to be rendered in italics.

Parameters:
value - the new value of the 'Italic' attribute.
See Also:
isSetItalic(), unsetItalic(), isItalic()

unsetItalic

public void unsetItalic()
Unsets the value of the 'Italic' attribute.

See Also:
isSetItalic(), isItalic(), setItalic(boolean)

isSetItalic

public 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)

isStrikethrough

public boolean isStrikethrough()
Returns the value of the 'Strikethrough' attribute. Gets whether the font is to be rendered with strikethrough. This specifies if the font is to be in strikethrough.

Returns:
the value of the 'Strikethrough' attribute.
See Also:
isSetStrikethrough(), unsetStrikethrough(), setStrikethrough(boolean), AttributePackage.getFontDefinition_Strikethrough()

setStrikethrough

public void setStrikethrough(boolean value)
Sets the value of the 'Strikethrough' attribute. Sets whether the font is to be rendered with strikethrough.

Parameters:
value - the new value of the 'Strikethrough' attribute.
See Also:
isSetStrikethrough(), unsetStrikethrough(), isStrikethrough()

unsetStrikethrough

public void unsetStrikethrough()
Unsets the value of the 'Strikethrough' attribute.

See Also:
isSetStrikethrough(), isStrikethrough(), setStrikethrough(boolean)

isSetStrikethrough

public boolean isSetStrikethrough()
Returns whether the value of the 'Strikethrough' attribute is set.

Returns:
whether the value of the 'Strikethrough' attribute is set.
See Also:
unsetStrikethrough(), isStrikethrough(), setStrikethrough(boolean)

isUnderline

public boolean isUnderline()
Returns the value of the 'Underline' attribute. Gets whether the font is to be underlined. This specifies if the font is to be underlined.

Returns:
the value of the 'Underline' attribute.
See Also:
isSetUnderline(), unsetUnderline(), setUnderline(boolean), AttributePackage.getFontDefinition_Underline()

setUnderline

public void setUnderline(boolean value)
Sets the value of the ' Underline' attribute. Sets whether the font is to be underlined.

Parameters:
value - the new value of the 'Underline' attribute.
See Also:
isSetUnderline(), unsetUnderline(), isUnderline()

unsetUnderline

public void unsetUnderline()
Unsets the value of the ' Underline' attribute.

See Also:
isSetUnderline(), isUnderline(), setUnderline(boolean)

isSetUnderline

public 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)

isWordWrap

public boolean isWordWrap()
Returns the value of the 'Word Wrap' attribute. Gets whether the word wrapping is enabled. Indicates if wordwrapping is to be used.

Returns:
the value of the 'Word Wrap' attribute.
See Also:
isSetWordWrap(), unsetWordWrap(), setWordWrap(boolean), AttributePackage.getFontDefinition_WordWrap()

setWordWrap

public void setWordWrap(boolean value)
Sets the value of the ' Word Wrap' attribute. Sets whether the word wrapping is enabled.

Parameters:
value - the new value of the 'Word Wrap' attribute.
See Also:
isSetWordWrap(), unsetWordWrap(), isWordWrap()

unsetWordWrap

public void unsetWordWrap()
Unsets the value of the ' Word Wrap' attribute.

See Also:
isSetWordWrap(), isWordWrap(), setWordWrap(boolean)

isSetWordWrap

public boolean isSetWordWrap()
Returns whether the value of the 'Word Wrap' attribute is set.

Returns:
whether the value of the 'Word Wrap' attribute is set.
See Also:
unsetWordWrap(), isWordWrap(), setWordWrap(boolean)

getAlignment

public TextAlignment getAlignment()
Returns the value of the 'Alignment' containment reference. Gets the text alignment for the font. Defines the alignment to be used to render the text in the element.

Returns:
the value of the 'Alignment' containment reference.
See Also:
setAlignment(TextAlignment), AttributePackage.getFontDefinition_Alignment()

setAlignment

public void setAlignment(TextAlignment value)
Sets the value of the 'Alignment' containment reference. Sets the text alignment for the font.

Parameters:
value - the new value of the 'Alignment' containment reference.
See Also:
getAlignment()

getRotation

public double getRotation()
Returns the value of the 'Rotation' attribute. Gets the text rotation angle (in degrees). Holds the angle (in degrees) through which the text is to be rotated while rendering.

Returns:
the value of the 'Rotation' attribute.
See Also:
isSetRotation(), unsetRotation(), setRotation(double), AttributePackage.getFontDefinition_Rotation()

setRotation

public void setRotation(double value)
Sets the value of the ' Rotation' attribute. Sets the text rotation angle (in degrees).

Parameters:
value - the new value of the 'Rotation' attribute.
See Also:
isSetRotation(), unsetRotation(), getRotation()

unsetRotation

public void unsetRotation()
Unsets the value of the ' Rotation' attribute.

See Also:
isSetRotation(), getRotation(), setRotation(double)

isSetRotation

public boolean isSetRotation()
Returns whether the value of the 'Rotation' attribute is set.

Returns:
whether the value of the 'Rotation' attribute is set.
See Also:
unsetRotation(), getRotation(), setRotation(double)


Copyright © 2005-2007 Actuate Corp. All rights reserved.