|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.simple.draw.AbstractFrameContainer
public abstract class AbstractFrameContainer
AbstractFrameContainer is an abstract implementation of the FrameContainer interface, with a default implementation for every method defined in FrameContainer, except getFrameContainerElement(). A subclass must implement the abstract method getFrameContainerElement().
| Constructor Summary | |
|---|---|
AbstractFrameContainer()
|
|
| Method Summary | |
|---|---|
Frame |
addFrame()
Add a frame to the container |
Frame |
addFrame(FrameRectangle rectangle)
Add a frame with the specific position to the container |
Frame |
getFrameByName(String name)
Return a frame whose name (specified with "draw:name") is a given value. |
List<Frame> |
getFrameByPresentationclass(PresentationDocument.PresentationClass usage)
Return a list of frame whose usage (specified with "presentation:class") is a given value. |
abstract OdfElement |
getFrameContainerElement()
Get the ODF element which can have |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFrameContainer()
| Method Detail |
|---|
public abstract OdfElement getFrameContainerElement()
FrameContainer
getFrameContainerElement in interface FrameContainerpublic Frame addFrame()
public Frame addFrame(FrameRectangle rectangle)
rectangle - - the rectangle (position and size) of this frame
public Frame getFrameByName(String name)
name - - the name of this frame
public List<Frame> getFrameByPresentationclass(PresentationDocument.PresentationClass usage)
Null will be returned if the owner document is not a presentation document.
usage - - the usage value
PresentationDocument.PresentationClass
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||