public class StartWindowToolbox extends java.lang.Object implements IFragment, ISelectable
Modifier and Type | Field and Description |
---|---|
javafx.scene.control.Button |
uiAdd |
javafx.scene.layout.HBox |
uiButtonBar |
javafx.scene.control.Button |
uiHome |
javafx.scene.layout.GridPane |
uiMetroToolBox |
javafx.scene.control.Button |
uiRemove |
ToolboxFragment |
uiSelectedNode |
javafx.scene.layout.VBox |
uiToolbox |
java.util.ArrayList<ToolboxFragment> |
uiToolboxFragments |
Constructor and Description |
---|
StartWindowToolbox()
Construct the toolbox window.
|
Modifier and Type | Method and Description |
---|---|
void |
deselect()
Is called when item is deselected, changes look.
|
javafx.scene.Node |
getFragment()
Get main view fragment.
|
SelectionType |
getType()
Specifies what kind of SelectionType this object is.
|
void |
select()
Is called when item is selected, changes look.
|
void |
setToolbox(java.util.ArrayList<ToolboxItem> toolboxItems)
Set ArrayList of ToolboxItems.
|
void |
updateSelectedNode(ToolboxFragment node)
Update a node to selected state.
|
public final javafx.scene.layout.VBox uiToolbox
public final javafx.scene.layout.GridPane uiMetroToolBox
public final java.util.ArrayList<ToolboxFragment> uiToolboxFragments
public final javafx.scene.layout.HBox uiButtonBar
public final javafx.scene.control.Button uiHome
public final javafx.scene.control.Button uiAdd
public final javafx.scene.control.Button uiRemove
public ToolboxFragment uiSelectedNode
public void setToolbox(java.util.ArrayList<ToolboxItem> toolboxItems)
toolboxItems
- List of ToolboxItems.public void updateSelectedNode(ToolboxFragment node)
node
- ToolboxFragment that should be swapped to selected state.public javafx.scene.Node getFragment()
getFragment
in interface IFragment
public void select()
select
in interface ISelectable
public void deselect()
deselect
in interface ISelectable
public SelectionType getType()
getType
in interface ISelectable