|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.japisoft.xmlpad.editor.DefaultEditor
Here the DefaultEditor for the EditorModel. This Editor will edit any Text node. All other node will be refused.
Constructor Summary | |
DefaultEditor()
|
Method Summary | |
boolean |
accept(com.japisoft.fastparser.node.SimpleNode node)
Accept all text node : by checking isText |
void |
edit(EditorContext context)
Edit a particular text context. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultEditor()
Method Detail |
public boolean accept(com.japisoft.fastparser.node.SimpleNode node)
isText
accept
in interface Editor
public void edit(EditorContext context)
Editor
setResult
once
you terminate the custom editing part. If you don't want to edit it, just
write a null
result.
edit
in interface Editor
context
- Editing context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |