use of org.vcell.util.Range in project vcell by virtualcell.
the class Plot2DSettings method setXAutoRange.
/**
* Sets the xAutoRange property (cbit.image.Range) value.
* @param xAutoRange The new value for the property.
* @see #getXAutoRange
*/
public void setXAutoRange(Range xAutoRange) {
Range oldValue = fieldXAutoRange;
fieldXAutoRange = xAutoRange;
firePropertyChange("xAutoRange", oldValue, xAutoRange);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class ExportSpecs method setupDisplayAdapterService.
public static void setupDisplayAdapterService(DisplayPreferences displayPreferences, DisplayAdapterService displayAdapterService, Range valueDomain) {
displayAdapterService.setValueDomain(valueDomain);
Range activeScaleRange = (displayPreferences == null ? valueDomain : (displayPreferences.getScaleSettings() == null ? valueDomain : displayPreferences.getScaleSettings()));
displayAdapterService.setActiveScaleRange(activeScaleRange);
String colorMode = (displayPreferences == null ? DisplayAdapterService.BLUERED : (displayPreferences.getColorMode() == null ? DisplayAdapterService.BLUERED : displayPreferences.getColorMode()));
displayAdapterService.setActiveColorModelID(colorMode);
int[] specialColors = (displayPreferences == null ? displayAdapterService.getSpecialColors() : (displayPreferences.getSpecialColors() == null ? displayAdapterService.getSpecialColors() : displayPreferences.getSpecialColors()));
System.arraycopy(specialColors, 0, displayAdapterService.getSpecialColors(), 0, specialColors.length);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class DisplayAdapter method setScaleRange.
/**
* Sets the scaleRange property (cbit.image.Range) value.
* @param scaleRange The new value for the property.
* @see #getScaleRange
*/
public final void setScaleRange(Range scaleRange) {
Range oldValue = fieldScaleRange;
fieldScaleRange = scaleRange;
firePropertyChange("scaleRange", oldValue, scaleRange);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class DisplayAdapterService method setCustomScaleRange.
/**
* Sets the customScaleRange property (cbit.image.Range) value.
* @param customScaleRange The new value for the property.
* @see #getCustomScaleRange
*/
public void setCustomScaleRange(Range customScaleRange) {
Range oldValue = fieldCustomScaleRange;
fieldCustomScaleRange = customScaleRange;
firePropertyChange(CUSTOM_SCALE_RANGE, oldValue, customScaleRange);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class PDEOffscreenRenderer method setVarAndTimeAndDisplay.
public void setVarAndTimeAndDisplay(String varName, double timepoint, DisplayPreferences displayPreferences) throws DataAccessException {
getServerPDEDataContext().setVariableName(varName);
getServerPDEDataContext().setTimePoint(timepoint);
domainValid = (displayPreferences == null ? null : (displayPreferences.getDomainValid() == null ? null : displayPreferences.getDomainValid()));
Range valueDomain = BeanUtils.calculateValueDomain(getServerPDEDataContext().getDataValues(), domainValid);
ExportSpecs.setupDisplayAdapterService(displayPreferences, getDisplayAdapterService(), valueDomain);
}
Aggregations