ilog.rules.webui.dtable

Class IlrDTWTableView

  • All Implemented Interfaces:
    ilog.webui.dhtml.IlxWConstants, ilog.webui.dhtml.IlxWCSSModelProvider, ilog.webui.dhtml.IlxWDependencyProvider, ilog.webui.dhtml.IlxWJSObject, java.io.Serializable
    Direct Known Subclasses:
    IlrDTWTableView


    public class IlrDTWTableView
    extends IlxWComponent
    General component holding a decision table.

    This component also makes the connection between a decision table and its editor. It is in charge of displaying the table itself, but the editor is just used as a reference; it should be displayed by a separate component.

    See Also:
    Serialized Form
    • Field Detail

      • cssModel

        public static ilog.webui.dhtml.css.CSSModel cssModel
      • cssDescriptor

        public static ilog.webui.dhtml.IlxWCSSDescriptor cssDescriptor
    • Constructor Detail

      • IlrDTWTableView

        @Deprecated
        public IlrDTWTableView(ilog.webui.dhtml.components.IlxWPanel targetPanel,
                                  ilog.rules.dt.IlrDTController dtController)
        Deprecated. use other constructor

        Creates a editable view for the decision table

        Parameters:
        targetPanel - not used
        dtController - the dtController of the edited table
      • IlrDTWTableView

        public IlrDTWTableView(ilog.rules.dt.IlrDTController dtController)

        Creates a new IlrDTWTableView over the specified table and editor.

        Parameters:
        dtController - The table definition to edit.
    • Method Detail

      • setOnSubmitHook

        public void setOnSubmitHook(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
        Adds a hook that will be called when the user clicks on the 'SUBMIT' button, after the value is 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 on the 'SUBMIT' button, before the value is changed in the model (the hook can perform some value checking for instance).
        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
      • setInlineCSS

        public void setInlineCSS(java.lang.String css)

© Copyright IBM Corp. 1987, 2017