|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.internal.beans.AbstractPropertyStore
ag.ion.bion.officelayer.internal.text.CharacterPropertyStore
public class CharacterPropertyStore
Concrete implementation of the ICharacterProeprtyStore. This class stoers properties belonging to characters, thus that after loosing the reference of the original character we still have stored the properties
Field Summary |
---|
Fields inherited from interface ag.ion.bion.officelayer.text.ICharacterProperties |
---|
TYPE_ID |
Constructor Summary | |
---|---|
CharacterPropertyStore(IParagraph origin)
Constructor for a character property store. |
|
CharacterPropertyStore(ITextCursor origin)
Constructor for a character property store. |
Method Summary | |
---|---|
int |
getFontColor()
Returns the font color. |
float |
getFontSize()
Returns the font size. |
IProperties |
getProperties()
Returns the properties. |
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 class ag.ion.bion.officelayer.internal.beans.AbstractPropertyStore |
---|
copyTo, getTypeID, getXPropertySet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ag.ion.bion.officelayer.beans.IProperties |
---|
copyTo, getTypeID, getXPropertySet |
Constructor Detail |
---|
public CharacterPropertyStore(IParagraph origin) throws TextException
origin
- the original position of the character
TextException
- if any error occurspublic CharacterPropertyStore(ITextCursor origin) throws TextException
origin
- the original position of the character
TextException
- if any error occursMethod Detail |
---|
public IProperties getProperties()
getProperties
in interface IPropertyStore
getProperties
in class AbstractPropertyStore
public float getFontSize() throws TextException
getFontSize
in interface ICharacterProperties
TextException
- if any error occurspublic void setFontSize(float fontSize) throws TextException
setFontSize
in interface ICharacterProperties
fontSize
- the fontSize to be set
TextException
- if any error occurspublic boolean isFontBold() throws TextException
isFontBold
in interface ICharacterProperties
TextException
- if the property can not be fetchedpublic void setFontBold(boolean param) throws TextException
setFontBold
in interface ICharacterProperties
param
- the value if to be set to bold (if true then yes)
TextException
- if any error occurspublic boolean isFontItalic() throws TextException
isFontItalic
in interface ICharacterProperties
TextException
- if the property can not be fetchedpublic void setFontItalic(boolean param) throws TextException
setFontItalic
in interface ICharacterProperties
param
- the value if to be set to italic (if true then yes)
TextException
- if any error occurspublic boolean isFontUnderlined() throws TextException
isFontUnderlined
in interface ICharacterProperties
TextException
- if the property can not be fetchedpublic void setFontUnderline(boolean param) throws TextException
setFontUnderline
in interface ICharacterProperties
param
- the value that indicates if the character should be underlined (if true then yes)
TextException
- if any error occurspublic int getFontColor() throws TextException
getFontColor
in interface ICharacterProperties
TextException
- if the property can not be fetchedpublic void setFontColor(int color) throws TextException
setFontColor
in interface ICharacterProperties
color
- the font color
TextException
- if the property can not be set
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |