Module jfxtras.gauge.linear
Class AbstractLinearGaugeSkin<T,C extends AbstractLinearGauge<?>>
java.lang.Object
javafx.scene.control.SkinBase<C>
jfxtras.internal.scene.control.gauge.linear.skin.AbstractLinearGaugeSkin<T,C>
- All Implemented Interfaces:
javafx.scene.control.Skin<C>
- Direct Known Subclasses:
BasicRoundDailGaugeSkin,SimpleMetroArcGaugeSkin
public class AbstractLinearGaugeSkin<T,C extends AbstractLinearGauge<?>>
extends javafx.scene.control.SkinBase<C>
-
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated>animatedfinal javafx.css.SimpleStyleableStringPropertyvalueFormat -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected classstatic enumprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated>private javafx.css.SimpleStyleableStringProperty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidactivateSegments(Map<Segment, ? extends javafx.scene.Node> segmentToNode) Make segments activefinal javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated>animatedGets the value of the property animated.static List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> This method should delegate toNode.getClassCssMetaData()so that a Node's CssMetaData can be accessed without the need for reflection.final StringGets the value of the property valueFormat.final voidSets the value of the property animated.final voidsetValueFormat(String value) Sets the value of the property valueFormat.protected StringvalidateMarker(Marker marker) protected StringvalidateSegment(Segment segment) protected Stringprotected booleanprotected StringvalueFormat(double value) final javafx.css.SimpleStyleableStringPropertyvalueFormatfinal Tfinal TwithValueFormat(String value) Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
-
Property Details
-
animated
public final javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated> animatedPropertyanimated -
valueFormat
public final javafx.css.SimpleStyleableStringProperty valueFormatPropertyvalueFormat- See Also:
-
-
Field Details
-
animatedProperty
-
valueFormatProperty
private javafx.css.SimpleStyleableStringProperty valueFormatProperty
-
-
Constructor Details
-
AbstractLinearGaugeSkin
-
-
Method Details
-
animatedProperty
public final javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated> animatedProperty()animated -
setAnimated
Sets the value of the property animated.- Property description:
- animated
-
getAnimated
Gets the value of the property animated.- Property description:
- animated
-
withAnimated
-
valueFormatProperty
public final javafx.css.SimpleStyleableStringProperty valueFormatProperty()valueFormat- See Also:
-
setValueFormat
Sets the value of the property valueFormat.- Property description:
- valueFormat
-
getValueFormat
Gets the value of the property valueFormat.- Property description:
- valueFormat
-
withValueFormat
-
valueFormat
-
getClassCssMetaData
- Returns:
- The CssMetaData associated with this class, which may include the CssMetaData of its super classes.
-
getCssMetaData
This method should delegate toNode.getClassCssMetaData()so that a Node's CssMetaData can be accessed without the need for reflection.- Overrides:
getCssMetaDatain classjavafx.scene.control.SkinBase<C extends AbstractLinearGauge<?>>- Returns:
- The CssMetaData associated with this node, which may include the CssMetaData of its super classes.
-
validateValue
- Returns:
-
validateSegment
- Parameters:
segment-- Returns:
-
validateMarker
- Parameters:
marker-- Returns:
-
validateValueAndHandleInvalid
protected boolean validateValueAndHandleInvalid() -
activateSegments
Make segments active
-