public class TableObserver extends Object implements CustomViewManager.BasicElementObserver
Constructor and Description |
---|
TableObserver(ViewFactoryBase viewFactory) |
Modifier and Type | Method and Description |
---|---|
void |
customViewAdded()
Invoked just after is this custom view has been actually
registered.
|
void |
customViewRemoved()
Invoked just after is this custom view has been actually
unregistered.
|
void |
elementChanged(DocumentEvent[] events)
Invoked to report structure and/or attribute changes in an element
matching the name pattern of this observer.
|
protected Element |
findTable(Element element) |
protected boolean |
isTable(Element element) |
protected boolean |
isTableName(String localName) |
protected boolean |
isTableStyleModifier(Node node) |
protected boolean |
isTableStyleModifierName(String localName) |
public TableObserver(ViewFactoryBase viewFactory)
public void customViewAdded()
CustomViewManager.CustomView
Note that the registration of a custom view is delayed until
Document.beginEdit()
/ Document.endEdit()
is finished.
customViewAdded
in interface CustomViewManager.CustomView
public void customViewRemoved()
CustomViewManager.CustomView
Note that the removal of a custom view is delayed until Document.beginEdit()
/ Document.endEdit()
is finished.
customViewRemoved
in interface CustomViewManager.CustomView
public void elementChanged(DocumentEvent[] events)
CustomViewManager.BasicElementObserver
elementChanged notification is delayed until Document.beginEdit()
/ Document.endEdit()
is finished.
elementChanged
in interface CustomViewManager.BasicElementObserver
events
- DocumentEvents specifying structure and/or attribute
changesprotected boolean isTableStyleModifier(Node node)
protected boolean isTableStyleModifierName(String localName)
protected boolean isTable(Element element)
protected boolean isTableName(String localName)