Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bind
Class AddBoundValue

java.lang.Object
  |
  +--oracle.cabo.ui.data.bind.AddBoundValue
All Implemented Interfaces:
BoundValue

public class AddBoundValue
extends java.lang.Object
implements BoundValue

Adds the value attribute to all child bound values, returning a Number of the most precise type of all values being added. For example, adding an Integer to a Double returns a Double.


Constructor Summary
AddBoundValue(java.lang.Integer initialValue, BoundValue[] values)
          Create a BoundValue that adds the Numbers of all the contained BoundValues
 
Method Summary
 java.lang.Object getValue(RenderingContext context)
          Called to retrieve a value based on the current rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddBoundValue

public AddBoundValue(java.lang.Integer initialValue,
                     BoundValue[] values)
Create a BoundValue that adds the Numbers of all the contained BoundValues

Parameters:
initialValue - literal value to add to total
values - an array of BoundValues
Method Detail

getValue

public java.lang.Object getValue(RenderingContext context)
Called to retrieve a value based on the current rendering context.

Specified by:
getValue in interface BoundValue
Parameters:
context - the rendering context

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.