@Override public void trigger(DialogueState state,Collection<String> updatedVars){
  if (frame != null && frame.isVisible()) {
    chatTab.trigger(state,updatedVars);
    stateMonitorTab.refresh(state,updatedVars);
  }
  refresh();
}

@ Override public void trigger ( DialogueState state , Collection < String > updatedVars ) { if ( frame != null && frame . isVisible ( ) ) { chatTab . trigger ( state , updatedVars ) ; stateMonitorTab . refresh ( state , updatedVars ) ; } refresh ( ) ; }
updates the current dialogue state displayed in the component . the current dialogue state is name " current " in the selection list .
