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.internal.text
Class ParagraphPropertyStore

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.beans.AbstractPropertyStore
      extended by ag.ion.bion.officelayer.internal.text.ParagraphPropertyStore
All Implemented Interfaces:
IProperties, IPropertyStore, IParagraphProperties, IParagraphPropertyStore

public class ParagraphPropertyStore
extends AbstractPropertyStore
implements IParagraphPropertyStore

Concrete implementation of the ParagraphProeprtyStore


Field Summary
 
Fields inherited from interface ag.ion.bion.officelayer.text.IParagraphProperties
ALIGN_BLOCK, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_UNDEFINED, BREAK_TYPE_PAGE_AFTER, BREAK_TYPE_PAGE_BEFORE, BREAK_TYPE_PAGE_BOTH, TYPE_ID
 
Constructor Summary
ParagraphPropertyStore(IParagraph paragraph)
          Constructor for the paragraph properties
 
Method Summary
 short getBreakType()
          Returns break type.
 ICharacterProperties getCharacterProperties()
          Gets the characterproperties contained in the paragraph
 short getParaAdjust()
          Returns para adjust.
 java.lang.String getParaStyleName()
          Returns name of the paragraph style.
 IProperties getProperties()
          Returns the properties.
 void setBreakType(short breakType)
          Sets break type.
 void setParaAdjust(short paraAdjust)
          Sets the para adjust.
 void setParaStyleName(java.lang.String name)
          Sets name of the paragraph style.
 
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

ParagraphPropertyStore

public ParagraphPropertyStore(IParagraph paragraph)
                       throws TextException
Constructor for the paragraph properties

Parameters:
paragraph - the Paragraph from which to gain the properties
Throws:
TextException
Method Detail

getProperties

public IProperties getProperties()
Returns the properties.

Specified by:
getProperties in interface IPropertyStore
Specified by:
getProperties in class AbstractPropertyStore
Returns:
the properties

setBreakType

public void setBreakType(short breakType)
                  throws TextException
Sets break type.

Specified by:
setBreakType in interface IParagraphProperties
Parameters:
breakType - break type
Throws:
TextException - if the break type is not valid

getBreakType

public short getBreakType()
                   throws TextException
Returns break type.

Specified by:
getBreakType in interface IParagraphProperties
Returns:
break type
Throws:
TextException - if the break type is not available

getParaAdjust

public short getParaAdjust()
                    throws TextException
Returns para adjust.

Specified by:
getParaAdjust in interface IParagraphProperties
Returns:
para adjust
Throws:
TextException - if the para adjust is not available

setParaAdjust

public void setParaAdjust(short paraAdjust)
                   throws TextException
Sets the para adjust.

Specified by:
setParaAdjust in interface IParagraphProperties
Parameters:
adjust - the value of the para adjust
Throws:
TextException - if the para adjust is not valid

setParaStyleName

public void setParaStyleName(java.lang.String name)
                      throws NOAException
Sets name of the paragraph style.

Specified by:
setParaStyleName in interface IParagraphProperties
Parameters:
name - name of the paragraph style
Throws:
NOAException - if the new paragraph style can not be set

getParaStyleName

public java.lang.String getParaStyleName()
                                  throws NOAException
Returns name of the paragraph style.

Specified by:
getParaStyleName in interface IParagraphProperties
Throws:
NOAException - if the name of the paragraph style can not be provided

getCharacterProperties

public ICharacterProperties getCharacterProperties()
                                            throws TextException
Gets the characterproperties contained in the paragraph

Specified by:
getCharacterProperties in interface IParagraphProperties
Returns:
the characterproperties of the paragraph
Throws:
TextException

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