Package | Description |
---|---|
javafx.embed.swing |
Provides the set of classes to use JavaFX inside Swing applications.
|
javafx.embed.swt |
Provides the set of classes to use JavaFX inside SWT applications.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.canvas |
Provides the set of classes for canvas, an immediate mode style of rendering API.
|
javafx.scene.effect |
Provides the set of classes for attaching graphical filter effects to JavaFX Scene Graph Nodes.
|
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
javafx.scene.layout |
Provides classes to support user interface layout.
|
javafx.scene.paint |
Provides the set of classes for colors and gradients used to fill shapes and
backgrounds when rendering the scene graph.
|
javafx.stage |
Provides the top-level container classes for JavaFX content.
|
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
SwingFXUtils.fromFXImage(Image img,
BufferedImage bimg)
Snapshots the specified JavaFX
Image object and stores a
copy of its pixels into a BufferedImage object, creating
a new object if needed. |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.swt.graphics.ImageData |
SWTFXUtils.fromFXImage(Image image,
org.eclipse.swt.graphics.ImageData imageData)
Snapshots the specified JavaFX
Image object and stores a
copy of its pixels into a new ImageData object. |
Modifier and Type | Method and Description |
---|---|
Image |
ImageCursor.getImage()
Gets the value of the property image.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<Image> |
ImageCursor.imageProperty()
The image to display when the cursor is active.
|
Modifier and Type | Method and Description |
---|---|
static ImageCursor |
ImageCursor.chooseBestCursor(Image[] images,
double hotspotX,
double hotspotY)
Creates a custom image cursor from one of the specified images.
|
Constructor and Description |
---|
ImageCursor(Image image)
Constructs an
ImageCursor from the specified image. |
ImageCursor(Image image,
double hotspotX,
double hotspotY)
Constructs an
ImageCursor from the specified image and hotspot
coordinates. |
Modifier and Type | Method and Description |
---|---|
void |
GraphicsContext.drawImage(Image img,
double x,
double y)
Draws an image at the given x, y position using the width
and height of the given image.
|
void |
GraphicsContext.drawImage(Image img,
double x,
double y,
double w,
double h)
Draws an image into the given destination rectangle of the canvas.
|
void |
GraphicsContext.drawImage(Image img,
double sx,
double sy,
double sw,
double sh,
double dx,
double dy,
double dw,
double dh)
Draws the specified source rectangle of the given image to the given
destination rectangle of the Canvas.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageInput.getSource()
Gets the value of the property source.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Image> |
ImageInput.sourceProperty()
The source
Image . |
Modifier and Type | Method and Description |
---|---|
void |
ImageInput.setSource(Image value)
Sets the value of the property source.
|
Constructor and Description |
---|
ImageInput(Image source)
Creates a new instance of ImageInput with the specified source.
|
ImageInput(Image source,
double x,
double y)
Creates a new instance of ImageInput with the specified source, x and y.
|
Modifier and Type | Class and Description |
---|---|
class |
WritableImage
The
WritableImage class represents a custom graphical image
that is constructed from pixels supplied by the application, and possibly
from PixelReader objects from any number of sources, including
images read from a file or URL. |
Modifier and Type | Method and Description |
---|---|
Image |
ImageView.getImage()
Gets the value of the property image.
|
static Image |
Image.impl_fromPlatformImage(Object image)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Image> |
ImageView.imageProperty()
The
Image to be painted by this ImageView . |
Modifier and Type | Method and Description |
---|---|
void |
ImageView.setImage(Image value)
Sets the value of the property image.
|
Constructor and Description |
---|
ImageView(Image image)
Allocates a new ImageView object using the given image.
|
Modifier and Type | Method and Description |
---|---|
Image |
Dragboard.getDragView()
Gets the image used as a drag view.
|
Image |
Clipboard.getImage()
Gets the Image from the clipboard which had previously
been registered.
|
Image |
ClipboardContent.getImage()
Gets the Image from the
ClipboardContent
which had previously been put. |
Modifier and Type | Method and Description |
---|---|
boolean |
ClipboardContent.putImage(Image i)
Puts an Image into the
ClipboardContent . |
void |
Dragboard.setDragView(Image image)
Sets the visual representation of data being transfered
in a drag and drop gesture.
|
void |
Dragboard.setDragView(Image image,
double offsetX,
double offsetY)
Sets the visual representation of data being transfered
in a drag and drop gesture.
|
Modifier and Type | Method and Description |
---|---|
Image |
BackgroundImage.getImage()
The image to be used.
|
Image |
BorderImage.getImage()
The image to be used.
|
Constructor and Description |
---|
BackgroundImage(Image image,
BackgroundRepeat repeatX,
BackgroundRepeat repeatY,
BackgroundPosition position,
BackgroundSize size)
Creates a new BackgroundImage.
|
BorderImage(Image image,
BorderWidths widths,
Insets insets,
BorderWidths slices,
boolean filled,
BorderRepeat repeatX,
BorderRepeat repeatY)
Creates a new BorderImage.
|
Modifier and Type | Method and Description |
---|---|
Image |
PhongMaterial.getBumpMap()
Gets the value of the property bumpMap.
|
Image |
PhongMaterial.getDiffuseMap()
Gets the value of the property diffuseMap.
|
Image |
ImagePattern.getImage()
Gets the image to be used as a paint.
|
Image |
PhongMaterial.getSelfIlluminationMap()
Gets the value of the property selfIlluminationMap.
|
Image |
PhongMaterial.getSpecularMap()
Gets the value of the property specularMap.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Image> |
PhongMaterial.bumpMapProperty()
The bump map of this
PhongMaterial , which is a normal map stored
as a RGB Image . |
ObjectProperty<Image> |
PhongMaterial.diffuseMapProperty()
The diffuse map of this
PhongMaterial . |
ObjectProperty<Image> |
PhongMaterial.selfIlluminationMapProperty()
The self illumination map of this
PhongMaterial . |
ObjectProperty<Image> |
PhongMaterial.specularMapProperty()
The specular map of this
PhongMaterial . |
Modifier and Type | Method and Description |
---|---|
void |
PhongMaterial.setBumpMap(Image value)
Sets the value of the property bumpMap.
|
void |
PhongMaterial.setDiffuseMap(Image value)
Sets the value of the property diffuseMap.
|
void |
PhongMaterial.setSelfIlluminationMap(Image value)
Sets the value of the property selfIlluminationMap.
|
void |
PhongMaterial.setSpecularMap(Image value)
Sets the value of the property specularMap.
|
Constructor and Description |
---|
ImagePattern(Image image)
Creates a new instance of ImagePattern from the specified image.
|
ImagePattern(Image image,
double x,
double y,
double width,
double height,
boolean proportional)
Creates a new instance of ImagePattern.
|
PhongMaterial(Color diffuseColor,
Image diffuseMap,
Image specularMap,
Image bumpMap,
Image selfIlluminationMap)
Creates a new instance of
PhongMaterial class using the specified
colors and images for its diffuseColor properties. |
Modifier and Type | Method and Description |
---|---|
ObservableList<Image> |
Stage.getIcons()
Gets the icon images to be used in the window decorations and when
minimized.
|
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.