Graphics and String Array Components;
Both Data Flow and Class Builder will need
Graphics2D:
See examples: Canvas
Select and FSM
...
Suggested Definition for a "String_Array_Processing_Component"
Interface SA_Component
{ void put( integer inputNo,
String[] Values );
String[] get( integer outputNo );
booean isReady( ); // true if all inputs are
available and not yet processed
boolean doCompute( ); // uses inputs and
sets the outputs
int getNumIn () ;
int getNumOut() ; // gets number of
connection points
String getName( );
void setAttribute ( int index; String parm) ; // set a
single attribute
String getAttribute ( int index); // returns null if
no
attribute
}
Components do not keep track of the connections -- the
application must do that.
Each person should contribute 2 components. Send
email .. your selection and the zip of (code
and class)
At this point , it will be OK to statically code the components into
the application.
If you want to look at loading components dyanmically
(i) keep a data file of the available componets
(ii) look at some loader
tutorials, Goolge: "ClassLoader tutorial"
such as http://www.roseindia.net/javatutorials/hotdeploy.shtml
(iii ) use the JavaWorld
example;
the Loader
code is in the references list.