ilog.rules.webui.dt

Class IlrDTWTableComponent

    • Constructor Detail

      • IlrDTWTableComponent

        public IlrDTWTableComponent(ilog.rules.dt.IlrDTController dtController)
        Creates the editor and the edit bar.
        Parameters:
        dtController - The DT controller.
    • Method Detail

      • initProperties

        public static void initProperties()
        Loads and initializes the resource bundles.

        Call this method once before instantiating the IlrDTWTableComponent. You can have only one locale at a time for the whole application.

      • initProperties

        public static void initProperties(java.util.Locale locale)
        Deprecated. 
        Properties are locale insensitive, message bundles are now loaded according to the DT controller locale.

        Parameters:
        locale - The locale.
      • setOnSubmitHook

        public void setOnSubmitHook(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
        Adds a hook that will be called when the user clicks the SUBMIT button after the value has been changed in the model.
        Parameters:
        hook - The hook.
        See Also:
        ilog.rules.webui.dtable.IlrDTWTable.Hook
      • setPreSubmitHook

        public void setPreSubmitHook(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
        Adds a hook that will be called when the user clicks the SUBMIT button, and before the value is changed in the model. The hook can be used to perform some value checking.
        Parameters:
        hook - The hook.
        See Also:
        ilog.rules.webui.dtable.IlrDTWTable.Hook
      • setOnValueChange

        public void setOnValueChange(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
        Adds a hook that will be called when the user changes the edited value.
        Parameters:
        hook - The hook.
        See Also:
        ilog.rules.webui.dtable.IlrDTWTable.Hook

© Copyright IBM Corp. 1987, 2015