Changeset 506 for trunk/loci/visbio/view


Ignore:
Timestamp:
07/25/05 15:21:44 (15 years ago)
Author:
curtis
Message:

Add setEnabled method for enabling or disabling a slider widget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/view/BioSlideWidget.java

    r465 r506  
    190190 
    191191 
     192  // -- Component API methods -- 
     193 
     194  /** Enables or disables this dimensional slider widget. */ 
     195  public void setEnabled(boolean enabled) { 
     196    super.setEnabled(enabled); 
     197    current.setEnabled(enabled); 
     198    slider.setEnabled(enabled); 
     199    previous.setEnabled(enabled); 
     200    next.setEnabled(enabled); 
     201  } 
     202 
     203 
    192204  // -- ActionListener API methods -- 
    193205 
Note: See TracChangeset for help on using the changeset viewer.