question: public void toggleExpanded ( int index ) { SimpleBooleanProperty expanded = ( SimpleBooleanProperty ) getCellObservableValue ( index ) ; expanded . setValue ( ! expanded . getValue ( ) ) ; }
target:  Toggle the expanded state of the row at the given index.