public void updateFieldVisibility(NeuronUpdateRule rule){
  boolean bounded=rule instanceof BoundedUpdateRule;
  boolean clip=false;
  setBoundsPanelVisible(bounded);
  if (bounded) {
    clip=rule instanceof ClippableUpdateRule;
    clippingDropDown.setSelected(clip);
  }
  setClippingPanelVisible(clip);
  setBoundsEnabled(bounded);
}

public void updateFieldVisibility ( NeuronUpdateRule rule ) { boolean bounded = rule instanceof BoundedUpdateRule ; boolean clip = false ; setBoundsPanelVisible ( bounded ) ; if ( bounded ) { clip = rule instanceof ClippableUpdateRule ; clippingDropDown . setSelected ( clip ) ; } setClippingPanelVisible ( clip ) ; setBoundsEnabled ( bounded ) ; }
update field visibility based on whether rule is bounded and / or clipped . called when the neuron update rule is changed .
