Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.text
Interface ICharacterProperties

All Superinterfaces:
IProperties
All Known Subinterfaces:
ICharacterPropertyStore
All Known Implementing Classes:
CharacterProperties, CharacterPropertyStore

public interface ICharacterProperties
extends IProperties

Properties of a character


Field Summary
static java.lang.String TYPE_ID
          type id of this property
 
Method Summary
 int getFontColor()
          Returns the font color.
 float getFontSize()
          Returns the font size.
 boolean isFontBold()
          Returns if the text is bold or italic or both.
 boolean isFontItalic()
          Returns if the text ist bold or italic or both.
 boolean isFontUnderlined()
          Returns if the text ist bold or italic or both.
 void setFontBold(boolean param)
          Sets the font of the character to bold style.
 void setFontColor(int color)
          Sets the font color of the caracter.
 void setFontItalic(boolean param)
          Sets the font of the character to italic style.
 void setFontSize(float fontSize)
          Sets the font size of the specific character.
 void setFontUnderline(boolean param)
          Sets the character to be underlined.
 
Methods inherited from interface ag.ion.bion.officelayer.beans.IProperties
copyTo, getTypeID, getXPropertySet
 

Field Detail

TYPE_ID

static final java.lang.String TYPE_ID
type id of this property

See Also:
Constant Field Values
Method Detail

getFontSize

float getFontSize()
                  throws TextException
Returns the font size.

Returns:
the font size
Throws:
TextException

setFontSize

void setFontSize(float fontSize)
                 throws TextException
Sets the font size of the specific character.

Parameters:
fontSize - the fontSize to be set
Throws:
TextException - if any error occurs

isFontBold

boolean isFontBold()
                   throws TextException
Returns if the text is bold or italic or both.

Returns:
if if the text ist bold
Throws:
TextException

setFontBold

void setFontBold(boolean param)
                 throws TextException
Sets the font of the character to bold style.

Parameters:
param - the value if to be set to bold (if true then yes)
Throws:
TextException - if any error occurs

isFontItalic

boolean isFontItalic()
                     throws TextException
Returns if the text ist bold or italic or both.

Returns:
true the text is italic or both
Throws:
TextException

setFontItalic

void setFontItalic(boolean param)
                   throws TextException
Sets the font of the character to italic style.

Parameters:
param - the value if to be set to italic (if true then yes)
Throws:
TextException - if any error occurs

isFontUnderlined

boolean isFontUnderlined()
                         throws TextException
Returns if the text ist bold or italic or both.

Returns:
true the text is underlined
Throws:
TextException

setFontUnderline

void setFontUnderline(boolean param)
                      throws TextException
Sets the character to be underlined.

Parameters:
param - the value that indicates if the character should be underlined (if true then yes)
Throws:
TextException - if any error occurs

getFontColor

int getFontColor()
                 throws TextException
Returns the font color.

Returns:
the font color
Throws:
TextException

setFontColor

void setFontColor(int color)
                  throws TextException
Sets the font color of the caracter.

Parameters:
color - the font color
Throws:
TextException

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013