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.SimpleStyleableStringProperty
valueFormat -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
protected class
protected class
static enum
private 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) void
activateSegments
(Map<Segment, ? extends javafx.scene.Node> segmentToNode) Make segments activefinal javafx.beans.property.ObjectProperty
<AbstractLinearGaugeSkin.Animated> animatedGets the value of theanimated
property.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 String
Gets the value of thevalueFormat
property.final void
Sets the value of theanimated
property.final void
setValueFormat
(String value) Sets the value of thevalueFormat
property.protected String
validateMarker
(Marker marker) protected String
validateSegment
(Segment segment) protected String
protected boolean
protected String
valueFormat
(double value) final javafx.css.SimpleStyleableStringProperty
valueFormatfinal T
final T
withValueFormat
(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
animated
property - See Also:
-
setAnimated
Sets the value of theanimated
property.- Property description:
- animated
- Parameters:
value
- the value for theanimated
property- See Also:
-
getAnimated
Gets the value of theanimated
property.- Property description:
- animated
- Returns:
- the value of the
animated
property - See Also:
-
withAnimated
-
valueFormatProperty
public final javafx.css.SimpleStyleableStringProperty valueFormatProperty()valueFormat- Returns:
- the
valueFormat
property - See Also:
-
setValueFormat
Sets the value of thevalueFormat
property.- Property description:
- valueFormat
- Parameters:
value
- the value for thevalueFormat
property- See Also:
-
getValueFormat
Gets the value of thevalueFormat
property.- Property description:
- valueFormat
- Returns:
- the value of the
valueFormat
property - 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:
getCssMetaData
in 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
-