public int getNumPresets() {
ConfigNode aconfigNode[] = root.fetch("ScatterColorSet");
return aconfigNode.length;
}
public String toString() {
ConfigNode aconfigNode[] = root.fetch("ScatterColorSet");
ScatterColorSet tmp = new ScatterColorSet();
String ret = "Default is " + getPresetNames() [getDefaultIndex()] + " index " + getDefaultIndex() + "\n";
for (int index = 0; index < aconfigNode.length; index++) {
tmp.bindConfig(aconfigNode[index]);
ret += tmp.toString() +"\n";