Class AppletHelper

java.lang.Object
  extended by AppletHelper

public class AppletHelper
extends java.lang.Object

A file to organizing data to be visualized inside processors' applet. Author: Chiara Rasi. chiara.rasi(at)istge.it 04-10-2007


Constructor Summary
AppletHelper()
           
 
Method Summary
 java.lang.String[][] getBidimArray()
          Returs a bidimensional array descripring all processors with their data.
 java.lang.String[] getProx()
          Returns all single processor's data: name,(author), description, input(s), output(s), domains and task as an array of strings.
 java.lang.String[] getProxNames()
          Returns all processors' names as an array of strings: id the processor is the whole workflow the field is WF: xxxx, otherwise PROC: xxx.
 void setProx(java.lang.String fromApplet)
          This method has as input a long string, composed of all processors data divided by " processor list separator" and populates the arrays proxTemp[] and proxNames[].
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletHelper

public AppletHelper()
Method Detail

setProx

public void setProx(java.lang.String fromApplet)
This method has as input a long string, composed of all processors data divided by " processor list separator" and populates the arrays proxTemp[] and proxNames[]. In the end the array prox[][] is set for each processor.This array contains data such as processor flag (workflow or simple processor), name, description, input(s), output(s), domains and task.


getProxNames

public java.lang.String[] getProxNames()
Returns all processors' names as an array of strings: id the processor is the whole workflow the field is WF: xxxx, otherwise PROC: xxx.


getProx

public java.lang.String[] getProx()
Returns all single processor's data: name,(author), description, input(s), output(s), domains and task as an array of strings.


getBidimArray

public java.lang.String[][] getBidimArray()
Returs a bidimensional array descripring all processors with their data.