public void unbindCommand ( Control control ) { Command command = ( Command ) commands . remove ( control ) ; if ( command != null ) { if ( ! commands . keySet ( ) . contains ( command ) ) { commandState . remove ( command ) ; } } }
Unbinds the command associated with this control