Class CalloutInfoWindow

java.lang.Object
org.adempiere.model.CalloutInfoWindow
All Implemented Interfaces:
IColumnCallout

public class CalloutInfoWindow extends Object implements IColumnCallout
Callout for AD_InfoWindow and AD_InfoColumn
Author:
hengsin
  • 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 interface IColumnCallout
      Parameters:
      ctx - Context
      WindowNo - current Window No
      mTab - Tab model
      mField - Field model
      value - The new value
      oldValue - The old value
      Returns:
      Error message or ""
    • element

      protected String element(GridTab mTab, Object value)
      For AD_Element_ID callout, copy element values to info column.
      Parameters:
      mTab -
      value -
      Returns:
      error message or null