Uses of Class
java.lang.Number
-
Packages that use Number Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.lang Provides classes that are fundamental to the design of the Java programming language.java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger
) and arbitrary-precision decimal arithmetic (BigDecimal
).java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.java.util.concurrent.atomic A small toolkit of classes that support lock-free thread-safe programming on single variables.javafx.beans.binding Provides classes that create and operate on aBinding
that calculates a value that depends on one or more sources.javafx.beans.property The packagejavafx.beans.property
defines read-only properties and writable properties, plus a number of implementations.javafx.beans.value The packagejavafx.beans.value
contains the two fundamental interfacesObservableValue
andWritableValue
and all of its sub-interfaces.javafx.css Provides API for making properties styleable via CSS and for supporting pseudo-class state.javafx.css.converter Provides variousStyleConverter
classes that convert CSS parsed values.javafx.scene.chart The JavaFX User Interface provides a set of chart components that are a very convenient way for data visualization.javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components.javax.management Provides the core classes for the Java Management Extensions.javax.management.monitor Provides the definition of the monitor classes.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.xml.datatype Defines XML/Java Type Mappings. -
-
Uses of Number in java.awt
Methods in java.awt that return Number Modifier and Type Method Description Number
Button.AccessibleAWTButton. getCurrentAccessibleValue()
Get the value of this object as a Number.Number
Checkbox.AccessibleAWTCheckbox. getCurrentAccessibleValue()
Get the value of this object as a Number.Number
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem. getCurrentAccessibleValue()
Get the value of this object as a Number.Number
MenuItem.AccessibleAWTMenuItem. getCurrentAccessibleValue()
Get the value of this object as a Number.Number
Scrollbar.AccessibleAWTScrollBar. getCurrentAccessibleValue()
Get the accessible value of this object.Number
Button.AccessibleAWTButton. getMaximumAccessibleValue()
Get the maximum value of this object as a Number.Number
Checkbox.AccessibleAWTCheckbox. getMaximumAccessibleValue()
Get the maximum value of this object as a Number.Number
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem. getMaximumAccessibleValue()
Get the maximum value of this object as a Number.Number
MenuItem.AccessibleAWTMenuItem. getMaximumAccessibleValue()
Get the maximum value of this object as a Number.Number
Scrollbar.AccessibleAWTScrollBar. getMaximumAccessibleValue()
Get the maximum accessible value of this object.Number
Button.AccessibleAWTButton. getMinimumAccessibleValue()
Get the minimum value of this object as a Number.Number
Checkbox.AccessibleAWTCheckbox. getMinimumAccessibleValue()
Get the minimum value of this object as a Number.Number
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem. getMinimumAccessibleValue()
Get the minimum value of this object as a Number.Number
MenuItem.AccessibleAWTMenuItem. getMinimumAccessibleValue()
Get the minimum value of this object as a Number.Number
Scrollbar.AccessibleAWTScrollBar. getMinimumAccessibleValue()
Get the minimum accessible value of this object.Methods in java.awt with parameters of type Number Modifier and Type Method Description boolean
Button.AccessibleAWTButton. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
Checkbox.AccessibleAWTCheckbox. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
MenuItem.AccessibleAWTMenuItem. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
Scrollbar.AccessibleAWTScrollBar. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number. -
Uses of Number in java.lang
Subclasses of Number in java.lang Modifier and Type Class Description class
Byte
TheByte
class wraps a value of primitive typebyte
in an object.class
Double
TheDouble
class wraps a value of the primitive typedouble
in an object.class
Float
TheFloat
class wraps a value of primitive typefloat
in an object.class
Integer
TheInteger
class wraps a value of the primitive typeint
in an object.class
Long
TheLong
class wraps a value of the primitive typelong
in an object.class
Short
TheShort
class wraps a value of primitive typeshort
in an object. -
Uses of Number in java.math
Subclasses of Number in java.math Modifier and Type Class Description class
BigDecimal
Immutable, arbitrary-precision signed decimal numbers.class
BigInteger
Immutable arbitrary-precision integers. -
Uses of Number in java.text
Methods in java.text that return Number Modifier and Type Method Description Number
ChoiceFormat. parse(String text, ParsePosition status)
Parses a Number from the input text.Number
DecimalFormat. parse(String text, ParsePosition pos)
Parses text from a string to produce aNumber
.Number
NumberFormat. parse(String source)
Parses text from the beginning of the given string to produce a number.abstract Number
NumberFormat. parse(String source, ParsePosition parsePosition)
Returns a Long if possible (e.g., within the range [Long.MIN_VALUE, Long.MAX_VALUE] and with no decimals), otherwise a Double. -
Uses of Number in java.util.concurrent.atomic
Subclasses of Number in java.util.concurrent.atomic Modifier and Type Class Description class
AtomicInteger
Anint
value that may be updated atomically.class
AtomicLong
Along
value that may be updated atomically.class
DoubleAccumulator
One or more variables that together maintain a runningdouble
value updated using a supplied function.class
DoubleAdder
One or more variables that together maintain an initially zerodouble
sum.class
LongAccumulator
One or more variables that together maintain a runninglong
value updated using a supplied function.class
LongAdder
One or more variables that together maintain an initially zerolong
sum. -
Uses of Number in javafx.beans.binding
Methods in javafx.beans.binding with type parameters of type Number Modifier and Type Method Description static <T extends Number>
DoubleExpressionDoubleExpression. doubleExpression(ObservableValue<T> value)
Returns aDoubleExpression
that wraps anObservableValue
.static <T extends Number>
FloatExpressionFloatExpression. floatExpression(ObservableValue<T> value)
Returns aFloatExpression
that wraps anObservableValue
.static <T extends Number>
IntegerExpressionIntegerExpression. integerExpression(ObservableValue<T> value)
Returns anIntegerExpression
that wraps anObservableValue
.static <T extends Number>
LongExpressionLongExpression. longExpression(ObservableValue<T> value)
Returns aLongExpression
that wraps anObservableValue
.static <S extends Number>
NumberExpressionBaseNumberExpressionBase. numberExpression(ObservableNumberValue value)
Returns anNumberExpressionBase
that wraps aObservableNumberValue
.Method parameters in javafx.beans.binding with type arguments of type Number Modifier and Type Method Description static DoubleBinding
Bindings. doubleValueAt(ObservableList<? extends Number> op, int index)
Creates a newDoubleBinding
that contains the element of anObservableList
at the specified position.static DoubleBinding
Bindings. doubleValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
Creates a newDoubleBinding
that contains the element of anObservableList
at the specified position.static DoubleBinding
Bindings. doubleValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
Creates a newDoubleBinding
that contains the element of anObservableList
at the specified position.static <K> DoubleBinding
Bindings. doubleValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
Creates a newDoubleBinding
that contains the mapping of a specific key in anObservableMap
.static <K> DoubleBinding
Bindings. doubleValueAt(ObservableMap<K,? extends Number> op, K key)
Creates a newDoubleBinding
that contains the mapping of a specific key in anObservableMap
.static FloatBinding
Bindings. floatValueAt(ObservableList<? extends Number> op, int index)
Creates a newFloatBinding
that contains the element of anObservableList
at the specified position.static FloatBinding
Bindings. floatValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
Creates a newFloatBinding
that contains the element of anObservableList
at the specified position.static FloatBinding
Bindings. floatValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
Creates a newFloatBinding
that contains the element of anObservableList
at the specified position.static <K> FloatBinding
Bindings. floatValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
Creates a newFloatBinding
that contains the mapping of a specific key in anObservableMap
.static <K> FloatBinding
Bindings. floatValueAt(ObservableMap<K,? extends Number> op, K key)
Creates a newFloatBinding
that contains the mapping of a specific key in anObservableMap
.static IntegerBinding
Bindings. integerValueAt(ObservableList<? extends Number> op, int index)
Creates a newIntegerBinding
that contains the element of anObservableList
at the specified position.static IntegerBinding
Bindings. integerValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
Creates a newIntegerBinding
that contains the element of anObservableList
at the specified position.static IntegerBinding
Bindings. integerValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
Creates a newIntegerBinding
that contains the element of anObservableList
at the specified position.static <K> IntegerBinding
Bindings. integerValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
Creates a newIntegerBinding
that contains the mapping of a specific key in anObservableMap
.static <K> IntegerBinding
Bindings. integerValueAt(ObservableMap<K,? extends Number> op, K key)
Creates a newIntegerBinding
that contains the mapping of a specific key in anObservableMap
.static LongBinding
Bindings. longValueAt(ObservableList<? extends Number> op, int index)
Creates a newLongBinding
that contains the element of anObservableList
at the specified position.static LongBinding
Bindings. longValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
Creates a newLongBinding
that contains the element of anObservableList
at the specified position.static LongBinding
Bindings. longValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
Creates a newLongBinding
that contains the element of anObservableList
at the specified position.static <K> LongBinding
Bindings. longValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
Creates a newLongBinding
that contains the mapping of a specific key in anObservableMap
.static <K> LongBinding
Bindings. longValueAt(ObservableMap<K,? extends Number> op, K key)
Creates a newLongBinding
that contains the mapping of a specific key in anObservableMap
. -
Uses of Number in javafx.beans.property
Methods in javafx.beans.property with type parameters of type Number Modifier and Type Method Description static <T extends Number>
ReadOnlyDoublePropertyReadOnlyDoubleProperty. readOnlyDoubleProperty(ReadOnlyProperty<T> property)
Returns aReadOnlyDoubleProperty
that wraps aReadOnlyProperty
.static <T extends Number>
ReadOnlyFloatPropertyReadOnlyFloatProperty. readOnlyFloatProperty(ReadOnlyProperty<T> property)
Returns aReadOnlyFloatProperty
that wraps aReadOnlyProperty
.static <T extends Number>
ReadOnlyIntegerPropertyReadOnlyIntegerProperty. readOnlyIntegerProperty(ReadOnlyProperty<T> property)
Returns aReadOnlyIntegerProperty
that wraps aReadOnlyProperty
.static <T extends Number>
ReadOnlyLongPropertyReadOnlyLongProperty. readOnlyLongProperty(ReadOnlyProperty<T> property)
Returns aReadOnlyLongProperty
that wraps aReadOnlyProperty
. -
Uses of Number in javafx.beans.value
Methods in javafx.beans.value with parameters of type Number Modifier and Type Method Description void
WritableDoubleValue. setValue(Number value)
Set the wrapped value.void
WritableFloatValue. setValue(Number value)
Set the wrapped value.void
WritableIntegerValue. setValue(Number value)
Set the wrapped value.void
WritableLongValue. setValue(Number value)
Set the wrapped value. -
Uses of Number in javafx.css
Methods in javafx.css that return types with arguments of type Number Modifier and Type Method Description CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function)
Create a CssMetaData<S, Number> with initial value of0d
, and inherit flag defaulting to false.CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue)
Create a CssMetaData<S, Number> with initial value, and inherit flag defaulting to false.CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
Create a CssMetaData<S, Number> with initial value, and inherit flag.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty)
Create a StyleableProperty<Number> using previously created CssMetaData for the givencssProperty
.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function)
Create a StyleableProperty<Number>.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue)
Create a StyleableProperty<Number> with initial value.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
Create a StyleableProperty<Number> with initial value and inherit flag.static StyleConverter<?,Number>
StyleConverter. getSizeConverter()
CSS length and number values are parsed into a Size object that is converted to a Number before the value is applied.Methods in javafx.css with parameters of type Number Modifier and Type Method Description CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue)
Create a CssMetaData<S, Number> with initial value, and inherit flag defaulting to false.CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
Create a CssMetaData<S, Number> with initial value, and inherit flag.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue)
Create a StyleableProperty<Number> with initial value.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
Create a StyleableProperty<Number> with initial value and inherit flag.Method parameters in javafx.css with type arguments of type Number Modifier and Type Method Description CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function)
Create a CssMetaData<S, Number> with initial value of0d
, and inherit flag defaulting to false.CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue)
Create a CssMetaData<S, Number> with initial value, and inherit flag defaulting to false.CssMetaData<S,Number>
StyleablePropertyFactory. createSizeCssMetaData(String property, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
Create a CssMetaData<S, Number> with initial value, and inherit flag.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function)
Create a StyleableProperty<Number>.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue)
Create a StyleableProperty<Number> with initial value.StyleableProperty<Number>
StyleablePropertyFactory. createStyleableNumberProperty(S styleable, String propertyName, String cssProperty, Function<S,StyleableProperty<Number>> function, Number initialValue, boolean inherits)
Create a StyleableProperty<Number> with initial value and inherit flag.Constructor parameters in javafx.css with type arguments of type Number Constructor Description SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
The constructor of theSimpleStyleableDoubleProperty
.SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Double initialValue)
The constructor of theSimpleStyleableDoubleProperty
.SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
The constructor of theSimpleStyleableDoubleProperty
.SimpleStyleableDoubleProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Double initialValue)
The constructor of theSimpleStyleableDoubleProperty
.SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
The constructor of theSimpleStyleableFloatProperty
.SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Float initialValue)
The constructor of theSimpleStyleableFloatProperty
.SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
The constructor of theSimpleStyleableFloatProperty
.SimpleStyleableFloatProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Float initialValue)
The constructor of theSimpleStyleableFloatProperty
.SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
The constructor of theSimpleStyleableIntegerProperty
.SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Integer initialValue)
The constructor of theSimpleStyleableIntegerProperty
.SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
The constructor of theSimpleStyleableIntegerProperty
.SimpleStyleableIntegerProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Integer initialValue)
The constructor of theSimpleStyleableIntegerProperty
.SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData)
The constructor of theSimpleStyleableLongProperty
.SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Long initialValue)
The constructor of theSimpleStyleableLongProperty
.SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name)
The constructor of theSimpleStyleableLongProperty
.SimpleStyleableLongProperty(CssMetaData<? extends Styleable,Number> cssMetaData, Object bean, String name, Long initialValue)
The constructor of theSimpleStyleableLongProperty
. -
Uses of Number in javafx.css.converter
Methods in javafx.css.converter that return types with arguments of type Number Modifier and Type Method Description static StyleConverter<ParsedValue<?,Size>,Number>
SizeConverter. getInstance()
-
Uses of Number in javafx.scene.chart
Classes in javafx.scene.chart with type parameters of type Number Modifier and Type Class Description class
ValueAxis<T extends Number>
An axis whose data is defined as Numbers.Methods in javafx.scene.chart that return Number Modifier and Type Method Description Number
NumberAxis.DefaultFormatter. fromString(String string)
Converts the string provided into a Number defined by the this converter.Methods in javafx.scene.chart that return types with arguments of type Number Modifier and Type Method Description protected List<Number>
NumberAxis. calculateMinorTickMarks()
Calculates a list of the data values for every minor tick markprotected List<Number>
NumberAxis. calculateTickValues(double length, Object range)
Calculates a list of all the data values for each tick mark in rangeMethods in javafx.scene.chart with parameters of type Number Modifier and Type Method Description protected String
NumberAxis. getTickMarkLabel(Number value)
Get the string label name for a tick mark with the given value.protected Dimension2D
NumberAxis. measureTickMarkSize(Number value, Object range)
Measures the size of the label for a given tick mark value.String
NumberAxis.DefaultFormatter. toString(Number object)
Converts the object provided into its string form. -
Uses of Number in javax.accessibility
Methods in javax.accessibility that return Number Modifier and Type Method Description Number
AccessibleValue. getCurrentAccessibleValue()
Get the value of this object as aNumber
.Number
AccessibleValue. getMaximumAccessibleValue()
Get the maximum value of this object as aNumber
.Number
AccessibleValue. getMinimumAccessibleValue()
Get the minimum value of this object as aNumber
.Methods in javax.accessibility with parameters of type Number Modifier and Type Method Description boolean
AccessibleValue. setCurrentAccessibleValue(Number n)
Set the value of this object as aNumber
. -
Uses of Number in javax.management
Methods in javax.management with parameters of type Number Modifier and Type Method Description static ValueExp
Query. value(Number val)
Returns a numeric value expression that can be used in any Query call that expects a ValueExp. -
Uses of Number in javax.management.monitor
Methods in javax.management.monitor that return Number Modifier and Type Method Description Number
CounterMonitor. getDerivedGauge()
Deprecated.As of JMX 1.2, replaced byCounterMonitor.getDerivedGauge(ObjectName)
Number
CounterMonitor. getDerivedGauge(ObjectName object)
Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornull
otherwise.Number
CounterMonitorMBean. getDerivedGauge()
Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getDerivedGauge(ObjectName)
Number
CounterMonitorMBean. getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.Number
GaugeMonitor. getDerivedGauge()
Deprecated.As of JMX 1.2, replaced byGaugeMonitor.getDerivedGauge(ObjectName)
Number
GaugeMonitor. getDerivedGauge(ObjectName object)
Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornull
otherwise.Number
GaugeMonitorMBean. getDerivedGauge()
Deprecated.As of JMX 1.2, replaced byGaugeMonitorMBean.getDerivedGauge(ObjectName)
Number
GaugeMonitorMBean. getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.Number
GaugeMonitor. getHighThreshold()
Gets the high threshold value common to all observed MBeans.Number
GaugeMonitorMBean. getHighThreshold()
Gets the high threshold value.Number
CounterMonitor. getInitThreshold()
Gets the initial threshold value common to all observed objects.Number
CounterMonitorMBean. getInitThreshold()
Gets the initial threshold value common to all observed objects.Number
GaugeMonitor. getLowThreshold()
Gets the low threshold value common to all observed MBeans.Number
GaugeMonitorMBean. getLowThreshold()
Gets the low threshold value.Number
CounterMonitor. getModulus()
Gets the modulus value common to all observed MBeans.Number
CounterMonitorMBean. getModulus()
Gets the modulus value.Number
CounterMonitor. getOffset()
Gets the offset value common to all observed MBeans.Number
CounterMonitorMBean. getOffset()
Gets the offset value.Number
CounterMonitor. getThreshold()
Deprecated.As of JMX 1.2, replaced byCounterMonitor.getThreshold(ObjectName)
Number
CounterMonitor. getThreshold(ObjectName object)
Gets the current threshold value of the specified object, if this object is contained in the set of observed MBeans, ornull
otherwise.Number
CounterMonitorMBean. getThreshold()
Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getThreshold(ObjectName)
Number
CounterMonitorMBean. getThreshold(ObjectName object)
Gets the threshold value for the specified MBean.Methods in javax.management.monitor with parameters of type Number Modifier and Type Method Description void
CounterMonitor. setInitThreshold(Number value)
Sets the initial threshold value common to all observed objects.void
CounterMonitorMBean. setInitThreshold(Number value)
Sets the initial threshold value common to all observed MBeans.void
CounterMonitor. setModulus(Number value)
Sets the modulus value common to all observed MBeans.void
CounterMonitorMBean. setModulus(Number value)
Sets the modulus value.void
CounterMonitor. setOffset(Number value)
Sets the offset value common to all observed MBeans.void
CounterMonitorMBean. setOffset(Number value)
Sets the offset value.void
CounterMonitor. setThreshold(Number value)
Deprecated.As of JMX 1.2, replaced byCounterMonitor.setInitThreshold(java.lang.Number)
void
CounterMonitorMBean. setThreshold(Number value)
Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.setInitThreshold(java.lang.Number)
void
GaugeMonitor. setThresholds(Number highValue, Number lowValue)
Sets the high and the low threshold values common to all observed MBeans.void
GaugeMonitorMBean. setThresholds(Number highValue, Number lowValue)
Sets the high and the low threshold values. -
Uses of Number in javax.swing
Methods in javax.swing that return Number Modifier and Type Method Description Number
AbstractButton.AccessibleAbstractButton. getCurrentAccessibleValue()
Get the value of this object as a Number.Number
JInternalFrame.AccessibleJInternalFrame. getCurrentAccessibleValue()
Get the value of this object as a Number.Number
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. getCurrentAccessibleValue()
Gets the value of this object as aNumber
.Number
JProgressBar.AccessibleJProgressBar. getCurrentAccessibleValue()
Gets the accessible value of this object.Number
JScrollBar.AccessibleJScrollBar. getCurrentAccessibleValue()
Get the accessible value of this object.Number
JSlider.AccessibleJSlider. getCurrentAccessibleValue()
Get the accessible value of this object.Number
JSpinner.AccessibleJSpinner. getCurrentAccessibleValue()
Get the value of this object as a Number.Number
JSplitPane.AccessibleJSplitPane. getCurrentAccessibleValue()
Gets the accessible value of this object.Number
AbstractButton.AccessibleAbstractButton. getMaximumAccessibleValue()
Get the maximum value of this object as a Number.Number
JInternalFrame.AccessibleJInternalFrame. getMaximumAccessibleValue()
Get the maximum value of this object as a Number.Number
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. getMaximumAccessibleValue()
Gets the maximum value of this object as aNumber
.Number
JProgressBar.AccessibleJProgressBar. getMaximumAccessibleValue()
Gets the maximum accessible value of this object.Number
JScrollBar.AccessibleJScrollBar. getMaximumAccessibleValue()
Get the maximum accessible value of this object.Number
JSlider.AccessibleJSlider. getMaximumAccessibleValue()
Get the maximum accessible value of this object.Number
JSpinner.AccessibleJSpinner. getMaximumAccessibleValue()
Get the maximum value of this object as a Number.Number
JSplitPane.AccessibleJSplitPane. getMaximumAccessibleValue()
Gets the maximum accessible value of this object.Number
AbstractButton.AccessibleAbstractButton. getMinimumAccessibleValue()
Get the minimum value of this object as a Number.Number
JInternalFrame.AccessibleJInternalFrame. getMinimumAccessibleValue()
Get the minimum value of this object as a Number.Number
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. getMinimumAccessibleValue()
Gets the minimum value of this object as aNumber
.Number
JProgressBar.AccessibleJProgressBar. getMinimumAccessibleValue()
Gets the minimum accessible value of this object.Number
JScrollBar.AccessibleJScrollBar. getMinimumAccessibleValue()
Get the minimum accessible value of this object.Number
JSlider.AccessibleJSlider. getMinimumAccessibleValue()
Get the minimum accessible value of this object.Number
JSpinner.AccessibleJSpinner. getMinimumAccessibleValue()
Get the minimum value of this object as a Number.Number
JSplitPane.AccessibleJSplitPane. getMinimumAccessibleValue()
Gets the minimum accessible value of this object.Number
SpinnerNumberModel. getNumber()
Returns the value of the current element of the sequence.Number
SpinnerNumberModel. getStepSize()
Returns the size of the value change computed by thegetNextValue
andgetPreviousValue
methods.Methods in javax.swing with parameters of type Number Modifier and Type Method Description static <M,I> RowFilter<M,I>
RowFilter. numberFilter(RowFilter.ComparisonType type, Number number, int... indices)
Returns aRowFilter
that includes entries that have at least oneNumber
value meeting the specified criteria.boolean
AbstractButton.AccessibleAbstractButton. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
JInternalFrame.AccessibleJInternalFrame. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. setCurrentAccessibleValue(Number n)
Sets the value of this object as aNumber
.boolean
JProgressBar.AccessibleJProgressBar. setCurrentAccessibleValue(Number n)
Sets the value of this object as aNumber
.boolean
JScrollBar.AccessibleJScrollBar. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
JSlider.AccessibleJSlider. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
JSpinner.AccessibleJSpinner. setCurrentAccessibleValue(Number n)
Set the value of this object as a Number.boolean
JSplitPane.AccessibleJSplitPane. setCurrentAccessibleValue(Number n)
Sets the value of this object as a Number.void
SpinnerNumberModel. setStepSize(Number stepSize)
Changes the size of the value change computed by thegetNextValue
andgetPreviousValue
methods.Constructors in javax.swing with parameters of type Number Constructor Description SpinnerNumberModel(Number value, Comparable<?> minimum, Comparable<?> maximum, Number stepSize)
Constructs aSpinnerModel
that represents a closed sequence of numbers fromminimum
tomaximum
. -
Uses of Number in javax.xml.datatype
Methods in javax.xml.datatype that return Number Modifier and Type Method Description abstract Number
Duration. getField(DatatypeConstants.Field field)
Gets the value of a field.
-