this.av = ap.av;
}
-
+ public class FeatureRendererSettings implements Cloneable {
+ String[] renderOrder;
+ Hashtable featureGroups;
+ Hashtable featureColours;
+ float transparency;
+ Hashtable featureOrder;
+ public FeatureRendererSettings(String[] renderOrder,
+ Hashtable featureGroups, Hashtable featureColours,
+ float transparency, Hashtable featureOrder)
+ {
+ super();
+ this.renderOrder = renderOrder;
+ this.featureGroups = featureGroups;
+ this.featureColours = featureColours;
+ this.transparency = transparency;
+ this.featureOrder = featureOrder;
+ }
+ public FeatureRendererSettings(FeatureRenderer fr)
+ {
+ this.renderOrder = fr.renderOrder;
+ this.featureGroups = fr.featureGroups;
+ this.featureColours = fr.featureColours;
+ this.transparency = fr.transparency;
+ this.featureOrder = fr.featureOrder;
+ }
+ }
+ public FeatureRendererSettings getSettings()
+ {
+ return new FeatureRendererSettings(this);
+ }
+ public void transferSettings(FeatureRendererSettings fr)
+ {
+ this.renderOrder = fr.renderOrder;
+ this.featureGroups = fr.featureGroups;
+ this.featureColours = fr.featureColours;
+ this.transparency = fr.transparency;
+ this.featureOrder = fr.featureOrder;
+ }
public void transferSettings(FeatureRenderer fr)
{
this.renderOrder = fr.renderOrder;