|
org.netbeans.modules.xml.xam/1 1.18.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentModel<C extends DocumentComponent<C>>
Interface describing an abstract model. The model is based on a document representation that represents the persistent form.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.netbeans.modules.xml.xam.Model |
|---|
Model.State |
| Field Summary |
|---|
| Fields inherited from interface org.netbeans.modules.xml.xam.Model |
|---|
STATE_PROPERTY |
| Method Summary | |
|---|---|
boolean |
areSameNodes(Node n1,
Node n2)
|
C |
createComponent(C parent,
Element element)
Create component to be added as child of given component. |
DocumentComponent |
findComponent(int position)
Find component given a position into the Swing document. |
Document |
getDocument()
|
C |
getRootComponent()
Returns model root component. |
String |
getXPathExpression(DocumentComponent component)
Return XPath expression for the given component. |
| Methods inherited from interface org.netbeans.modules.xml.xam.Model |
|---|
addChildComponent, addComponentListener, addPropertyChangeListener, addUndoableEditListener, addUndoableRefactorListener, endTransaction, getModelSource, getState, inSync, isIntransaction, removeChildComponent, removeComponentListener, removePropertyChangeListener, removeUndoableEditListener, removeUndoableRefactorListener, startTransaction, sync |
| Method Detail |
|---|
Document getDocument()
C getRootComponent()
boolean areSameNodes(Node n1,
Node n2)
String getXPathExpression(DocumentComponent component)
C createComponent(C parent,
Element element)
DocumentComponent findComponent(int position)
|
org.netbeans.modules.xml.xam/1 1.18.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||