ProgressBar control.
ProgressBar
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private StackPane | |
| private double | |
| private Region | |
| private DoubleProperty | indeterminateBarAnimationTime
How many seconds it should take for the indeterminate bar to go from one edge to the other |
| private BooleanProperty | indeterminateBarEscape
If the progress bar should escape the ends of the progress bar region in indeterminate state |
| private BooleanProperty | indeterminateBarFlip
If the progress bar should flip when it gets to the ends in indeterminate state |
| private DoubleProperty | indeterminateBarLength
The length of the bouncing progress bar in indeterminate state |
| private StackPane | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | ProgressBarSkin(ProgressBar
The control that this skin should be installed onto. control)Creates a new ProgressBarSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| public double | computeBaselineOffset(double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the baseline offset based on the first managed child. |
| protected double | computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the maximum allowable height of the Skin, based on the provided width. |
| protected double | computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the maximum allowable width of the Skin, based on the provided height. |
| protected double | computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred height of this |
| protected double | computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred width of this |
| pack-priv void | |
| public static List | Returns: the CssMetaData associated with this class, which may include the CssMetaData of its superclassesHides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses. |
| public List | getCssMetaData()
Overrides javafx. This method should delegate to |
| private double | |
| private Boolean | |
| private Boolean | |
| private Double | |
| private DoubleProperty | |
| private BooleanProperty | |
| private BooleanProperty | |
| private DoubleProperty | |
| pack-priv void | |
| protected void | layoutChildren(final double x, final double y, final double w, final double h)
Overrides javafx. Called during the layout pass of the scenegraph. |
| pack-priv void |
| bar | back to summary |
|---|---|
| private StackPane bar | |
| barWidth | back to summary |
|---|---|
| private double barWidth | |
| clipRegion | back to summary |
|---|---|
| private Region clipRegion | |
| indeterminateBarAnimationTime | back to summary |
|---|---|
| private DoubleProperty indeterminateBarAnimationTime How many seconds it should take for the indeterminate bar to go from one edge to the other | |
| indeterminateBarEscape | back to summary |
|---|---|
| private BooleanProperty indeterminateBarEscape If the progress bar should escape the ends of the progress bar region in indeterminate state | |
| indeterminateBarFlip | back to summary |
|---|---|
| private BooleanProperty indeterminateBarFlip If the progress bar should flip when it gets to the ends in indeterminate state | |
| indeterminateBarLength | back to summary |
|---|---|
| private DoubleProperty indeterminateBarLength The length of the bouncing progress bar in indeterminate state | |
| track | back to summary |
|---|---|
| private StackPane track | |
| wasIndeterminate | back to summary |
|---|---|
| pack-priv boolean wasIndeterminate | |
| ProgressBarSkin | back to summary |
|---|---|
| public ProgressBarSkin(ProgressBar control) Creates a new ProgressBarSkin instance, installing the necessary child
nodes into the Control
| |
| computeBaselineOffset | back to summary |
|---|---|
| public double computeBaselineOffset(double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the baseline offset based on the first managed child. If there
is no such child, returns
| |
| computeMaxHeight | back to summary |
|---|---|
| protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the maximum allowable height of the Skin, based on the provided width.
| |
| computeMaxWidth | back to summary |
|---|---|
| protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the maximum allowable width of the Skin, based on the provided height.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred height of this
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred width of this
| |
| createIndeterminateTimeline | back to summary |
|---|---|
| pack-priv void createIndeterminateTimeline() Overrides javafx.
| |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.
| |
| getCssMetaData | back to summary |
|---|---|
| public List Overrides javafx. Doc from javafx. This method should delegate to
| |
| getIndeterminateBarAnimationTime | back to summary |
|---|---|
| private double getIndeterminateBarAnimationTime() | |
| getIndeterminateBarEscape | back to summary |
|---|---|
| private Boolean getIndeterminateBarEscape() | |
| getIndeterminateBarFlip | back to summary |
|---|---|
| private Boolean getIndeterminateBarFlip() | |
| getIndeterminateBarLength | back to summary |
|---|---|
| private Double getIndeterminateBarLength() | |
| indeterminateBarAnimationTimeProperty | back to summary |
|---|---|
| private DoubleProperty indeterminateBarAnimationTimeProperty() | |
| indeterminateBarEscapeProperty | back to summary |
|---|---|
| private BooleanProperty indeterminateBarEscapeProperty() | |
| indeterminateBarFlipProperty | back to summary |
|---|---|
| private BooleanProperty indeterminateBarFlipProperty() | |
| indeterminateBarLengthProperty | back to summary |
|---|---|
| private DoubleProperty indeterminateBarLengthProperty() | |
| initialize | back to summary |
|---|---|
| pack-priv void initialize() Overrides javafx.
| |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(final double x, final double y, final double w, final double h) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| updateProgress | back to summary |
|---|---|
| pack-priv void updateProgress() Overrides javafx.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final double | |
| private final boolean | |
| private final WeakReference | |
| private final double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | interpolate(double frac)
Implements abstract javafx. The method |
| endX | back to summary |
|---|---|
| private final double endX | |
| flip | back to summary |
|---|---|
| private final boolean flip | |
| skin | back to summary |
|---|---|
| private final WeakReference<ProgressBarSkin> skin | |
| startX | back to summary |
|---|---|
| private final double startX | |
| IndeterminateTransition | back to summary |
|---|---|
| public IndeterminateTransition(double startX, double endX, ProgressBarSkin progressBarSkin) | |
| interpolate | back to summary |
|---|---|
| protected void interpolate(double frac) Implements abstract javafx. Doc from javafx. The method
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| INDETERMINATE_BAR_ANIMATION_TIME | back to summary |
|---|---|
| private static final CssMetaData<ProgressBar, Number> INDETERMINATE_BAR_ANIMATION_TIME | |
| INDETERMINATE_BAR_ESCAPE | back to summary |
|---|---|
| private static final CssMetaData<ProgressBar, Boolean> INDETERMINATE_BAR_ESCAPE | |
| INDETERMINATE_BAR_FLIP | back to summary |
|---|---|
| private static final CssMetaData<ProgressBar, Boolean> INDETERMINATE_BAR_FLIP | |
| INDETERMINATE_BAR_LENGTH | back to summary |
|---|---|
| private static final CssMetaData<ProgressBar, Number> INDETERMINATE_BAR_LENGTH | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |