use of org.vcell.util.Range in project vcell by virtualcell.
the class Plot2DSettings method setYManualRange.
/**
* Sets the yManualRange property (cbit.image.Range) value.
* @param yManualRange The new value for the property.
* @see #getYManualRange
*/
public void setYManualRange(Range yManualRange) {
Range oldValue = fieldYManualRange;
fieldYManualRange = yManualRange;
firePropertyChange("yManualRange", oldValue, yManualRange);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class DisplayAdapter method setDataRange.
/**
* Sets the dataRange property (cbit.image.Range) value.
* @param dataRange The new value for the property.
* @see #getDataRange
*/
public final void setDataRange(Range dataRange) {
Range oldValue = fieldDataRange;
fieldDataRange = dataRange;
firePropertyChange("dataRange", oldValue, dataRange);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class DisplayAdapterService method updateScaleRange.
/**
* Comment
*/
private void updateScaleRange() {
Range newASRange = null;
if (getAutoScale()) {
newASRange = getValueDomain();
} else {
if (getCustomScaleRange() != null) {
newASRange = getCustomScaleRange();
} else {
newASRange = getValueDomain();
}
}
setActiveScaleRange(newASRange);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class DisplayAdapterService method setActiveScaleRange.
/**
* Sets the activeScaleRange property (cbit.image.Range) value.
* @param activeScaleRange The new value for the property.
* @see #getActiveScaleRange
*/
public void setActiveScaleRange(Range activeScaleRange) {
Range oldValue = fieldActiveScaleRange;
fieldActiveScaleRange = activeScaleRange;
if (fieldActiveScaleRange != null) {
scaleRangeLength = fieldActiveScaleRange.getMax() - fieldActiveScaleRange.getMin();
} else {
scaleRangeLength = 0;
}
firePropertyChange(ACTIVE_SCALE_RANGE, oldValue, activeScaleRange);
}
use of org.vcell.util.Range in project vcell by virtualcell.
the class DisplayAdapterService method setValueDomain.
public void setValueDomain(Range valueDomain) {
Range oldValue = fieldValueDomain;
fieldValueDomain = valueDomain;
firePropertyChange(VALUE_DOMAIN_PROP, oldValue, valueDomain);
}
Aggregations