Package 

Class RangedIntegerProperty

  • All Implemented Interfaces:
    java.io.Serializable , javafx.beans.Observable , javafx.beans.binding.NumberExpression , javafx.beans.property.Property , javafx.beans.property.ReadOnlyProperty , javafx.beans.property.ReadOnlyProperty , javafx.beans.value.ObservableIntegerValue , javafx.beans.value.ObservableNumberValue , javafx.beans.value.ObservableValue , javafx.beans.value.ObservableValue , javafx.beans.value.WritableIntegerValue , javafx.beans.value.WritableNumberValue , javafx.beans.value.WritableValue , javafx.beans.value.WritableValue

    
    public class RangedIntegerProperty
    extends IntegerPropertyBase implements Serializable
                        

    This javafx.beans.property.IntegerProperty is designed to have a range for the wrapped value and to be serializable.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int getLowerBound() Getter method for the lower bound.
      void setLowerBound(int lowerBound) Setter method for the lower bound.
      int getUpperBound() Getter method for the upper bound.
      void setUpperBound(int upperBound) Setter method for the upper bound.
      String getName() Getter method for the name of the property.
      void setName(String name) Setter method for the name of the property.
      Object getBean() Getter method for unused field bean.
      void set(int value)
      void setValue(Number value)
      int hashCode()
      boolean equals(Object obj)
      static PropertyTypeAdapter<RangedIntegerProperty> getTypeAdapter() Returns a com.google.gson.JsonSerializer and com.google.gson.JsonDeserializer combo class to be used as a TypeAdapter for this RangedIntegerProperty.
      • Methods inherited from class javafx.beans.property.IntegerPropertyBase

        addListener, bind, get, isBound, removeListener, toString, unbind
      • Methods inherited from class javafx.beans.property.IntegerProperty

        asObject, bindBidirectional, integerProperty, unbindBidirectional
      • Methods inherited from class javafx.beans.property.ReadOnlyIntegerProperty

        asObject, readOnlyIntegerProperty
      • Methods inherited from class javafx.beans.binding.IntegerExpression

        add, add, add, add, asObject, divide, divide, divide, divide, doubleValue, floatValue, getValue, intValue, integerExpression, longValue, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract
      • Methods inherited from class javafx.beans.binding.NumberExpressionBase

        add, asString, divide, greaterThan, greaterThanOrEqualTo, isEqualTo, isNotEqualTo, lessThan, lessThanOrEqualTo, multiply, numberExpression, subtract
      • Methods inherited from class javafx.beans.binding.NumberExpression

        negate
      • Methods inherited from class javafx.beans.value.ObservableValue

        getValue
      • Methods inherited from class javafx.beans.property.ReadOnlyProperty

        getName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RangedIntegerProperty

        RangedIntegerProperty(String name, int initialValue, int lowerBound, int upperBound)
        Based on constructor of IntegerPropertyBase, adds the specified bounds.
        Parameters:
        name - the name of this IntegerProperty
        initialValue - the initial value of the wrapped value
        lowerBound - the lower bound for the wrapped value to be considered acceptable
        upperBound - the upper bound for the wrapped value to be considered acceptable
      • RangedIntegerProperty

        RangedIntegerProperty(String name, int lowerBound, int upperBound)
        Based on constructor of IntegerPropertyBase, adds the specified bounds.
        Parameters:
        name - the name of this IntegerProperty
        lowerBound - the lower bound for the wrapped value to be considered acceptable
        upperBound - the upper bound for the wrapped value to be considered acceptable
      • RangedIntegerProperty

        RangedIntegerProperty(int initialValue, int lowerBound, int upperBound)
        Based on constructor of IntegerPropertyBase, adds the specified bounds.
        Parameters:
        initialValue - the initial value of the wrapped value
        lowerBound - the lower bound for the wrapped value to be considered acceptable
        upperBound - the upper bound for the wrapped value to be considered acceptable
      • RangedIntegerProperty

        RangedIntegerProperty(int lowerBound, int upperBound)
        Based on constructor of IntegerPropertyBase, adds the specified bounds.
        Parameters:
        lowerBound - the lower bound for the wrapped value to be considered acceptable
        upperBound - the upper bound for the wrapped value to be considered acceptable
      • RangedIntegerProperty

        RangedIntegerProperty(String name, int initialValue)
        The constructor of IntegerPropertyBase.
        Parameters:
        name - the name of this IntegerProperty
        initialValue - the initial value of the wrapped value
      • RangedIntegerProperty

        RangedIntegerProperty(String name)
        The constructor of IntegerPropertyBase.
        Parameters:
        name - the name of this IntegerProperty
      • RangedIntegerProperty

        RangedIntegerProperty(int initialValue)
        The constructor of IntegerPropertyBase.
        Parameters:
        initialValue - the initial value of the wrapped value
      • RangedIntegerProperty

        RangedIntegerProperty()
        The constructor of IntegerPropertyBase.
    • Method Detail

      • getLowerBound

         int getLowerBound()

        Getter method for the lower bound.

      • setLowerBound

         void setLowerBound(int lowerBound)

        Setter method for the lower bound.

        Parameters:
        lowerBound - the lower bound
      • getUpperBound

         int getUpperBound()

        Getter method for the upper bound.

      • setUpperBound

         void setUpperBound(int upperBound)

        Setter method for the upper bound.

        Parameters:
        upperBound - the upper bound
      • getName

         String getName()

        Getter method for the name of the property.

      • setName

         void setName(String name)

        Setter method for the name of the property.

        Parameters:
        name - the name to set
      • set

         void set(int value)