public class MainTab
extends javafx.scene.control.Tab
Constructor and Description |
---|
MainTab(MainWindow mainWindow)
Sets up the Tab.
|
Modifier and Type | Method and Description |
---|---|
void |
focusAuthorField()
Sets the focus on the author search field.
|
void |
kill()
Sends an interrupt for the crawler.
|
void |
showResults(long bytes)
Shows the results in the table.
|
void |
switchScene(boolean toMain)
Switches the GUI between "search form" and "search in progress" modes.
|
buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, getContent, getContextMenu, getGraphic, getId, getOnClosed, getOnSelectionChanged, getStyle, getStyleClass, getTabPane, getText, getTooltip, graphicProperty, idProperty, isClosable, isSelected, onClosedProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setEventHandler, setGraphic, setId, setOnClosed, setOnSelectionChanged, setStyle, setText, setTooltip, styleProperty, tabPaneProperty, textProperty, tooltipProperty
public MainTab(MainWindow mainWindow)
mainWindow
- MainWindow objects which contains the tab.public void switchScene(boolean toMain)
toMain
- If true, "search form" mode will be restored otherwise "search in progress" will be displayed.public void showResults(long bytes)
bytes
- Count of bytes to be displayed as net traffic used by the search.public void focusAuthorField()
public void kill()