|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.webui.dhtml.IlxWContainer ilog.webui.dhtml.IlxWComponent ilog.rules.webui.dt.IlrDTWTableComponent
public class IlrDTWTableComponent
IlrDTWTableComponent
represents a web-based version of the
Decision Table Editor in Rule Designer.
Web components are server-side Java components that have a graphical representation on an HTML client, typically a web browser. These components have been designed so that you can easily embed them in a servlet or in a JSP environment.
A web component that is embedded in a servlet or a JSP runs on all browsers without any browser-dependent code, although the HTML code that is dispatched to the client page is browser-dependent.
To included this editor in a JSP/Servlet page, either:
IlxWComponent
.
port.open(); IlxWManager manager = IlxWManager.getManager(session); // initialization of web decisiontable bundles (need to be done only once) IlrDTWTableComponent.initProperties(); dtView = new IlrDTWTableComponent(dtController); manager.add(dtView); dtview.print(port); port.close();The
IlrDTWTableComponent
object is initialized with a
dtController
for a decision table. Outside Decision Center,
use this class instead of instantiating IlrDTWTableView
directly.
IlxWComponent
,
Serialized Form
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ilog.webui.dhtml.IlxWComponent |
---|
IlxWComponent.DynamicStyleMap |
Field Summary |
---|
Fields inherited from class ilog.webui.dhtml.IlxWContainer |
---|
listenerList |
Constructor Summary | |
---|---|
IlrDTWTableComponent(ilog.rules.dt.IlrDTController dtController)
Creates the editor and the edit bar. |
Method Summary | |
---|---|
static void |
initProperties()
Loads and initializes the resource bundles. |
static void |
initProperties(Locale locale)
Deprecated. |
void |
setOnSubmitHook(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
Adds a hook that will be called when the user clicks the |
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 the |
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 |
Constructor Detail |
---|
public IlrDTWTableComponent(ilog.rules.dt.IlrDTController dtController)
dtController
- The DT controller.Method Detail |
---|
public static void initProperties()
Call this method once before instantiating the
IlrDTWTableComponent
. You can have only one locale at a time
for the whole application.
public static void initProperties(Locale locale)
locale
- The locale.public void setOnSubmitHook(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
hook
- The hook.ilog.rules.webui.dtable.IlrDTWTable.Hook
public void setPreSubmitHook(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
hook
- The hook.ilog.rules.webui.dtable.IlrDTWTable.Hook
public void setOnValueChange(ilog.rules.webui.dtable.IlrDTWTable.Hook hook)
hook
- The hook.ilog.rules.webui.dtable.IlrDTWTable.Hook
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |