|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextboxContainer
TextboxContainer is a container which maintains TextBox(s) as element(s). TextBox(s) can be added, removed and iterated in this container.
Method Summary | |
---|---|
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 in presentation slide. |
Iterator<Textbox> |
getTextboxIterator()
Return an Iterator of the text objects in this container. |
boolean |
removeTextbox(Textbox box)
Remove the text box |
Methods inherited from interface org.odftoolkit.simple.draw.FrameContainer |
---|
getFrameContainerElement |
Method Detail |
---|
Textbox addTextbox()
Textbox addTextbox(FrameRectangle position)
position
- - the rectangle (position and size) of this text box
boolean removeTextbox(Textbox box)
box
- - the instance of text box
Iterator<Textbox> getTextboxIterator()
Textbox getTextboxByName(String name)
name
- - the name of the text box
List<Textbox> getTextboxByUsage(PresentationDocument.PresentationClass usage)
This method will return a list of text boxs by the usage in presentation slides.
usage
- - the usage description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |