Uses of Class java.lang.Number (Java 2 Platform SE v1.4.1_"07")

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

JavaTM 2 Platform
Std. Ed. v1.4.1_"07"

PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.Number

Packages that use Number
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.
javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components.
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

Uses of Number in java.awt

Methods in java.awt that return Number
`Number` | `MenuItem.AccessibleAWTMenuItem.getCurrentAccessibleValue()` Get the value of this object as a Number.
`Number` | `MenuItem.AccessibleAWTMenuItem.getMinimumAccessibleValue()` Get the minimum value of this object as a Number.
`Number` | `MenuItem.AccessibleAWTMenuItem.getMaximumAccessibleValue()` Get the maximum value of this object as a Number.
`Number` | `Scrollbar.AccessibleAWTScrollBar.getCurrentAccessibleValue()` Get the accessible value of this object.
`Number` | `Scrollbar.AccessibleAWTScrollBar.getMinimumAccessibleValue()` Get the minimum accessible value of this object.
`Number` | `Scrollbar.AccessibleAWTScrollBar.getMaximumAccessibleValue()` Get the maximum accessible value of this object.
`Number` | `CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getCurrentAccessibleValue()` Get the value of this object as a Number.
`Number` | `CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getMinimumAccessibleValue()` Get the minimum value of this object as a Number.
`Number` | `CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getMaximumAccessibleValue()` Get the maximum value of this object as a Number.
`Number` | `Checkbox.AccessibleAWTCheckbox.getCurrentAccessibleValue()` Get the value of this object as a Number.
`Number` | `Checkbox.AccessibleAWTCheckbox.getMinimumAccessibleValue()` Get the minimum value of this object as a Number.
`Number` | `Checkbox.AccessibleAWTCheckbox.getMaximumAccessibleValue()` Get the maximum value of this object as a Number.
`Number` | `Button.AccessibleAWTButton.getCurrentAccessibleValue()` Get the value of this object as a Number.
`Number` | `Button.AccessibleAWTButton.getMinimumAccessibleValue()` Get the minimum value of this object as a Number.
`Number` | `Button.AccessibleAWTButton.getMaximumAccessibleValue()` Get the maximum value of this object as a Number.

Methods in java.awt with parameters of type 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.
`boolean` | `CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.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` | `Button.AccessibleAWTButton.setCurrentAccessibleValue(Number n)` Set the value of this object as a Number.

Uses of Number in java.lang

Subclasses of Number in java.lang
`class` | `Byte` The `Byte` class wraps a value of primitive type `byte` in an object.
`class` | `Double` The `Double` class wraps a value of the primitive type `double` in an object.
`class` | `Float` The `Float` class wraps a value of primitive type `float` in an object.
`class` | `Integer` The `Integer` class wraps a value of the primitive type `int` in an object.
`class` | `Long` The `Long` class wraps a value of the primitive type `long` in an object.
`class` | `Short` The `Short` class wraps a value of primitive type `short` in an object.

Uses of Number in java.math

Subclasses of Number in java.math
`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
`Number` | `DecimalFormat.parse(String text, ParsePosition pos)` Parses text from a 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.
`Number` | `NumberFormat.parse(String source)` Parses text from the beginning of the given string to produce a number.
`Number` | `ChoiceFormat.parse(String text, ParsePosition status)` Parses a Number from the input text.

Uses of Number in javax.accessibility

Methods in javax.accessibility that return Number
`Number` | `AccessibleValue.getCurrentAccessibleValue()` Get the value of this object as a Number.
`Number` | `AccessibleValue.getMinimumAccessibleValue()` Get the minimum value of this object as a Number.
`Number` | `AccessibleValue.getMaximumAccessibleValue()` Get the maximum value of this object as a Number.

Methods in javax.accessibility with parameters of type Number
`boolean` | `AccessibleValue.setCurrentAccessibleValue(Number n)` Set the value of this object as a Number.

Uses of Number in javax.swing

Methods in javax.swing that return Number
`Number` | `JSplitPane.AccessibleJSplitPane.getCurrentAccessibleValue()` Gets the accessible value of this object.
`Number` | `JSplitPane.AccessibleJSplitPane.getMinimumAccessibleValue()` Gets the minimum accessible value of this object.
`Number` | `JSplitPane.AccessibleJSplitPane.getMaximumAccessibleValue()` Gets the maximum accessible value of this object.
`Number` | `JSlider.AccessibleJSlider.getCurrentAccessibleValue()` Get the accessible value of this object.
`Number` | `JSlider.AccessibleJSlider.getMinimumAccessibleValue()` Get the minimum accessible value of this object.
`Number` | `JSlider.AccessibleJSlider.getMaximumAccessibleValue()` Get the maximum accessible value of this object.
`Number` | `JProgressBar.AccessibleJProgressBar.getCurrentAccessibleValue()` Gets the accessible value of this object.
`Number` | `JProgressBar.AccessibleJProgressBar.getMinimumAccessibleValue()` Gets the minimum accessible value of this object.
`Number` | `JProgressBar.AccessibleJProgressBar.getMaximumAccessibleValue()` Gets the maximum accessible value of this object.
`Number` | `JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue()` Gets the value of this object as a `Number`.
`Number` | `JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue()` Gets the minimum value of this object as a `Number`.
`Number` | `JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue()` Gets the maximum value of this object as a `Number`.
`Number` | `JInternalFrame.AccessibleJInternalFrame.getCurrentAccessibleValue()` Get the value of this object as a Number.
`Number` | `JInternalFrame.AccessibleJInternalFrame.getMinimumAccessibleValue()` Get the minimum value of this object as a Number.
`Number` | `JInternalFrame.AccessibleJInternalFrame.getMaximumAccessibleValue()` Get the maximum value of this object as a Number.
`Number` | `JScrollBar.AccessibleJScrollBar.getCurrentAccessibleValue()` Get the accessible value of this object.
`Number` | `JScrollBar.AccessibleJScrollBar.getMinimumAccessibleValue()` Get the minimum accessible value of this object.
`Number` | `JScrollBar.AccessibleJScrollBar.getMaximumAccessibleValue()` Get the maximum accessible value of this object.
`Number` | `AbstractButton.AccessibleAbstractButton.getCurrentAccessibleValue()` Get the value of this object as a Number.
`Number` | `AbstractButton.AccessibleAbstractButton.getMinimumAccessibleValue()` Get the minimum value of this object as a Number.
`Number` | `AbstractButton.AccessibleAbstractButton.getMaximumAccessibleValue()` Get the maximum value of this object as a Number.
`Number` | `SpinnerNumberModel.getStepSize()` Returns the size of the value change computed by the `getNextValue` and `getPreviousValue` methods.
`Number` | `SpinnerNumberModel.getNumber()` Returns the value of the current element of the sequence.

Methods in javax.swing with parameters of type Number
`boolean` | `JSplitPane.AccessibleJSplitPane.setCurrentAccessibleValue(Number n)` Sets the value of this object as a Number.
`boolean` | `JSlider.AccessibleJSlider.setCurrentAccessibleValue(Number n)` Set the value of this object as a Number.
`boolean` | `JProgressBar.AccessibleJProgressBar.setCurrentAccessibleValue(Number n)` Sets the value of this object as a `Number`.
`boolean` | `JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue(Number n)` Sets the value of this object as a `Number`.
`boolean` | `JInternalFrame.AccessibleJInternalFrame.setCurrentAccessibleValue(Number n)` Set the value of this object as a Number.
`boolean` | `JScrollBar.AccessibleJScrollBar.setCurrentAccessibleValue(Number n)` Set the value of this object as a Number.
`boolean` | `AbstractButton.AccessibleAbstractButton.setCurrentAccessibleValue(Number n)` Set the value of this object as a Number.
`void` | `SpinnerNumberModel.setStepSize(Number stepSize)` Changes the size of the value change computed by the `getNextValue` and `getPreviousValue` methods.

Constructors in javax.swing with parameters of type Number
`SpinnerNumberModel(Number value, Comparable minimum, Comparable maximum, Number stepSize)` Constructs a `SpinnerModel` that represents a closed sequence of numbers from `minimum` to `maximum`.
`SpinnerNumberModel(Number value, Comparable minimum, Comparable maximum, Number stepSize)` Constructs a `SpinnerModel` that represents a closed sequence of numbers from `minimum` to `maximum`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

JavaTM 2 Platform
Std. Ed. v1.4.1_"07"

PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.