public abstract class AbstractTextboxContainer extends AbstractFrameContainer implements TextboxContainer
| Constructor and Description |
|---|
AbstractTextboxContainer() |
| Modifier and Type | Method and Description |
|---|---|
Textbox |
addTextbox()
Add a text box
|
Textbox |
addTextbox(FrameRectangle position)
Add a text box with a specific size at a specific position
|
Textbox |
getTextboxByName(String name)
Return a text box whose name is a given value.
|
List<Textbox> |
getTextboxByUsage(PresentationDocument.PresentationClass usage)
This method is only useful for presentation slides.
|
Iterator<Textbox> |
getTextboxIterator()
Return an Iterator of the text objects in this container.
|
boolean |
removeTextbox(Textbox box)
Remove the text box.
|
addFrame, addFrame, getFrameByName, getFrameByPresentationclass, getFrameContainerElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFrameContainerElementpublic Textbox addTextbox()
TextboxContaineraddTextbox in interface TextboxContainerpublic boolean removeTextbox(Textbox box)
removeTextbox in interface TextboxContainerbox - - the text box to be removedpublic Iterator<Textbox> getTextboxIterator()
TextboxContainergetTextboxIterator in interface TextboxContainerpublic Textbox addTextbox(FrameRectangle position)
TextboxContaineraddTextbox in interface TextboxContainerposition - - the rectangle (position and size) of this text boxpublic Textbox getTextboxByName(String name)
getTextboxByName in interface TextboxContainername - - the name of the text boxAbstractFrameContainer.getFrameByName(String)public List<Textbox> getTextboxByUsage(PresentationDocument.PresentationClass usage)
This method will return a list of text boxs by the usage defined in presentation slides.
getTextboxByUsage in interface TextboxContainerusage - - the usage descriptionAbstractFrameContainer.getFrameByPresentationclass(PresentationDocument.PresentationClass),
PresentationDocument.PresentationClassCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.