Package org.adempiere.model
Class CalloutInfoWindow
java.lang.Object
org.adempiere.model.CalloutInfoWindow
- All Implemented Interfaces:
IColumnCallout
Callout for AD_InfoWindow and AD_InfoColumn
- Author:
- hengsin
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CalloutInfoWindow
public CalloutInfoWindow()default constructor
-
-
Method Details
-
start
public String start(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) Description copied from interface:IColumnCallout
Start Callout.Callout's are used for cross field validation and setting values in other fields. When returning a non empty (error message) string, an exception is raised.
When invoked, the Tab model has the new value!
- Specified by:
start
in interfaceIColumnCallout
- Parameters:
ctx
- ContextWindowNo
- current Window NomTab
- Tab modelmField
- Field modelvalue
- The new valueoldValue
- The old value- Returns:
- Error message or ""
-
element
For AD_Element_ID callout, copy element values to info column.- Parameters:
mTab
-value
-- Returns:
- error message or null
-