Decision Center API

ilog.rules.webui.dtable
Class IlrDTWTableView

java.lang.Object
  extended by ilog.webui.dhtml.IlxWContainer
      extended by ilog.webui.dhtml.IlxWComponent
          extended by ilog.rules.webui.dtable.IlrDTWTableView
All Implemented Interfaces:
ilog.webui.dhtml.IlxWConstants, ilog.webui.dhtml.IlxWCSSModelProvider, ilog.webui.dhtml.IlxWDependencyProvider, ilog.webui.dhtml.IlxWJSObject, 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

Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.webui.dhtml.IlxWComponent
IlxWComponent.DynamicStyleMap
 
Field Summary
static ilog.webui.dhtml.IlxWCSSDescriptor cssDescriptor
           
static ilog.webui.dhtml.css.CSSModel cssModel
           
 
Fields inherited from class ilog.webui.dhtml.IlxWContainer
listenerList
 
Constructor Summary
IlrDTWTableView(ilog.rules.dt.IlrDTController dtController)
           Creates a new IlrDTWTableView over the specified table and editor.
IlrDTWTableView(ilog.webui.dhtml.components.IlxWPanel targetPanel, ilog.rules.dt.IlrDTController dtController)
          Deprecated. use other constructor
 
Method Summary
 void setInlineCSS(String css)
           
 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
 void setOnValueChange(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
          Adds a hook that will be called when the user changes the edited value.
 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).
 
Methods inherited from class ilog.webui.dhtml.IlxWComponent
addPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, notifyDependencies, print, printComponent, removePropertyChangeListener, removePropertyChangeListener, setName, validate
 
Methods inherited from class ilog.webui.dhtml.IlxWContainer
add, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(String css)

Decision Center API

© Copyright IBM Corp. 1987, 2013