Class BasicIdentifierPaneFX
java.lang.Object
clickDetector.layoutFX.clickClassifiers.BasicIdentifierPaneFX
- All Implemented Interfaces:
ClassifyPaneFX
- Direct Known Subclasses:
SweepClassifierPaneFX
Pane for the basic click classifier.
- Author:
- Jamie Macaulay
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClickControlReference to the click control.protected PamBorderPaneHolds click classifier controls inside hiding pane.protected TableSettingsPane<ClickTypeProperty> Pane which holds table data.protected PamBorderPaneHolds the table. -
Constructor Summary
ConstructorsConstructorDescriptionBasicIdentifierPaneFX(ClickIdentifier basicClickIdentifier, ClickControl clickControl) Create a BasicClickIdParameters pane which allows users to add multiple basic click identifiers to the PAMGuard click classifier. -
Method Summary
Modifier and TypeMethodDescriptionCreate click classifier.protected javafx.scene.NodeCreate the controls for the basic click identifier pane.javafx.collections.ObservableList<ClickTypeProperty> Get list of click classifiersGet the pane which holds the ClickTypePaneFX.Get the flip pane.javafx.scene.control.ButtonGet the button which closes the hiding pane.javafx.scene.NodegetNode()booleanGet the table which holds a list of classifiervoidsetActive(boolean b) voidsetClassifierPane(ClickTypeProperty clickTypeProperty) Set classifier pane within hiding pane.voidvoidshowFlipPane(boolean show) Show the flip pane.
-
Field Details
-
clickControl
Reference to the click control. -
clickTypesTable
Pane which holds table data. -
clickTypeHolder
Holds click classifier controls inside hiding pane. -
mainHolderPane
Holds the table.
-
-
Constructor Details
-
BasicIdentifierPaneFX
Create a BasicClickIdParameters pane which allows users to add multiple basic click identifiers to the PAMGuard click classifier.- Parameters:
basicClickIdentifier- - the ClickIdentifier. obclickControl- -a reference to the ClickControl the classifier is associated with.
-
-
Method Details
-
createSettingsPane
protected javafx.scene.Node createSettingsPane()Create the controls for the basic click identifier pane.- Returns:
- node with all controls for basic click classifier.
-
getNode
public javafx.scene.Node getNode()- Specified by:
getNodein interfaceClassifyPaneFX
-
setParams
public void setParams()- Specified by:
setParamsin interfaceClassifyPaneFX
-
getParams
public boolean getParams()- Specified by:
getParamsin interfaceClassifyPaneFX
-
getHelpPoint
- Specified by:
getHelpPointin interfaceClassifyPaneFX
-
setActive
public void setActive(boolean b) - Specified by:
setActivein interfaceClassifyPaneFX
-
showFlipPane
public void showFlipPane(boolean show) Show the flip pane. NOTE: needed to add this to stop a stack overflow error in BasicClickIdentifier 06/09/2016- Parameters:
show- - true to show pane.
-
createClickTypeProperty
Create click classifier. -
setClassifierPane
Set classifier pane within hiding pane.- Parameters:
clickTypeProperty-
-
getFlipPaneCloseButton
public javafx.scene.control.Button getFlipPaneCloseButton()Get the button which closes the hiding pane.- Returns:
- button which closes the hiding pane.
-
getClickTypeHolder
Get the pane which holds the ClickTypePaneFX.- Returns:
- a BorderPane which holds selected ClickTypePaneFX.
-
getTablePane
Get the table which holds a list of classifier- Returns:
- table which holds a list of classifiers
-
getClickClassifiers
Get list of click classifiers- Returns:
- list of click classifiers
-
getFlipPane
Get the flip pane. One side shows the table, the other shows the currently selected classifier settings.- Returns:
- the flip pane.
-