- All Implemented Interfaces:
Styleable,EventTarget,Skinnable
MFXStepperToggles that should be added to the list
after instantiating the stepper. If the list is changed after the stepper has already been laid out
then a reset() attempt is made.
The stepper has two properties to represent the current step index and the progress. The progress
is computed as the number of COMPLETED toggles divided by the number of toggles. The progress is
updated automatically, can be also forced by calling updateProgress().
NOTE: the stepper allows you to change the toggles even after it is already shown, it has been
tested and it seems to work well. However, the stepper is intended to be a "static" control, that means
you should plan ahead of time what toggles to place and their content.- See Also:
-
Property Summary
PropertiesTypePropertyDescriptionSpecifies the alignment of the toggles.Specifies the secondary color of the stepper.Specifies if the progress bar should be animated or not.Specifies, in milliseconds, the duration of the progress bar animation.Specifies the base color of the stepper.Convenience property that holds the selected toggle content node.Specifies the selected toggle position in the toggles list.Specifies the extra length (at the start and at the end) of the progress bar.Convenience property that specifies if the last toggle is selected.Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_NEXT_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_PREVIOUS_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.LAST_NEXT_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.NEXT_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.PREVIOUS_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.VALIDATION_FAILED_EVENTis fired.Specifies the progress bar background color (NOT THE PROGRESS COLOR).Specifies the borders radius of the progress bar.Specifies the progress color.Specifies the stepper's progress, the number of COMPLETED toggles divided by the total number of toggles.Specifies the spacing between toggles.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEvents class for MFXSteppers. -
Field Summary
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the alignment of the toggles.Specifies the secondary color of the stepper.Specifies if the progress bar should be animated or not.Specifies, in milliseconds, the duration of the progress bar animation.Specifies the base color of the stepper.protected Skin<?>Convenience property that holds the selected toggle content node.Specifies the selected toggle position in the toggles list.Specifies the extra length (at the start and at the end) of the progress bar.voidfireEvent(EventType<MFXStepper.MFXStepperEvent> eventType) Convenience method to fireMFXStepper.MFXStepperEventevents.voidForces the layout of the stepper to update.Gets the value of the property alignment.Gets the value of the property altColor.doubleGets the value of the property animationDuration.Gets the value of the property baseColor.List<CssMetaData<? extends Styleable,?>> static List<CssMetaData<? extends Styleable,?>> Gets the value of the property currentContent.intGets the value of the property currentIndex.doubleGets the value of the property extraSpacing.Gets the value of the property onBeforeNext.Gets the value of the property onBeforePrevious.Gets the value of the property onLastNext.Gets the value of the property onNext.Gets the value of the property onPrevious.Gets the value of the property onValidationFailed.doubleGets the value of the property progress.Gets the value of the property progressBarBackground.doubleGets the value of the property progressBarBorderRadius.Gets the value of the property progressColor.doubleGets the value of the property spacing.booleanGets the value of the property animated.booleanbooleanGets the value of the property lastToggle.Convenience property that specifies if the last toggle is selected.voidnext()Goes to the next toggle if the validator's state is valid and updates thecurrentIndexProperty()accordingly.Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_NEXT_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_PREVIOUS_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.LAST_NEXT_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.NEXT_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.PREVIOUS_EVENTis fired.Specifies the action to perform when aMFXStepper.MFXStepperEvent.VALIDATION_FAILED_EVENTis fired.voidprevious()Goes to the previous toggle and updates thecurrentIndexProperty()accordingly.Specifies the progress bar background color (NOT THE PROGRESS COLOR).Specifies the borders radius of the progress bar.Specifies the progress color.Specifies the stepper's progress, the number of COMPLETED toggles divided by the total number of toggles.voidreset()Resets the stepper and all its toggles to the initial state.voidsetAlignment(Pos alignment) Sets the value of the property alignment.voidsetAltColor(Paint altColor) Sets the value of the property altColor.voidsetAnimated(boolean animated) Sets the value of the property animated.voidsetAnimationDuration(double animationDuration) Sets the value of the property animationDuration.voidsetBaseColor(Paint baseColor) Sets the value of the property baseColor.protected voidsetCurrentContent(Node content) Sets the value of the property currentContent.protected voidsetCurrentIndex(int currentIndex) Sets the value of the property currentIndex.voidsetEnableContentValidationOnError(boolean enableContentValidationOnError) Specifies if all the controls that implementValidatedshould be validated when the next button is pressed and the toggle state is ERROR.voidsetExtraSpacing(double extraSpacing) Sets the value of the property extraSpacing.protected voidsetLastToggle(boolean lastToggle) Sets the value of the property lastToggle.voidsetOnBeforeNext(EventHandler<MFXStepper.MFXStepperEvent> onBeforeNext) Sets the value of the property onBeforeNext.voidsetOnBeforePrevious(EventHandler<MFXStepper.MFXStepperEvent> onBeforePrevious) Sets the value of the property onBeforePrevious.voidsetOnLastNext(EventHandler<MFXStepper.MFXStepperEvent> onLastNext) Sets the value of the property onLastNext.voidSets the value of the property onNext.voidsetOnPrevious(EventHandler<MFXStepper.MFXStepperEvent> onPrevious) Sets the value of the property onPrevious.voidsetOnValidationFailed(EventHandler<MFXStepper.MFXStepperEvent> onValidationFailed) Sets the value of the property onValidationFailed.protected voidsetProgress(double progress) Sets the value of the property progress.voidsetProgressBarBackground(Paint progressBarBackground) Sets the value of the property progressBarBackground.voidsetProgressBarBorderRadius(double progressBarBorderRadius) Sets the value of the property progressBarBorderRadius.voidsetProgressColor(Paint progressColor) Sets the value of the property progressColor.voidsetSpacing(double spacing) Sets the value of the property spacing.voidsetStepperToggles(List<MFXStepperToggle> stepperToggles) Replaces the stepper's toggles with the specified ones.Specifies the spacing between toggles.voidUpdates theprogressProperty()by counting the number of COMPLETED toggles and dividing it by the total number of controls, so the progress values go from 0.0 to 1.0.Methods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javafx.css.Styleable
getStyleableNode
-
Property Details
-
animationDuration
Specifies, in milliseconds, the duration of the progress bar animation. -
progress
Specifies the stepper's progress, the number of COMPLETED toggles divided by the total number of toggles. The values go from 0.0 to 1.0.- See Also:
-
currentIndex
Specifies the selected toggle position in the toggles list. The index is updated bynext()andprevious()methods.- See Also:
-
currentContent
Convenience property that holds the selected toggle content node.In case one of the toggles has a
nullcontent the content pane's children list is cleared.- See Also:
-
lastToggle
Convenience property that specifies if the last toggle is selected.- See Also:
-
spacing
Specifies the spacing between toggles.- See Also:
-
extraSpacing
Specifies the extra length (at the start and at the end) of the progress bar.- See Also:
-
alignment
Specifies the alignment of the toggles. Steppers are usually centered though.- See Also:
-
baseColor
Specifies the base color of the stepper.In the default CSS file this property affects: the progress color, the buttons background and borders when focused, also used for the buttons' ripple generators.
In the
MFXStepperToggleCSS file this property affects:- State NONE: the icon color
- State SELECTED: the background and borders, the label's text fill
- State COMPLETED: the borders
Default is: #7F0FFF (purple)- See Also:
-
altColor
Specifies the secondary color of the stepper.In the
MFXStepperToggleCSS file this property affects:- State NONE: the label's text fill
- State COMPLETED: the icon's color, the label's text fill
Default is: #BEBEBE (a light gray)- See Also:
-
progressBarBorderRadius
Specifies the borders radius of the progress bar. -
progressBarBackground
Specifies the progress bar background color (NOT THE PROGRESS COLOR). In theMFXStepperToggleCSS file this property affects:- State NONE: the toggle's background and borders. This is because if the toggle's background is transparent you will see the progress bar underneath them
Default is: #F8F8FF (almost white) -
progressColor
Specifies the progress color. Default is: #7F0FFF (it's set to be the same as the base color)- See Also:
-
animated
Specifies if the progress bar should be animated or not.- See Also:
-
onBeforeNext
Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_NEXT_EVENTis fired. -
onNext
Specifies the action to perform when aMFXStepper.MFXStepperEvent.NEXT_EVENTis fired.- See Also:
-
onBeforePrevious
Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_PREVIOUS_EVENTis fired. -
onPrevious
Specifies the action to perform when aMFXStepper.MFXStepperEvent.PREVIOUS_EVENTis fired.- See Also:
-
onLastNext
Specifies the action to perform when aMFXStepper.MFXStepperEvent.LAST_NEXT_EVENTis fired.- See Also:
-
onValidationFailed
Specifies the action to perform when aMFXStepper.MFXStepperEvent.VALIDATION_FAILED_EVENTis fired.
-
-
Constructor Details
-
MFXStepper
public MFXStepper() -
MFXStepper
-
-
Method Details
-
next
public void next()Goes to the next toggle if the validator's state is valid and updates thecurrentIndexProperty()accordingly. Special case: if the last toggle is already selected then the progress bar reaches the 100%. This method is also responsible for updating the toggles' state and firing the following events:MFXStepper.MFXStepperEvent.BEFORE_NEXT_EVENT,MFXStepper.MFXStepperEvent.NEXT_EVENT,MFXStepper.MFXStepperEvent.LAST_NEXT_EVENT,MFXStepper.MFXStepperEvent.VALIDATION_FAILED_EVENT. -
previous
public void previous()Goes to the previous toggle and updates thecurrentIndexProperty()accordingly. This method is also responsible for updating the toggles' state and firing the following events:MFXStepper.MFXStepperEvent.BEFORE_PREVIOUS_EVENT,MFXStepper.MFXStepperEvent.PREVIOUS_EVENT. -
reset
public void reset()Resets the stepper and all its toggles to the initial state. -
getCurrentStepperNode
- Returns:
- the current selected toggle by using the
currentIndexProperty(), or null if an exception is captured.
-
updateProgress
public void updateProgress()Updates theprogressProperty()by counting the number of COMPLETED toggles and dividing it by the total number of controls, so the progress values go from 0.0 to 1.0. -
getStepperToggles
- Returns:
- the stepper's toggles list
-
setStepperToggles
Replaces the stepper's toggles with the specified ones. -
getAnimationDuration
public double getAnimationDuration()Gets the value of the property animationDuration.- Property description:
- Specifies, in milliseconds, the duration of the progress bar animation.
-
animationDurationProperty
Specifies, in milliseconds, the duration of the progress bar animation. -
setAnimationDuration
public void setAnimationDuration(double animationDuration) Sets the value of the property animationDuration.- Property description:
- Specifies, in milliseconds, the duration of the progress bar animation.
-
getProgress
public double getProgress()Gets the value of the property progress.- Property description:
- Specifies the stepper's progress, the number of COMPLETED toggles divided by the total number of toggles. The values go from 0.0 to 1.0.
-
progressProperty
Specifies the stepper's progress, the number of COMPLETED toggles divided by the total number of toggles. The values go from 0.0 to 1.0.- See Also:
-
setProgress
protected void setProgress(double progress) Sets the value of the property progress.- Property description:
- Specifies the stepper's progress, the number of COMPLETED toggles divided by the total number of toggles. The values go from 0.0 to 1.0.
-
getCurrentIndex
public int getCurrentIndex()Gets the value of the property currentIndex.- Property description:
- Specifies the selected toggle position in the toggles list.
The index is updated by
next()andprevious()methods.
-
currentIndexProperty
Specifies the selected toggle position in the toggles list. The index is updated bynext()andprevious()methods.- See Also:
-
setCurrentIndex
protected void setCurrentIndex(int currentIndex) Sets the value of the property currentIndex.- Property description:
- Specifies the selected toggle position in the toggles list.
The index is updated by
next()andprevious()methods.
-
getCurrentContent
Gets the value of the property currentContent.- Property description:
- Convenience property that holds the selected toggle content node.
In case one of the toggles has a
nullcontent the content pane's children list is cleared.
-
currentContentProperty
Convenience property that holds the selected toggle content node.In case one of the toggles has a
nullcontent the content pane's children list is cleared.- See Also:
-
setCurrentContent
Sets the value of the property currentContent.- Property description:
- Convenience property that holds the selected toggle content node.
In case one of the toggles has a
nullcontent the content pane's children list is cleared.
-
isLastToggle
public boolean isLastToggle()Gets the value of the property lastToggle.- Property description:
- Convenience property that specifies if the last toggle is selected.
-
lastToggleProperty
Convenience property that specifies if the last toggle is selected.- See Also:
-
setLastToggle
protected void setLastToggle(boolean lastToggle) Sets the value of the property lastToggle.- Property description:
- Convenience property that specifies if the last toggle is selected.
-
isEnableContentValidationOnError
public boolean isEnableContentValidationOnError() -
setEnableContentValidationOnError
public void setEnableContentValidationOnError(boolean enableContentValidationOnError) Specifies if all the controls that implementValidatedshould be validated when the next button is pressed and the toggle state is ERROR. -
getSpacing
public double getSpacing()Gets the value of the property spacing.- Property description:
- Specifies the spacing between toggles.
-
spacingProperty
Specifies the spacing between toggles.- See Also:
-
setSpacing
public void setSpacing(double spacing) Sets the value of the property spacing.- Property description:
- Specifies the spacing between toggles.
-
getExtraSpacing
public double getExtraSpacing()Gets the value of the property extraSpacing.- Property description:
- Specifies the extra length (at the start and at the end) of the progress bar.
-
extraSpacingProperty
Specifies the extra length (at the start and at the end) of the progress bar.- See Also:
-
setExtraSpacing
public void setExtraSpacing(double extraSpacing) Sets the value of the property extraSpacing.- Property description:
- Specifies the extra length (at the start and at the end) of the progress bar.
-
getAlignment
Gets the value of the property alignment.- Property description:
- Specifies the alignment of the toggles. Steppers are usually centered though.
-
alignmentProperty
Specifies the alignment of the toggles. Steppers are usually centered though.- See Also:
-
setAlignment
Sets the value of the property alignment.- Property description:
- Specifies the alignment of the toggles. Steppers are usually centered though.
-
getBaseColor
Gets the value of the property baseColor.- Property description:
- Specifies the base color of the stepper.
In the default CSS file this property affects: the progress color, the buttons background and borders when focused, also used for the buttons' ripple generators.
In the
MFXStepperToggleCSS file this property affects:- State NONE: the icon color
- State SELECTED: the background and borders, the label's text fill
- State COMPLETED: the borders
Default is: #7F0FFF (purple)
-
baseColorProperty
Specifies the base color of the stepper.In the default CSS file this property affects: the progress color, the buttons background and borders when focused, also used for the buttons' ripple generators.
In the
MFXStepperToggleCSS file this property affects:- State NONE: the icon color
- State SELECTED: the background and borders, the label's text fill
- State COMPLETED: the borders
Default is: #7F0FFF (purple)- See Also:
-
setBaseColor
Sets the value of the property baseColor.- Property description:
- Specifies the base color of the stepper.
In the default CSS file this property affects: the progress color, the buttons background and borders when focused, also used for the buttons' ripple generators.
In the
MFXStepperToggleCSS file this property affects:- State NONE: the icon color
- State SELECTED: the background and borders, the label's text fill
- State COMPLETED: the borders
Default is: #7F0FFF (purple)
-
getAltColor
Gets the value of the property altColor.- Property description:
- Specifies the secondary color of the stepper.
In the
MFXStepperToggleCSS file this property affects:- State NONE: the label's text fill
- State COMPLETED: the icon's color, the label's text fill
Default is: #BEBEBE (a light gray)
-
altColorProperty
Specifies the secondary color of the stepper.In the
MFXStepperToggleCSS file this property affects:- State NONE: the label's text fill
- State COMPLETED: the icon's color, the label's text fill
Default is: #BEBEBE (a light gray)- See Also:
-
setAltColor
Sets the value of the property altColor.- Property description:
- Specifies the secondary color of the stepper.
In the
MFXStepperToggleCSS file this property affects:- State NONE: the label's text fill
- State COMPLETED: the icon's color, the label's text fill
Default is: #BEBEBE (a light gray)
-
getProgressBarBorderRadius
public double getProgressBarBorderRadius()Gets the value of the property progressBarBorderRadius.- Property description:
- Specifies the borders radius of the progress bar.
-
progressBarBorderRadiusProperty
Specifies the borders radius of the progress bar. -
setProgressBarBorderRadius
public void setProgressBarBorderRadius(double progressBarBorderRadius) Sets the value of the property progressBarBorderRadius.- Property description:
- Specifies the borders radius of the progress bar.
-
getProgressBarBackground
Gets the value of the property progressBarBackground.- Property description:
- Specifies the progress bar background color (NOT THE PROGRESS COLOR).
In the
MFXStepperToggleCSS file this property affects:- State NONE: the toggle's background and borders. This is because if the toggle's background is transparent you will see the progress bar underneath them
Default is: #F8F8FF (almost white)
-
progressBarBackgroundProperty
Specifies the progress bar background color (NOT THE PROGRESS COLOR). In theMFXStepperToggleCSS file this property affects:- State NONE: the toggle's background and borders. This is because if the toggle's background is transparent you will see the progress bar underneath them
Default is: #F8F8FF (almost white) -
setProgressBarBackground
Sets the value of the property progressBarBackground.- Property description:
- Specifies the progress bar background color (NOT THE PROGRESS COLOR).
In the
MFXStepperToggleCSS file this property affects:- State NONE: the toggle's background and borders. This is because if the toggle's background is transparent you will see the progress bar underneath them
Default is: #F8F8FF (almost white)
-
getProgressColor
Gets the value of the property progressColor.- Property description:
- Specifies the progress color. Default is: #7F0FFF (it's set to be the same as the base color)
-
progressColorProperty
Specifies the progress color. Default is: #7F0FFF (it's set to be the same as the base color)- See Also:
-
setProgressColor
Sets the value of the property progressColor.- Property description:
- Specifies the progress color. Default is: #7F0FFF (it's set to be the same as the base color)
-
isAnimated
public boolean isAnimated()Gets the value of the property animated.- Property description:
- Specifies if the progress bar should be animated or not.
-
animatedProperty
Specifies if the progress bar should be animated or not.- See Also:
-
setAnimated
public void setAnimated(boolean animated) Sets the value of the property animated.- Property description:
- Specifies if the progress bar should be animated or not.
-
getControlCssMetaDataList
-
createDefaultSkin
- Overrides:
createDefaultSkinin classControl
-
getControlCssMetaData
- Overrides:
getControlCssMetaDatain classControl
-
getUserAgentStylesheet
- Overrides:
getUserAgentStylesheetin classRegion
-
getOnBeforeNext
Gets the value of the property onBeforeNext.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.BEFORE_NEXT_EVENTis fired.
-
onBeforeNextProperty
Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_NEXT_EVENTis fired. -
setOnBeforeNext
Sets the value of the property onBeforeNext.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.BEFORE_NEXT_EVENTis fired.
-
getOnNext
Gets the value of the property onNext.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.NEXT_EVENTis fired.
-
onNextProperty
Specifies the action to perform when aMFXStepper.MFXStepperEvent.NEXT_EVENTis fired.- See Also:
-
setOnNext
Sets the value of the property onNext.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.NEXT_EVENTis fired.
-
getOnBeforePrevious
Gets the value of the property onBeforePrevious.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.BEFORE_PREVIOUS_EVENTis fired.
-
onBeforePreviousProperty
Specifies the action to perform when aMFXStepper.MFXStepperEvent.BEFORE_PREVIOUS_EVENTis fired. -
setOnBeforePrevious
Sets the value of the property onBeforePrevious.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.BEFORE_PREVIOUS_EVENTis fired.
-
getOnPrevious
Gets the value of the property onPrevious.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.PREVIOUS_EVENTis fired.
-
onPreviousProperty
Specifies the action to perform when aMFXStepper.MFXStepperEvent.PREVIOUS_EVENTis fired.- See Also:
-
setOnPrevious
Sets the value of the property onPrevious.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.PREVIOUS_EVENTis fired.
-
getOnLastNext
Gets the value of the property onLastNext.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.LAST_NEXT_EVENTis fired.
-
onLastNextProperty
Specifies the action to perform when aMFXStepper.MFXStepperEvent.LAST_NEXT_EVENTis fired.- See Also:
-
setOnLastNext
Sets the value of the property onLastNext.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.LAST_NEXT_EVENTis fired.
-
getOnValidationFailed
Gets the value of the property onValidationFailed.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.VALIDATION_FAILED_EVENTis fired.
-
onValidationFailedProperty
Specifies the action to perform when aMFXStepper.MFXStepperEvent.VALIDATION_FAILED_EVENTis fired. -
setOnValidationFailed
Sets the value of the property onValidationFailed.- Property description:
- Specifies the action to perform when a
MFXStepper.MFXStepperEvent.VALIDATION_FAILED_EVENTis fired.
-
fireEvent
Convenience method to fireMFXStepper.MFXStepperEventevents. -
forceLayoutUpdate
public void forceLayoutUpdate()Forces the layout of the stepper to update.
-