| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ListProperty | |
| private final ListProperty | |
| private static URIToPathConverter | ISO_FILE_CONVERTER
CSSFX fake converter that returns the same file as the one provided. |
| private final ObjectProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ListProperty | Returns: list of additional tabsA list of application specific tabs that will be added to the built-in tabs. |
| public final ListProperty | Returns: the list of available configurationsStores a list of stylesheet configurations that the user can select individually. |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public ObservableList | |
| public final ObservableList | |
| public final CssShowcaseView. | |
| 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 ObjectProperty | Returns: the currently active configurationThe currently selected CSS configuration. |
| public void | |
| public final void | |
| public final void |
| additionalTabs | back to summary |
|---|---|
| private final ListProperty<Tab> additionalTabs | |
| configurations | back to summary |
|---|---|
| private final ListProperty<CssShowcaseView. | |
| ISO_FILE_CONVERTER | back to summary |
|---|---|
| private static URIToPathConverter ISO_FILE_CONVERTER CSSFX fake converter that returns the same file as the one provided. By doing that changes in that file will be handled automatically by CSSFX | |
| selectedConfiguration | back to summary |
|---|---|
| private final ObjectProperty<CssShowcaseView. | |
| CssShowcaseView | back to summary |
|---|---|
| public CssShowcaseView() | |
| additionalTabsProperty | back to summary |
|---|---|
| public ListProperty A list of application specific tabs that will be added to the built-in tabs.
| |
| configurationsProperty | back to summary |
|---|---|
| public final ListProperty Stores a list of stylesheet configurations that the user can select individually.
| |
| 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 | |
| getAdditionalTabs | back to summary |
|---|---|
| public ObservableList | |
| getConfigurations | back to summary |
|---|---|
| public final ObservableList | |
| getSelectedConfiguration | back to summary |
|---|---|
| public final CssShowcaseView. | |
| 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.
| |
| selectedConfigurationProperty | back to summary |
|---|---|
| public final ObjectProperty The currently selected CSS configuration.
| |
| setAdditionalTabs | back to summary |
|---|---|
| public void setAdditionalTabs(ObservableList<Tab> additionalTabs) | |
| setConfigurations | back to summary |
|---|---|
| public final void setConfigurations(ObservableList<CssShowcaseView. | |
| setSelectedConfiguration | back to summary |
|---|---|
| public final void setSelectedConfiguration(CssShowcaseView. | |
| Access | Constructor and Description |
|---|---|
| public | CssConfiguration(String
the name of the configuration, e.g. "My three custom stylesheets". name)Constructs a new configuration. |
| public | CssConfiguration(String
the name of the configuration, e.g. "My three custom stylesheets". name, String... one or more stylesheet URLs to add to the configuration url)Constructs a new configuration. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public List | Returns: the list of stylesheet URLsReturns the list of stylesheet URLs added to this configuration |
| name | back to summary |
|---|---|
| private String name | |
| stylesheetUrls | back to summary |
|---|---|
| private List<String> stylesheetUrls | |
| CssConfiguration | back to summary |
|---|---|
| public CssConfiguration(String name) Constructs a new configuration. Stylesheet URLs have to be added
by calling
| |
| CssConfiguration | back to summary |
|---|---|
| public CssConfiguration(String name, String... url) Constructs a new configuration. Stylesheet URLs have to be added
by calling | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the configuration.
| |
| getStylesheetUrls | back to summary |
|---|---|
| public List Returns the list of stylesheet URLs added to this configuration | |