|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.simple.Component
public abstract class Component
This class is the parent of classes that present all kinds of document structures.
Constructor Summary | |
---|---|
Component()
|
Method Summary | |
---|---|
protected static Component |
getComponentByElement(OdfElement element)
Get the component instance by the element instance. |
abstract OdfElement |
getOdfElement()
Return the instance of OdfElement which presents this structure. |
Document |
getOwnerDocument()
Get the owner document of this component |
protected static void |
registerComponent(Component component,
OdfElement element)
Register component to the map repository |
protected static void |
unregisterComponent(OdfElement element)
Unregister component from the map repository |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Component()
Method Detail |
---|
public abstract OdfElement getOdfElement()
protected static void registerComponent(Component component, OdfElement element)
component
- the component to be registered.element
- the instance of OdfElement which presents this component.Document.getComponentMap()
protected static void unregisterComponent(OdfElement element)
element
- the instance of OdfElement which presents this component.Document.getComponentMap()
protected static Component getComponentByElement(OdfElement element)
element
- the instance of OdfElement which presents this component.
public Document getOwnerDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |