Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.jbo.uicli.binding
Interface JUCtrlInputValueHandler

All Known Subinterfaces:
JUCtrlValueHandler
All Known Implementing Classes:
JUButtonBinding, JUButtonGroupBinding, JUComboBoxBinding, JUComboBoxCtrlBinding, JUComboBoxLovEditBinding, JUCtrlAdaptRangeBinding, JUCtrlAttrsBinding, JUCtrlBoolBinding, JUCtrlHierBinding, JUCtrlHierNodeBinding, JUCtrlListBinding, JUCtrlParameterBinding, JUCtrlRangeBinding, JUCtrlValueBinding, JUDefaultControlBinding, JUFormattedTextFieldBinding, JULabelBinding, JUListSingleSelBinding, JULovButtonBinding, JUProgressBarAttrBinding, JUScrollBarAttrBinding, JUSliderAttrBinding, JUSpinnerBinding, JUTableBinding, JUTextFieldBinding, JUTreeBinding, JUTreeNodeBinding, JUTreeTableBinding

public interface JUCtrlInputValueHandler

Method Summary
 boolean isNewInputValue(JUCtrlValueBinding binding, int index, java.lang.Object value)
          Returns true, if the caller needs to call setInputValue() on this binding to update the current attribute value that this binding is set to.
 void setInputValue(JUCtrlValueBinding binding, int index, java.lang.Object value)
          Implement value specific handling of the inputValue.

 

Method Detail

setInputValue

void setInputValue(JUCtrlValueBinding binding,
                   int index,
                   java.lang.Object value)
Implement value specific handling of the inputValue. For Example Intermedia domains know how to update their data based on a file url or Struts FileHandle as input value. JUCtrlValueBinding provides the base domain object (or null in which case it also provides access to the AttributeDef that contains the domain/value type). Custom implementation for the Intermedia domain may then update some fields on the domain instead of the entire domain Object.
Parameters:
binding - Control binding that is associated to the attribute to be updated.
index - Index of the attribute in this control binding to update with the given Input Value. Note that for most single attribute control like TextFields, this value should be 0.

isNewInputValue

boolean isNewInputValue(JUCtrlValueBinding binding,
                        int index,
                        java.lang.Object value)
Returns true, if the caller needs to call setInputValue() on this binding to update the current attribute value that this binding is set to.

If the value is different than the attribute value, or if this binding had cached an error in a pervious setInputValue, then this method returns true.


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.