public void toggleExpanded(){
  SimpleBooleanProperty expanded=expandedProperty();
  expanded.setValue(!expanded.getValue());
}

public void toggleExpanded ( ) { SimpleBooleanProperty expanded = expandedProperty ( ) ; expanded . setValue ( ! expanded . getValue ( ) ) ; }
toggle the expanded state of this row editor .
