Changeset 1866


Ignore:
Timestamp:
11/28/06 17:49:02 (13 years ago)
Author:
curtis
Message:

Gray out inapplicable options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/apps/slim/SlimPlotter.java

    r1858 r1866  
    615615    fitSurface = new JRadioButton("Surface", false); 
    616616    fitSurface.setToolTipText("Displays fitted curves as a 2D surface"); 
     617    fitSurface.setEnabled(adjustPeaks); 
    617618    fitLines = new JRadioButton("Lines", true); 
    618619    fitLines.setToolTipText("Displays fitted curves as a series of lines"); 
     620    fitLines.setEnabled(adjustPeaks); 
    619621    resSurface = new JRadioButton("Surface", false); 
    620622    resSurface.setToolTipText( 
    621623      "Displays fitted curve residuals as a 2D surface"); 
     624    resSurface.setEnabled(adjustPeaks); 
    622625    resLines = new JRadioButton("Lines", true); 
    623626    resLines.setToolTipText( 
    624627      "Displays fitted curve residuals as a series of lines"); 
     628    resLines.setEnabled(adjustPeaks); 
    625629    colorHeight = new JRadioButton("Counts", true); 
    626630    colorHeight.setToolTipText( 
    627631      "Colorizes data according to the height (histogram count)"); 
     632    colorHeight.setEnabled(adjustPeaks); 
    628633    colorTau = new JRadioButton("Lifetimes", false); 
    629634    colorTau.setToolTipText( 
    630635      "Colorizes data according to aggregate lifetime value"); 
     636    colorTau.setEnabled(adjustPeaks); 
    631637 
    632638    numCurves = new JSpinner(new SpinnerNumberModel(1, 1, 9, 1)); 
Note: See TracChangeset for help on using the changeset viewer.