Integer Converter |
Converts between java.lang.String values in your component properties
and data types of java.lang.Integer or the Java int primitive
type, a 32-bit signed integer value ranging between -2147483648 and 2147483647.
The conversion usually applies to the property a component uses to display values and to pick up values entered by users. For example, the Text Field component uses the text property for this purpose.
An example is binding a JavaServer Faces component to a database column of
type INTEGER. When you bind a component, the IDE normally identifies
the data type for you and sets the appropriate converter when you establish
a binding to the value property. However, you can also add this converter
manually by setting the component's converter property.
| Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. |