PATH Documentation > WebObjects

Up

D2WEditNumber

Package: com.webobjects.directtoweb

Inherits from:EditComponent

Implements:

See Also:
D2WCustomComponent

Class Description

This property-level component provides a text field for the user to enter a number. It also converts the entered text into a NSNumber object with the help of a formatter that you can specify.

Property-level components are not accessed programmatically. Instead, you use the Web Assistant to choose the property-level component that Direct to Web uses to display a property on a particular entity and task page. See the "Direct to Web" chapter of WebObjects Tools and Techniques for more information.

If you want to create property-level component to edit a property, use D2WCustomComponent.

Method Types


Constructors


Private Methods


Constructors


D2WEditNumber

public D2WEditNumber()

Standard Java no-argument constructor.
Methods


isDecimalNumber

public boolean isDecimalNumber()



replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)

This method is intentionally undocumented. You should never have to invoke or customize it.



© 2001 Apple Computer, Inc.