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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected classstatic enumprivate static class -
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated> animatedfinal javafx.css.SimpleStyleableStringPropertyvalueFormat -
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 theanimatedproperty.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 thevalueFormatproperty.final voidSets the value of theanimatedproperty.final voidsetValueFormat(String value) Sets the value of thevalueFormatproperty.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- See Also:
-
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- Returns:
- the
animatedproperty - See Also:
-
setAnimated
Sets the value of theanimatedproperty.- Property description:
- animated
- Parameters:
value- the value for theanimatedproperty- See Also:
-
getAnimated
Gets the value of theanimatedproperty.- Property description:
- animated
- Returns:
- the value of the
animatedproperty - See Also:
-
withAnimated
-
valueFormatProperty
public final javafx.css.SimpleStyleableStringProperty valueFormatProperty()valueFormat- Returns:
- the
valueFormatproperty - See Also:
-
setValueFormat
Sets the value of thevalueFormatproperty.- Property description:
- valueFormat
- Parameters:
value- the value for thevalueFormatproperty- See Also:
-
getValueFormat
Gets the value of thevalueFormatproperty.- Property description:
- valueFormat
- Returns:
- the value of the
valueFormatproperty - See Also:
-
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
-
validateMarker
-
validateValueAndHandleInvalid
protected boolean validateValueAndHandleInvalid() -
activateSegments
-