{ view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(w); int maxi = (int) eventManager.getGlobalChannelWindowEnd(w); int s = (int) eventManager.getChannelWindowStart(w); int e = (int) eventManager.getChannelWindowEnd(w); QuantumDef qDef = getQuantumDef(); gr = new GraphicsRepresentation(this, qDef.family, qDef.curveCoefficient, qDef.cdStart, qDef.cdEnd, mini, maxi); gr.setReverseIntensity(view.getCodomainPane().getRI().isSelected()); if (qDef.family == QuantumFactory.EXPONENTIAL) gr.setDefaultExponential(s, e); else gr.setDefaultLinear(s, e); view.setGRepresentation(gr); view.buildGRPane(); eventManager.setMappingPane(); }
{ view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(w); int maxi = (int) eventManager.getGlobalChannelWindowEnd(w); int s = (int) eventManager.getChannelWindowStart(w); int e = (int) eventManager.getChannelWindowEnd(w); QuantumDef qDef = getQuantumDef(); int family = eventManager.getChannelFamily(w); double cc = eventManager.getChannelCurveCoefficient(w); double[] cbStats = eventManager.getChannelBindingStats(w); gr = new GraphicsRepresentation(this, family, cc, qDef.cdStart, qDef.cdEnd, mini, maxi, cbStats); gr.setReverseIntensity(view.getCodomainPane().getRI().isSelected()); if (family == QuantumFactory.EXPONENTIAL) gr.setDefaultExponential(s, e); else gr.setDefaultLinear(s, e); view.setGRepresentation(gr); view.buildGRPane(); DomainPaneManager dpm = view.getDomainPane().getManager(); dpm.resetDefaultGamma(cc, family); dpm.resetDefaultComboBox(view.getDomainPane().getTransformations(), family); eventManager.setMappingPane(); }
	void setWavelength(int w)	{		view.getGRPane().removeAll();		GraphicsRepresentation gr = view.getGRepresentation();		gr = null;		int mini = (int) eventManager.getGlobalChannelWindowStart(w);		int maxi = (int) eventManager.getGlobalChannelWindowEnd(w);		int s = 			(int) eventManager.getChannelWindowStart(w);		int e = 			(int) eventManager.getChannelWindowEnd(w);		QuantumDef qDef = getQuantumDef();		gr = new GraphicsRepresentation(this, qDef.family, 				qDef.curveCoefficient, qDef.cdStart, qDef.cdEnd, mini, maxi);		gr.setReverseIntensity(view.getCodomainPane().getRI().isSelected());		if (qDef.family == QuantumFactory.EXPONENTIAL)			gr.setDefaultExponential(s, e);		else gr.setDefaultLinear(s, e);		view.setGRepresentation(gr);		view.buildGRPane();		eventManager.setMappingPane();	}