public class ToolBarSkin
extends <any>
ToolBar
control.ToolBar
Type | Property and Description |
---|---|
private <any> |
boxAlignment |
private DoubleProperty |
spacing |
Modifier and Type | Class and Description |
---|---|
private static class |
ToolBarSkin.StyleableProperties
*
Stylesheet Handling *
*
|
(package private) class |
ToolBarSkin.ToolBarOverflowMenu
*
Support classes *
*
|
Modifier and Type | Field and Description |
---|---|
private <any> |
behavior |
private Pane |
box
*
Private fields *
*
|
private <any> |
boxAlignment |
private ParentTraversalEngine |
engine |
private boolean |
needsUpdate |
private boolean |
overflow |
private ToolBarSkin.ToolBarOverflowMenu |
overflowMenu |
private <any> |
overflowMenuItems |
private double |
previousHeight |
private double |
previousWidth |
private double |
savedPrefHeight |
private double |
savedPrefWidth |
private DoubleProperty |
spacing |
Constructor and Description |
---|
ToolBarSkin(ToolBar control)
Creates a new ToolBarSkin instance, installing the necessary child
nodes into the Control
children list, as
well as the necessary input mappings for handling key, mouse, etc events. |
Modifier and Type | Method and Description |
---|---|
private void |
addNodesToToolBar() |
private <any> |
boxAlignmentProperty() |
protected double |
computeMaxHeight(double width,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computeMaxWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computeMinHeight(double width,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computeMinWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computePrefHeight(double width,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
protected double |
computePrefWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
void |
dispose() |
protected void |
executeAccessibleAction(AccessibleAction action,
java.lang.Object... parameters) |
private Pos |
getBoxAlignment() |
static java.util.List<<any>> |
getClassCssMetaData()
Returns the CssMetaData associated with this class, which may include the
CssMetaData of its superclasses.
|
java.util.List<<any>> |
getCssMetaData() |
private double |
getSpacing() |
private void |
initialize()
*
Private implementation *
*
|
protected void |
layoutChildren(double x,
double y,
double w,
double h) |
protected java.lang.Object |
queryAccessibleAttribute(AccessibleAttribute attribute,
java.lang.Object... parameters) |
private void |
setBoxAlignment(Pos value) |
private void |
setSpacing(double value) |
private double |
snapSpacing(double value)
*
Properties *
*
|
private DoubleProperty |
spacingProperty() |
private final DoubleProperty spacingProperty
private final <any> boxAlignmentProperty
private Pane box
private ToolBarSkin.ToolBarOverflowMenu overflowMenu
private boolean overflow
private double previousWidth
private double previousHeight
private double savedPrefWidth
private double savedPrefHeight
private <any> overflowMenuItems
private boolean needsUpdate
private final ParentTraversalEngine engine
private final <any> behavior
private DoubleProperty spacing
private <any> boxAlignment
public ToolBarSkin(ToolBar control)
children
list, as
well as the necessary input mappings for handling key, mouse, etc events.control
- The control that this skin should be installed onto.private double snapSpacing(double value)
private final void setSpacing(double value)
private final double getSpacing()
private final DoubleProperty spacingProperty()
private final void setBoxAlignment(Pos value)
private final Pos getBoxAlignment()
private final <any> boxAlignmentProperty()
public void dispose()
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
protected void layoutChildren(double x, double y, double w, double h)
private void initialize()
private void addNodesToToolBar()
public static java.util.List<<any>> getClassCssMetaData()
public java.util.List<<any>> getCssMetaData()
protected java.lang.Object queryAccessibleAttribute(AccessibleAttribute attribute, java.lang.Object... parameters)
protected void executeAccessibleAction(AccessibleAction action, java.lang.Object... parameters)