+" The matches() method, however, does not \n(yet) verify "
+"the lContext and rContext parts of the rule.";
}
publicStringgetAppletInfo(){
return"Title: CLSFractal 1.1f, 27 Mar 1995 \nAuthor: Jim Graham \nA (not yet) Context Sensitive L-System production rule. \nThis class encapsulates a production rule for a Context Sensitive\n L-System \n(pred, succ, lContext, rContext). The matches() method, however, does not \n(yet) verify the lContext and rContext parts of the rule.";
}
publicString[][]getParameterInfo(){
String[][]info={
{"level","int","Maximum number of recursions. Default is 1."},
{"incremental","boolean","Whether or not to repaint between recursions. Default is true."},
{"delay","integer","Sets delay between repaints. Default is 50."},
{"startAngle","float","Sets the starting angle. Default is 0."},
{"rotAngle","float","Sets the rotation angle. Default is 45."},
{"border","integer","Width of border. Default is 2."},
{"normalizeScale","boolean","Whether or not to normalize the scaling. Default is true."},
{"pred","String","Initializes the rules for Context Sensitive L-Systems."},
{"succ","String","Initializes the rules for Context Sensitive L-Systems."},
{"lContext","String","Initializes the rules for Context Sensitive L-Systems."},
{"rContext","String","Initializes the rules for Context Sensitive L-Systems."}
};
returninfo;
}
@Override
publicString[][]getParameterInfo(){
String[][]info={
{"level","int","Maximum number of recursions. Default is 1."},
{"incremental","boolean","Whether or not to repaint between "
+"recursions. Default is true."},
{"delay","integer","Sets delay between repaints. Default is 50."},
{"startAngle","float","Sets the starting angle. Default is 0."},
{"rotAngle","float","Sets the rotation angle. Default is 45."},
{"border","integer","Width of border. Default is 2."},
{"normalizeScale","boolean","Whether or not to normalize "
+"the scaling. Default is true."},
{"pred","String",
"Initializes the rules for Context Sensitive L-Systems."},
{"succ","String",
"Initializes the rules for Context Sensitive L-Systems."},
{"lContext","String",
"Initializes the rules for Context Sensitive L-Systems."},
{"rContext","String",
"Initializes the rules for Context Sensitive L-Systems."}
};
returninfo;
}
}
/**
* A Logo turtle class designed to support Context sensitive L-Systems.