org.eclipse.graphiti.mm.algorithms.styles
Interface Font

All Known Implementing Classes:
FontImpl

public interface Font

A representation of the model object ' Font'.

The following features are supported:

See Also:
StylesPackage.getFont()

Method Summary
 String getName()
          Returns the value of the 'Name' attribute.
 int 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.
 void setBold(boolean value)
          Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details
 void setItalic(boolean value)
          Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details
 void setName(String value)
          Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details
 void setSize(int value)
          Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details
 

Method Detail

getName

String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

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

setName

void setName(String value)
Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details

Sets the value of the ' Name' attribute.

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

getSize

int getSize()
Returns the value of the 'Size' attribute.

If the meaning of the 'Size' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Size' attribute.
See Also:
setSize(int), StylesPackage.getFont_Size()

setSize

void setSize(int value)
Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details

Sets the value of the ' Size' attribute.

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

isItalic

boolean isItalic()
Returns the value of the 'Italic' attribute.

If the meaning of the 'Italic' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Italic' attribute.
See Also:
setItalic(boolean), StylesPackage.getFont_Italic()

setItalic

void setItalic(boolean value)
Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details

Sets the value of the ' Italic' attribute.

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

isBold

boolean isBold()
Returns the value of the 'Bold' attribute.

If the meaning of the 'Bold' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Bold' attribute.
See Also:
setBold(boolean), StylesPackage.getFont_Bold()

setBold

void setBold(boolean value)
Deprecated. use the manageFont methods in class IGaService instead to create a Font with the desired properties, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=355347 for details

Sets the value of the ' Bold' attribute.

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


Copyright (c) SAP AG 2005, 2010.