Package | Description |
---|---|
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
javafx.geometry |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
javafx.scene.layout |
Provides classes to support user interface layout.
|
Modifier and Type | Method and Description |
---|---|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function)
Create a CssMetaData<S, Insets> with initial value of
javafx.geometry.Insets.EMPTY , and inherit flag defaulting to false. |
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a CssMetaData<S, Insets> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a CssMetaData<S, Insets> with initial value, and inherit flag.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty)
Create a StyleableProperty<Insets> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function)
Create a StyleableProperty<Inset>.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a StyleableProperty<Inset> with initial value.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a StyleableProperty<Inset> with initial value and inherit flag.
|
static StyleConverter<ParsedValue[],Insets> |
StyleConverter.getInsetsConverter() |
Modifier and Type | Method and Description |
---|---|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a CssMetaData<S, Insets> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a CssMetaData<S, Insets> with initial value, and inherit flag.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a StyleableProperty<Inset> with initial value.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a StyleableProperty<Inset> with initial value and inherit flag.
|
Modifier and Type | Method and Description |
---|---|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function)
Create a CssMetaData<S, Insets> with initial value of
javafx.geometry.Insets.EMPTY , and inherit flag defaulting to false. |
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a CssMetaData<S, Insets> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Insets> |
StyleablePropertyFactory.createInsetsCssMetaData(String property,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a CssMetaData<S, Insets> with initial value, and inherit flag.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function)
Create a StyleableProperty<Inset>.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue)
Create a StyleableProperty<Inset> with initial value.
|
StyleableProperty<Insets> |
StyleablePropertyFactory.createStyleableInsetsProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Insets>> function,
Insets initialValue,
boolean inherits)
Create a StyleableProperty<Inset> with initial value and inherit flag.
|
Modifier and Type | Field and Description |
---|---|
static Insets |
Insets.EMPTY
Empty insets.
|
Modifier and Type | Method and Description |
---|---|
Insets |
Labeled.getLabelPadding()
Gets the value of the property labelPadding.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<Insets> |
Labeled.labelPaddingProperty()
The padding around the Labeled's text and graphic content.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SkinBase.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
boolean fillWidth,
boolean fillHeight,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
SkinBase.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
SkinBase.positionInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment)
Utility method which positions the child within an area of this
skin defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
Modifier and Type | Method and Description |
---|---|
Insets |
BackgroundFill.getInsets()
The Insets to use for this fill.
|
Insets |
Border.getInsets()
The insets define the distance from the edge of the Region to the inner-most edge
of the border, if that distance is non-negative.
|
Insets |
BorderImage.getInsets()
The insets of the BorderImage define where the border should be positioned
relative to the edge of the Region.
|
Insets |
BorderStroke.getInsets()
Defines the insets of each side of the BorderStroke.
|
Insets |
Region.getInsets()
Gets the value of the property insets.
|
static Insets |
BorderPane.getMargin(Node child)
Returns the child's margin constraint if set.
|
static Insets |
FlowPane.getMargin(Node child)
Returns the child's margin constraint if set.
|
static Insets |
GridPane.getMargin(Node child)
Returns the child's margin constraint if set.
|
static Insets |
HBox.getMargin(Node child)
Returns the child's margin constraint if set.
|
static Insets |
StackPane.getMargin(Node child)
Returns the child's margin constraints if set.
|
static Insets |
TilePane.getMargin(Node node)
Returns the child's margin constraint if set.
|
static Insets |
VBox.getMargin(Node child)
Returns the child's margin property if set.
|
Insets |
Region.getOpaqueInsets()
Gets the value of the property opaqueInsets.
|
Insets |
Background.getOutsets()
The outsets of this Background.
|
Insets |
Border.getOutsets()
The outsets of the border define the outer-most edge of the border to be drawn.
|
Insets |
Region.getPadding()
Gets the value of the property padding.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<Insets> |
Region.insetsProperty()
The insets of the Region define the distance from the edge of the region (its layout bounds,
or (0, 0, width, height)) to the edge of the content area.
|
ObjectProperty<Insets> |
Region.opaqueInsetsProperty()
Defines the area of the region within which completely opaque pixels
are drawn.
|
ObjectProperty<Insets> |
Region.paddingProperty()
The top, right, bottom, and left padding around the region's content.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Region.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
boolean fillWidth,
boolean fillHeight,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
static void |
Region.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
boolean fillWidth,
boolean fillHeight,
HPos halignment,
VPos valignment,
boolean isSnapToPixel)
Utility method which lays out the child within an area of it's
parent defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
protected void |
Region.layoutInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment)
Utility method which lays out the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
static void |
Region.positionInArea(Node child,
double areaX,
double areaY,
double areaWidth,
double areaHeight,
double areaBaselineOffset,
Insets margin,
HPos halignment,
VPos valignment,
boolean isSnapToPixel)
Utility method which positions the child within an area of this
region defined by
areaX , areaY , areaWidth x areaHeight ,
with a baseline offset relative to that area. |
static void |
GridPane.setConstraints(Node child,
int columnIndex,
int rowIndex,
int columnspan,
int rowspan,
HPos halignment,
VPos valignment,
Priority hgrow,
Priority vgrow,
Insets margin)
Sets the grid position, spans, alignment, grow priorities, and margin for
the child when contained in a gridpane.
|
static void |
BorderPane.setMargin(Node child,
Insets value)
Sets the margin for the child when contained by a border pane.
|
static void |
FlowPane.setMargin(Node child,
Insets value)
Sets the margin for the child when contained by a flowpane.
|
static void |
GridPane.setMargin(Node child,
Insets value)
Sets the margin for the child when contained by a gridpane.
|
static void |
HBox.setMargin(Node child,
Insets value)
Sets the margin for the child when contained by an hbox.
|
static void |
StackPane.setMargin(Node child,
Insets value)
Sets the margin for the child when contained by a stackpane.
|
static void |
TilePane.setMargin(Node node,
Insets value)
Sets the margin for the child when contained by a tilepane.
|
static void |
VBox.setMargin(Node child,
Insets value)
Sets the margin for the child when contained by a vbox.
|
void |
Region.setOpaqueInsets(Insets value)
Sets the value of the property opaqueInsets.
|
void |
Region.setPadding(Insets value)
Sets the value of the property padding.
|
Constructor and Description |
---|
BackgroundFill(Paint fill,
CornerRadii radii,
Insets insets)
Creates a new BackgroundFill with the specified fill, radii, and
insets.
|
BorderImage(Image image,
BorderWidths widths,
Insets insets,
BorderWidths slices,
boolean filled,
BorderRepeat repeatX,
BorderRepeat repeatY)
Creates a new BorderImage.
|
BorderStroke(Paint stroke,
BorderStrokeStyle style,
CornerRadii radii,
BorderWidths widths,
Insets insets)
Creates a new BorderStroke.
|
BorderStroke(Paint topStroke,
Paint rightStroke,
Paint bottomStroke,
Paint leftStroke,
BorderStrokeStyle topStyle,
BorderStrokeStyle rightStyle,
BorderStrokeStyle bottomStyle,
BorderStrokeStyle leftStyle,
CornerRadii radii,
BorderWidths widths,
Insets insets)
Create a new BorderStroke, specifying all construction parameters.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.