public void itemStateChangedHandler ( ItemEvent e ) { String valueName = ( String ) controlToValueName . get ( e . getSource ( ) ) ; LinearInterpolator value = ( LinearInterpolator ) valueMap . get ( valueName ) ; if ( e . getStateChange ( ) == ItemEvent . SELECTED ) { value . setActive ( true ) ; editor . registerValue ( value , valueName ) ; } else { value . setActive ( false ) ; editor . removeValue ( valueName ) ; } }
Notificaiton that one of the configuration option has changed state