gammaSlider.setEnabled(!(f.equals(RendererModel.LINEAR) || f.equals(RendererModel.LOGARITHMIC)));
gammaSlider.setEnabled((f.equals(RendererModel.POLYNOMIAL) || f.equals(RendererModel.EXPONENTIAL)));
    void onCurveChange()    {         String f = model.getFamily();        gammaSlider.setEnabled(!(f.equals(RendererModel.LINEAR) ||                 f.equals(RendererModel.LOGARITHMIC)));        graphicsPane.onCurveChange();     }