demo
Class Group1Editor

java.lang.Object
  extended bycom.japisoft.xmlappkit.editor.AbstractXMLEditor
      extended bydemo.Group1Editor
All Implemented Interfaces:
XMLEditor

public class Group1Editor
extends AbstractXMLEditor

Here a an editor sample for the group1 tag. This editor manages a list of persons with a first name, a last name and a phone number

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Constructor Summary
Group1Editor()
           
 
Method Summary
 void start(XMLEditingContext context)
          This is called each time we begin to use this editor
 void stop(XMLEditingContext context)
          This called when we stop to use this editor like alterning to another editor.
 
Methods inherited from class com.japisoft.xmlappkit.editor.AbstractXMLEditor
getActions, getEditingChoice, getListeners, getName, getView, init, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group1Editor

public Group1Editor()
Method Detail

start

public void start(XMLEditingContext context)
Description copied from interface: XMLEditor
This is called each time we begin to use this editor

Parameters:
context - Give some information like the current editing node or the root node

stop

public void stop(XMLEditingContext context)
Description copied from interface: XMLEditor
This called when we stop to use this editor like alterning to another editor. User can change the selected node and call the commit method for confirming, thus the XML document will be updated. Note that the commit must only be called once.