OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

org.apache.myjs.trinidad.component
Class AdfUIValue

org.ecmascript.object.Object
   |
   +--org.apache.myjs.trinidad.component.AdfUIValue
Direct Known Subclasses:
AdfUIEditableValue, AdfUIOutput

public class AdfUIValue
extends Object
The UIXValue component contains all the shared attributes supported by all Apache Trinidad components that support the JSF ValueHolder interface, and therefore support values and Converters.



Field Summary


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfUIValue()
The UIXValue component contains all the shared attributes supported by all Apache Trinidad components that support the JSF ValueHolder interface, and therefore support values and Converters.


Method Summary

protected Object
GetChanges()
protected Object
GetConvertedValue(Object value)
public Object
getConverter()
Get function for attribute for 'converter'.
public Object
getValue()
Get function for attribute for 'value'.
public Object
isConvertible()
3 things can happen during validation on the client, this method tells you when the third bullet has occurred.
protected Object
SetPropertyImpl(Object propName, Object oldValue, Object newValue)
public void
setValue(Object newValue)
Set function for attribute 'Value'.


Field Detail


Constructor Detail


AdfUIValue

public AdfUIValue()

The UIXValue component contains all the shared attributes supported by all Apache Trinidad components that support the JSF ValueHolder interface, and therefore support values and Converters.

Method Detail


GetChanges

protected Object GetChanges()

Return:
Object

GetConvertedValue

protected Object GetConvertedValue(Object value)

Parameters:
value    
Return:
Object

getConverter

public Object getConverter()

Get function for attribute for 'converter'. This attribute is secured. You may get it, but you may not set it. Any changes to this attribute will not be transmitted to the server.

Return:
Object - Converter

getValue

public Object getValue()

Get function for attribute for 'value'.

Return:
Object - Value

isConvertible

public Object isConvertible()

3 things can happen during validation on the client, this method tells you when the third bullet has occurred.
  1. Client validation succeeds and value is updated
  2. A client converter or validator throws an exception. After this happens getValid() will return false.
  3. The client converter doesn't know how to do the conversion and returned undefined. After this happens isConvertible() will return false.

Return:
Object

SetPropertyImpl

protected Object SetPropertyImpl(Object propName,
                                 Object oldValue,
                                 Object newValue)

Parameters:
propName    
oldValue    
newValue    
Return:
Object

setValue

public void setValue(Object newValue)

Set function for attribute 'Value'.

Parameters:
newValue    
Return:
void - No Value returned

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2011.04.27 02:28 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.