mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-22 07:02:29 +00:00
Updates to FX GUI
This commit is contained in:
parent
0578b35408
commit
3090bdab67
50
src/Acquisition/layoutFX/CheckWavHeadersPane.java
Normal file
50
src/Acquisition/layoutFX/CheckWavHeadersPane.java
Normal file
@ -0,0 +1,50 @@
|
||||
package Acquisition.layoutFX;
|
||||
|
||||
import Acquisition.FolderInputSystem;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.ProgressBar;
|
||||
import javafx.scene.control.ScrollPane;
|
||||
import javafx.scene.control.TextArea;
|
||||
import pamViewFX.fxNodes.PamBorderPane;
|
||||
|
||||
|
||||
/**
|
||||
* Pane with controls to fix wave file headers.
|
||||
* @author Jamie Macaulay
|
||||
*
|
||||
*/
|
||||
public class CheckWavHeadersPane extends PamBorderPane {
|
||||
|
||||
|
||||
/**
|
||||
* The text area.
|
||||
*/
|
||||
private TextArea textArea;
|
||||
|
||||
/**
|
||||
* The nma eo fhte label
|
||||
*/
|
||||
private Label folderName;
|
||||
|
||||
/**
|
||||
* Progress bar showing progress of file write
|
||||
*/
|
||||
private ProgressBar progressBar;
|
||||
|
||||
public CheckWavHeadersPane(FolderInputSystem folderInputSystem) {
|
||||
this.setCenter(new Label("Hello fix wav pane"));
|
||||
|
||||
|
||||
folderName = new Label(" ");
|
||||
textArea = new TextArea();
|
||||
textArea.setEditable(false);
|
||||
ScrollPane scrollPane = new ScrollPane(textArea);
|
||||
scrollPane.setPrefSize(322, 300);
|
||||
this.setCenter(scrollPane);
|
||||
|
||||
progressBar = new ProgressBar();
|
||||
this.setBottom(progressBar);
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
package Acquisition.layoutFX;
|
||||
|
||||
import Acquisition.FolderInputSystem;
|
||||
import javafx.scene.control.Label;
|
||||
import pamViewFX.fxNodes.PamBorderPane;
|
||||
|
||||
|
||||
/**
|
||||
* Pane with controls to fix wave file headers.
|
||||
* @author Jamie Macaulay
|
||||
*
|
||||
*/
|
||||
public class FixWavPane extends PamBorderPane {
|
||||
|
||||
public FixWavPane(FolderInputSystem folderInputSystem) {
|
||||
this.setCenter(new Label("Hello fix wav pane"));
|
||||
}
|
||||
|
||||
}
|
@ -143,7 +143,7 @@ public class FolderInputPane extends DAQSettingsPane<FolderInputParameters>{
|
||||
/**
|
||||
* Pane to fix the headers of wave files.
|
||||
*/
|
||||
private FixWavPane fixWavPane;
|
||||
private CheckWavHeadersPane fixWavPane;
|
||||
|
||||
/**
|
||||
* Toggle button for merging contigious files
|
||||
@ -244,7 +244,7 @@ public class FolderInputPane extends DAQSettingsPane<FolderInputParameters>{
|
||||
fileDateStrip.prefWidthProperty().bind(pamVBox.widthProperty());
|
||||
|
||||
|
||||
fixWavPane = new FixWavPane(folderInputSystem);
|
||||
fixWavPane = new CheckWavHeadersPane(folderInputSystem);
|
||||
|
||||
Label utilsLabel=new Label("Sound file utilities");
|
||||
PamGuiManagerFX.titleFont2style(utilsLabel);
|
||||
|
Loading…
Reference in New Issue
Block a user