AutopsySLogVizModule/src/AutopsySLogVizModule/DataContentViewerSlogViz.java
/**
    * Initializes the plotting process, when the "plot timeline(s)" button was clicked. 
    *
    * @param evt the Event triggering the button
    */
Initializes the plotting process, when the "plot timeline(s)" button was clicked.
@param evt the Event triggering the button
Initializes the plotting process when the " plot timeline ( s ) " button was clicked . @param evt the Event triggering the button
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
        int state = -1;
        if(jRadioButton1.isSelected()){
            state = 0;
        }
        if(jRadioButton2.isSelected()){
            state = 1;
        }
        if(jRadioButton3.isSelected()){
            state = 2;
        }
        if(jRadioButton4.isSelected()){
            state = 3;
        }
        if(jRadioButton5.isSelected()){
            state = 4;
        }
        if(jRadioButton6.isSelected()){
            state = 5;
        }
        if(state == -1){
            return;
        }
        String timeoffset = jTextField1.getText();
        if(timeoffset == null || !Pattern.matches("^[+-]{1}(\\d){4}$", timeoffset)){
            timeoffset = "+0000";
        }
        int[] index = this.jList1.getSelectedIndices();
        this.writeFiles(index, true);
        this.callPython(index, state, timeoffset);
    }
private void jButton1ActionPerformed ( java . awt . event . ActionEvent evt ) { int state = - 1 ; if ( jRadioButton1 . isSelected ( ) ) { state = 0 ; } if ( jRadioButton2 . isSelected ( ) ) { state = 1 ; } if ( jRadioButton3 . isSelected ( ) ) { state = 2 ; } if ( jRadioButton4 . isSelected ( ) ) { state = 3 ; } if ( jRadioButton5 . isSelected ( ) ) { state = 4 ; } if ( jRadioButton6 . isSelected ( ) ) { state = 5 ; } if ( state == - 1 ) { return ; } String timeoffset = jTextField1 . getText ( ) ; if ( timeoffset == null || ! Pattern . matches ( "^[+-]{1}(\\d){4}$" , timeoffset ) ) { timeoffset = "+0000" ; } int [ ] index = this . jList1 . getSelectedIndices ( ) ; this . writeFiles ( index , true ) ; this . callPython ( index , state , timeoffset ) ; }
Initializes the plotting process, when the "plot timeline(s)" button was clicked.
Initializes the plotting process when the " plot timeline ( s ) " button was clicked .
//GEN-FIRST:event_jButton1ActionPerformed