Class ActivityTemplatePanel

java.lang.Object
  |
  +--ActivityTemplatePanel
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ActivityTemplatePanel
extends java.lang.Object
implements java.awt.event.ActionListener

This class is the panel for adding activity template to the process template


Constructor Summary
ActivityTemplatePanel()
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          This method handles action listeners for the JComponents in this invoke panel
 DOMTreeFull getTree(int docNumber)
          This method gets the Tree format of the XML resource identified by the docNumber..
static void main(java.lang.String[] args)
          main: Used only for Testing
 void makeContentPane(java.lang.String collectionName)
          This method constructs the content pane of the activity template panel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityTemplatePanel

public ActivityTemplatePanel()
                      throws java.lang.Exception
Constructor

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
main: Used only for Testing

java.lang.Exception

makeContentPane

public void makeContentPane(java.lang.String collectionName)
                     throws java.lang.Exception
This method constructs the content pane of the activity template panel

java.lang.Exception

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
This method handles action listeners for the JComponents in this invoke panel

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Returns:
void

getTree

public DOMTreeFull getTree(int docNumber)
                    throws java.lang.Exception
This method gets the Tree format of the XML resource identified by the docNumber.. not id , number from resourcesList

Returns:
DOMTreeFull tree consructed using the XML resource
java.lang.Exception