@RootNodeClass(value="TabPanel") public class TabView extends DefaultView<TabModel,javafx.scene.layout.BorderPane,TabController>
| Modifier and Type | Field and Description |
|---|---|
private javafx.scene.layout.Pane |
box
The box.
|
private Map<String,javafx.scene.control.Button> |
buttonByTab
The button by tab.
|
private javafx.scene.Node |
hoverNode
The hover node.
|
private static org.jrebirth.af.api.log.JRLogger |
LOGGER
The Constant LOGGER.
|
private javafx.scene.shape.Rectangle |
marker
The marker.
|
private javafx.scene.layout.StackPane |
stackPane
The stack pane.
|
| Constructor and Description |
|---|
TabView(TabModel model)
Instantiates a new Dock View.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTab(int idx,
Dockable tab)
Adds the tab.
|
private javafx.scene.layout.Pane |
buildButtonBar(boolean isHorizontal)
Builds the button bar.
|
void |
drawMarker(javafx.scene.control.Button dragged,
double x,
double y)
Draw marker.
|
(package private) javafx.scene.layout.Pane |
getBox()
Gets the box.
|
javafx.scene.control.Button |
getButtonByTab(Dockable t)
Gets the button by tab.
|
private void |
initButtonBar() |
protected void |
initView() |
(package private) void |
reloadButtonBar() |
int |
removeMarker()
Removes the marker.
|
void |
removeTab(List<Dockable> tabs) |
(package private) void |
selectTab(Dockable t)
Select tab.
|
hide, reload, startbuildController, buildRootNode, finalize, getController, getErrorNode, getModel, getRootNode, initInternalView, prepareprivate static final org.jrebirth.af.api.log.JRLogger LOGGER
private javafx.scene.layout.StackPane stackPane
private javafx.scene.shape.Rectangle marker
private javafx.scene.layout.Pane box
private javafx.scene.Node hoverNode
public TabView(TabModel model) throws org.jrebirth.af.api.exception.CoreException
model - the modelorg.jrebirth.af.api.exception.CoreException - the core exceptionprotected void initView()
initView in class DefaultView<TabModel,javafx.scene.layout.BorderPane,TabController>private void initButtonBar()
void reloadButtonBar()
private javafx.scene.layout.Pane buildButtonBar(boolean isHorizontal)
isHorizontal - the is horizontalpublic void addTab(int idx,
Dockable tab)
idx - the idxtab - the tabvoid selectTab(Dockable t)
t - the tjavafx.scene.layout.Pane getBox()
public javafx.scene.control.Button getButtonByTab(Dockable t)
t - the tpublic void drawMarker(javafx.scene.control.Button dragged,
double x,
double y)
x - the xy - the ypublic int removeMarker()
Copyright © 2011–2015 JRebirth OSS. All rights reserved.