UIX 2.2.15

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

UIX 2.2.15