Class ListSpinnerSkin<T>
java.lang.Object
javafx.scene.control.SkinBase<ListSpinner<T>>
jfxtras.internal.scene.control.skin.ListSpinnerSkin<T>
- All Implemented Interfaces:
javafx.scene.control.Skin<ListSpinner<T>>
- Author:
- Tom Eugelink Possible extension: drop down list or grid for quick selection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowDirection> arrowDirectionfinal javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowPosition> arrowPositionfinal javafx.beans.property.ObjectProperty<javafx.geometry.Pos> valueAlignment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowDirection> arrowDirectionfinal javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowPosition> arrowPositionGets the value of thearrowDirectionproperty.Gets the value of thearrowPositionproperty.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 javafx.geometry.PosGets the value of thevalueAlignmentproperty.voidParse the value (which usually comes from the TextField in the skin).protected voidparse(javafx.scene.control.TextField textField) Parse the contents of the textfieldfinal voidSets the value of thearrowDirectionproperty.final voidSets the value of thearrowPositionproperty.final voidsetValueAlignment(javafx.geometry.Pos value) Sets the value of thevalueAlignmentproperty.final javafx.beans.property.ObjectProperty<javafx.geometry.Pos> valueAlignmentfinal ListSpinnerSkin<T> final ListSpinnerSkin<T> final ListSpinnerSkin<T> withValueAlignment(javafx.geometry.Pos 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
-
arrowPosition
public final javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowPosition> arrowPositionPropertyarrowPosition- See Also:
-
arrowDirection
public final javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowDirection> arrowDirectionPropertyarrowDirection- See Also:
-
valueAlignment
public final javafx.beans.property.ObjectProperty<javafx.geometry.Pos> valueAlignmentPropertyvalueAlignment- See Also:
-
-
Constructor Details
-
ListSpinnerSkin
-
-
Method Details
-
arrowPositionProperty
public final javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowPosition> arrowPositionProperty()arrowPosition- Returns:
- the
arrowPositionproperty - See Also:
-
setArrowPosition
Sets the value of thearrowPositionproperty.- Property description:
- arrowPosition
- Parameters:
value- the value for thearrowPositionproperty- See Also:
-
getArrowPosition
Gets the value of thearrowPositionproperty.- Property description:
- arrowPosition
- Returns:
- the value of the
arrowPositionproperty - See Also:
-
withArrowPosition
-
arrowDirectionProperty
public final javafx.beans.property.ObjectProperty<ListSpinnerSkin.ArrowDirection> arrowDirectionProperty()arrowDirection- Returns:
- the
arrowDirectionproperty - See Also:
-
setArrowDirection
Sets the value of thearrowDirectionproperty.- Property description:
- arrowDirection
- Parameters:
value- the value for thearrowDirectionproperty- See Also:
-
getArrowDirection
Gets the value of thearrowDirectionproperty.- Property description:
- arrowDirection
- Returns:
- the value of the
arrowDirectionproperty - See Also:
-
withArrowDirection
-
valueAlignmentProperty
public final javafx.beans.property.ObjectProperty<javafx.geometry.Pos> valueAlignmentProperty()valueAlignment- Returns:
- the
valueAlignmentproperty - See Also:
-
setValueAlignment
public final void setValueAlignment(javafx.geometry.Pos value) Sets the value of thevalueAlignmentproperty.- Property description:
- valueAlignment
- Parameters:
value- the value for thevalueAlignmentproperty- See Also:
-
getValueAlignment
public final javafx.geometry.Pos getValueAlignment()Gets the value of thevalueAlignmentproperty.- Property description:
- valueAlignment
- Returns:
- the value of the
valueAlignmentproperty - See Also:
-
withValueAlignment
-
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<ListSpinner<T>>- Returns:
- The CssMetaData associated with this node, which may include the CssMetaData of its super classes.
-
parse
protected void parse(javafx.scene.control.TextField textField) Parse the contents of the textfield- Parameters:
textField-
-
parse
Parse the value (which usually comes from the TextField in the skin). If the value exists in the current items, select it. If not and a callback is defined, call the callback to have it handle it. Otherwise do nothing (leave it to the skin).
-