FilterView.
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final StringProperty | |
| private final ObjectProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | Returns: the content display valueThe content display property of the chip will be bound to the same property of the label used by the chip's skin. |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ContentDisplay | |
| public final Node | |
| public final Consumer | |
| public final String | |
| public String | getUserAgentStylesheet()
Overrides javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. |
| public final T | |
| public final ObjectProperty | |
| public final ObjectProperty | Returns: the on-close consumerA callback consumer that will be invoked when the user clicks on the close icon of the chip. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final StringProperty | |
| public final ObjectProperty |
| contentDisplay | back to summary |
|---|---|
| private final ObjectProperty<ContentDisplay> contentDisplay | |
| graphic | back to summary |
|---|---|
| private final ObjectProperty<Node> graphic | |
| onClose | back to summary |
|---|---|
| private final ObjectProperty<Consumer<T>> onClose | |
| text | back to summary |
|---|---|
| private final StringProperty text | |
| value | back to summary |
|---|---|
| private final ObjectProperty<T> value | |
| ChipView | back to summary |
|---|---|
| public ChipView() | |
| contentDisplayProperty | back to summary |
|---|---|
| public final ObjectProperty The content display property of the chip will be bound to the same property
of the label used by the chip's skin. This property allows applications to
switch to a "graphics only" mode (see
| |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS
| |
| getContentDisplay | back to summary |
|---|---|
| public final ContentDisplay getContentDisplay() | |
| getGraphic | back to summary |
|---|---|
| public final Node getGraphic() | |
| getOnClose | back to summary |
|---|---|
| public final Consumer | |
| getText | back to summary |
|---|---|
| public final String getText() The text shown by the view.
| |
| getUserAgentStylesheet | back to summary |
|---|---|
| public String getUserAgentStylesheet() Overrides javafx. Doc from javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. These styles are used in addition to whatever user-agent stylesheets are in use. This provides a mechanism for third parties to introduce styles for custom controls. The URL is a hierarchical URI of the form [scheme:][//authority][path]. If the URL does not have a [scheme:] component, the URL is considered to be the [path] component only. Any leading '/' character of the [path] is ignored and the [path] is treated as a path relative to the root of the application's classpath. Subclasses overriding this method should not assume any particular implementation approach as to the number and frequency with which it is called. For this reason, attempting any kind of dynamic implementation (i.e. returning different user agent stylesheet values) based on some state change is highly discouraged, as there is no guarantee when, or even if, this method will be called. Some JavaFX CSS implementations may choose to cache this response for an indefinite period of time, and therefore there should be no expectation around when this method is called.
For additional information about using CSS with the scene graph,
see the CSS Reference Guide.
| |
| getValue | back to summary |
|---|---|
| public final T getValue() | |
| graphicProperty | back to summary |
|---|---|
| public final ObjectProperty The graphic node shown by the chip view.
| |
| onCloseProperty | back to summary |
|---|---|
| public final ObjectProperty A callback consumer that will be invoked when the user clicks on the close icon of the chip. Applications can use this property / consumer to update the UI as a result of the closing.
| |
| setContentDisplay | back to summary |
|---|---|
| public final void setContentDisplay(ContentDisplay contentDisplay) | |
| setGraphic | back to summary |
|---|---|
| public final void setGraphic(Node graphic) | |
| setOnClose | back to summary |
|---|---|
| public final void setOnClose(Consumer<T> onClose) | |
| setText | back to summary |
|---|---|
| public final void setText(String text) | |
| setValue | back to summary |
|---|---|
| public final void setValue(T value) | |
| textProperty | back to summary |
|---|---|
| public final StringProperty textProperty() | |
| valueProperty | back to summary |
|---|---|
| public final ObjectProperty The value / model object represented by the chip view.
| |