Package | Description |
---|---|
javafx.beans.binding |
Characteristics of Bindings
|
javafx.beans.property |
The package
javafx.beans.property defines read-only
properties and writable properties, plus a number of implementations. |
javafx.beans.value |
The package
javafx.beans.value contains the two
fundamental interfaces ObservableValue and WritableValue and all of its sub-interfaces. |
javafx.collections |
Contains the essential JavaFX collections and collection utilities
|
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
SetBinding<E>
Base class that provides most of the functionality needed to implement a
Binding of an ObservableSet . |
class |
SetExpression<E>
A
SetExpression is a
ObservableSetValue plus additional convenience
methods to generate bindings in a fluent style. |
Modifier and Type | Method and Description |
---|---|
protected abstract ObservableSet<E> |
SetBinding.computeValue()
Calculates the current value of this binding.
|
ObservableSet<E> |
SetBinding.get()
Returns the result of
SetBinding.computeValue() . |
ObservableSet<E> |
SetExpression.getValue() |
Modifier and Type | Method and Description |
---|---|
static <E> void |
Bindings.bindContent(Set<E> set1,
ObservableSet<? extends E> set2)
Generates a content binding between an
ObservableSet and a Set . |
static <E> void |
Bindings.bindContentBidirectional(ObservableSet<E> set1,
ObservableSet<E> set2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
ObservableSet . |
static <E> void |
Bindings.bindContentBidirectional(ObservableSet<E> set1,
ObservableSet<E> set2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
ObservableSet . |
static <E> BooleanBinding |
Bindings.isEmpty(ObservableSet<E> op)
|
BooleanBinding |
SetExpression.isEqualTo(ObservableSet<?> other)
|
static <E> BooleanBinding |
Bindings.isNotEmpty(ObservableSet<E> op)
|
BooleanBinding |
SetExpression.isNotEqualTo(ObservableSet<?> other)
|
static <E> IntegerBinding |
Bindings.size(ObservableSet<E> op)
Creates a new
IntegerBinding that contains the size
of an ObservableSet . |
Modifier and Type | Method and Description |
---|---|
void |
SetBinding.addListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
SetBinding.removeListener(ChangeListener<? super ObservableSet<E>> listener) |
Modifier and Type | Class and Description |
---|---|
class |
ReadOnlySetProperty<E>
Super class for all readonly properties wrapping an
ObservableSet . |
class |
ReadOnlySetPropertyBase<E>
Base class for all readonly properties wrapping an
ObservableSet . |
class |
ReadOnlySetWrapper<E>
This class provides a convenient class to define read-only properties.
|
class |
SetProperty<E>
This class provides a full implementation of a
Property wrapping a
ObservableSet . |
class |
SetPropertyBase<E>
The class
SetPropertyBase is the base class for a property
wrapping an ObservableSet . |
class |
SimpleSetProperty<E>
This class provides a full implementation of a
Property wrapping an
ObservableSet . |
Modifier and Type | Method and Description |
---|---|
ObservableSet<E> |
SetPropertyBase.get() |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlySetProperty.bindContent(ObservableSet<E> set)
Creates a content binding between the
ObservableSet , that is
wrapped in this ReadOnlySetProperty , and another ObservableSet . |
void |
ReadOnlySetProperty.bindContentBidirectional(ObservableSet<E> set)
Creates a bidirectional content binding of the
ObservableSet , that is
wrapped in this ReadOnlySetProperty , and another ObservableSet . |
void |
SetPropertyBase.set(ObservableSet<E> newValue) |
void |
SetProperty.setValue(ObservableSet<E> v)
Set the wrapped value.
|
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlySetPropertyBase.addListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
ReadOnlySetWrapper.addListener(ChangeListener<? super ObservableSet<E>> listener)
Adds a
ChangeListener which will be notified whenever the value
of the ObservableValue changes. |
void |
SetPropertyBase.addListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
SetPropertyBase.bind(ObservableValue<? extends ObservableSet<E>> newObservable) |
void |
SetProperty.bindBidirectional(Property<ObservableSet<E>> other)
Create a bidirectional binding between this
Property and another
one. |
void |
ReadOnlySetPropertyBase.removeListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
ReadOnlySetWrapper.removeListener(ChangeListener<? super ObservableSet<E>> listener)
Removes the given listener from the list of listeners, that are notified
whenever the value of the
ObservableValue changes. |
void |
SetPropertyBase.removeListener(ChangeListener<? super ObservableSet<E>> listener) |
void |
SetProperty.unbindBidirectional(Property<ObservableSet<E>> other)
Remove a bidirectional binding between this
Property and another
one. |
Constructor and Description |
---|
ReadOnlySetWrapper(Object bean,
String name,
ObservableSet<E> initialValue)
The constructor of
ReadOnlySetWrapper |
ReadOnlySetWrapper(ObservableSet<E> initialValue)
The constructor of
ReadOnlySetWrapper |
SetPropertyBase(ObservableSet<E> initialValue)
The constructor of the
SetPropertyBase . |
SimpleSetProperty(Object bean,
String name,
ObservableSet<E> initialValue)
The constructor of
SimpleSetProperty |
SimpleSetProperty(ObservableSet<E> initialValue)
The constructor of
SimpleSetProperty |
Modifier and Type | Interface and Description |
---|---|
interface |
ObservableSetValue<E>
An observable reference to an
ObservableSet . |
interface |
WritableSetValue<E>
A writable reference to an
ObservableSet . |
Modifier and Type | Method and Description |
---|---|
static <E> ObservableSet<E> |
FXCollections.checkedObservableSet(ObservableSet<E> set,
Class<E> type)
Creates and returns a typesafe wrapper on top of provided observable set.
|
static <E> ObservableSet<E> |
FXCollections.emptyObservableSet()
Creates and empty unmodifiable observable set.
|
ObservableSet<E> |
SetChangeListener.Change.getSet()
An observable set that is associated with the change.
|
static <E> ObservableSet<E> |
FXCollections.observableSet(E... elements)
Constructs an ObservableSet backed by a HashSet
that contains all the specified elements.
|
static <E> ObservableSet<E> |
FXCollections.observableSet(Set<E> set)
Constructs an ObservableSet that is backed by the specified set.
|
static <E> ObservableSet<E> |
FXCollections.synchronizedObservableSet(ObservableSet<E> set)
Creates and returns a synchronized wrapper on top of provided observable set.
|
static <E> ObservableSet<E> |
FXCollections.unmodifiableObservableSet(ObservableSet<E> set)
Creates and returns unmodifiable wrapper on top of provided observable set.
|
Modifier and Type | Method and Description |
---|---|
static <E> ObservableSet<E> |
FXCollections.checkedObservableSet(ObservableSet<E> set,
Class<E> type)
Creates and returns a typesafe wrapper on top of provided observable set.
|
static <E> ObservableSet<E> |
FXCollections.synchronizedObservableSet(ObservableSet<E> set)
Creates and returns a synchronized wrapper on top of provided observable set.
|
static <E> ObservableSet<E> |
FXCollections.unmodifiableObservableSet(ObservableSet<E> set)
Creates and returns unmodifiable wrapper on top of provided observable set.
|
Constructor and Description |
---|
Change(ObservableSet<E> set)
Constructs a change associated with a set.
|
Modifier and Type | Method and Description |
---|---|
ObservableSet<PseudoClass> |
Styleable.getPseudoClassStates()
Return the pseudo-class state of this Styleable.
|
Modifier and Type | Method and Description |
---|---|
static ObservableSet<Printer> |
Printer.getAllPrinters()
Retrieve the installed printers.
|
Modifier and Type | Method and Description |
---|---|
ObservableSet<PseudoClass> |
Node.getPseudoClassStates() |
Modifier and Type | Method and Description |
---|---|
ObservableSet<PseudoClass> |
MenuItem.getPseudoClassStates()
Return the pseudo-class state of this Styleable.
|
ObservableSet<PseudoClass> |
PopupControl.getPseudoClassStates()
Return the pseudo-class state of this Styleable.
|
ObservableSet<PseudoClass> |
Tab.getPseudoClassStates()
Return the pseudo-class state of this Styleable.
|
ObservableSet<PseudoClass> |
TableColumnBase.getPseudoClassStates()
Return the pseudo-class state of this Styleable.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.