|
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.clone.AbstractCloneService
ag.ion.bion.officelayer.internal.text.ParagraphCloneService
public class ParagraphCloneService
Concrete implementation of the CloneService for paragraphs.
Constructor Summary | |
---|---|
ParagraphCloneService(IParagraph paragraph,
ITextDocument document)
Constructs the ParagraphCloneService |
Method Summary | |
---|---|
IClonedObject |
cloneAfterThisPosition(IDestinationPosition position,
boolean adoptContent,
PropertyKeysContainer propertyKeysContainer)
Clones the chosen object after the given position and then returns a reference. |
IClonedObject |
cloneAfterThisPosition(IDestinationPosition position,
PropertyKeysContainer propertyKeysContainer)
Clones the chosen object to the given position and then returns a reference Between the given position and the newly created object there will be a paragraph to add some space betwwen them. |
void |
cloneAfterThisPositionNoReturn(IDestinationPosition position,
boolean adoptContent,
PropertyKeysContainer propertyKeysContainer)
Clones the chosen object after the given position. |
void |
cloneAfterThisPositionNoReturn(IDestinationPosition position,
PropertyKeysContainer propertyKeysContainer)
Clones the chosen object to the given position. |
IClonedObject |
cloneToPosition(IDestinationPosition range,
boolean adoptContent,
PropertyKeysContainer propertyKeysContainer)
Clones the chosen paragraph to the given position and then returns a reference This method also enables to adopts the content of the paragraph (the default is to adopt, otherwise the paramter has to be set to false) |
IClonedObject |
cloneToPosition(IDestinationPosition range,
PropertyKeysContainer propertyKeysContainer)
Clones the paragraph to the given position and then returns a reference. |
void |
cloneToPositionNoReturn(IDestinationPosition position,
boolean adoptContent,
PropertyKeysContainer propertyKeysContainer)
Clones the chosen object to the given position. |
void |
cloneToPositionNoReturn(IDestinationPosition position,
PropertyKeysContainer propertyKeysContainer)
Clones the chosen object to the given position. |
Methods inherited from class ag.ion.bion.officelayer.internal.clone.AbstractCloneService |
---|
cloneAfterThisPositions, cloneAfterThisPositions, cloneToPositions, cloneToPositions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParagraphCloneService(IParagraph paragraph, ITextDocument document) throws CloneException
paragraph
- paragraph to be useddocument
- document to be used
CloneException
- if any error occursMethod Detail |
---|
public IClonedObject cloneToPosition(IDestinationPosition range, PropertyKeysContainer propertyKeysContainer) throws CloneException
range
- range to be usedpropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.public void cloneToPositionNoReturn(IDestinationPosition position, PropertyKeysContainer propertyKeysContainer) throws CloneException
position
- the positions the object is to be cloned topropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.public IClonedObject cloneToPosition(IDestinationPosition range, boolean adoptContent, PropertyKeysContainer propertyKeysContainer) throws CloneException
range
- range to be usedadoptContent
- indicated if the content of the object should be adoptedpropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.public void cloneToPositionNoReturn(IDestinationPosition position, boolean adoptContent, PropertyKeysContainer propertyKeysContainer) throws CloneException
position
- the positions the object is to be cloned toadoptContent
- indicated if the content of the object should be adoptedpropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.public IClonedObject cloneAfterThisPosition(IDestinationPosition position, PropertyKeysContainer propertyKeysContainer) throws CloneException
position
- position to be usedpropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.public void cloneAfterThisPositionNoReturn(IDestinationPosition position, PropertyKeysContainer propertyKeysContainer) throws CloneException
position
- the position the object is to be cloned afterpropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.public IClonedObject cloneAfterThisPosition(IDestinationPosition position, boolean adoptContent, PropertyKeysContainer propertyKeysContainer) throws CloneException
position
- position to be usedadoptContent
- indicated if the content of the object should be adoptedpropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.public void cloneAfterThisPositionNoReturn(IDestinationPosition position, boolean adoptContent, PropertyKeysContainer propertyKeysContainer) throws CloneException
position
- the position the object is to be cloned afteradoptContent
- indicated if the content of the object should be adoptedpropertyKeysContainer
- container for property keys used for cloning style, my be null
CloneException
- if the object could not be cloned.
|
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 |