IlrWDefaultValueEditorActionManager instead.public class IlrWDefaultTokenActionManager extends IlrWTokenActionManager
This token manager is displayed in the Web Rule Editor as a link displaying the text of the corresponding token. When this link is clicked, it pops an "OK/Cancel" dialog window.
The dialog window must be enriched by your components, through
getDialogPane().
Just after the dialog window is closed, an action event is fired
and dispatched to the registered action listeners.
The actioncommand string associated with the event is defined
as follows:
IlxWComponent.DynamicStyleMap| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CANCEL_COMMAND
Deprecated.
Name of the 'cancel' action command.
|
static java.lang.String |
OK_COMMAND
Deprecated.
Name of the 'OK' action command.
|
protected ilog.rules.brl.tokenmodel.IlrToken.TextToken |
token
Deprecated.
The token currently edited by the token action manager.
|
rendererlistenerList| Constructor and Description |
|---|
IlrWDefaultTokenActionManager()
Deprecated.
Constructs a default token action manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(java.awt.event.ActionListener l)
Deprecated.
Adds the specified action listener to receive
action events when the dialog window is closed.
|
void |
addToDialogPane(IlxWComponent component)
Deprecated.
Adds a component to the main panel of the dialog box.
|
void |
closeDialog(java.lang.String command)
Deprecated.
Closes the token action manager dialog.
|
ilog.webui.dhtml.components.IlxWPanel |
getDialogPane()
Deprecated.
Use
addToDialogPane instead. |
ilog.rules.brl.tokenmodel.IlrToken.TextToken |
getToken()
Deprecated.
Gets the token previously set through
setToken(ilog.rules.brl.tokenmodel.IlrToken.TextToken). |
protected void |
printComponent(IlxWPort port)
Deprecated.
Prints the HTML code that will display the graphical
representation of this component.
|
void |
removeActionListener(java.awt.event.ActionListener l)
Deprecated.
Removes the specified action listener so that it no longer
receives action events from this component.
|
void |
setDialogWindowClass(java.lang.String windowClass)
Deprecated.
Sets the CSS classes for the dialog window.
|
void |
setToken(ilog.rules.brl.tokenmodel.IlrToken.TextToken token)
Deprecated.
Sets the current token on this action manager and updates the
corresponding link component accordingly.
|
void |
setValue(java.lang.Object value)
Deprecated.
Sets the value of the token associated with this token action manager.
|
fireTokenChangeaddPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, notifyDependencies, print, removePropertyChangeListener, removePropertyChangeListener, setName, validateadd, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizerprotected ilog.rules.brl.tokenmodel.IlrToken.TextToken token
public static java.lang.String OK_COMMAND
public static java.lang.String CANCEL_COMMAND
public IlrWDefaultTokenActionManager()
public ilog.webui.dhtml.components.IlxWPanel getDialogPane()
addToDialogPane instead.Use this panel to add your component(s) to the dialog.
public void addToDialogPane(IlxWComponent component)
component - The component to add.public void addActionListener(java.awt.event.ActionListener l)
l - The action listener.public void removeActionListener(java.awt.event.ActionListener l)
l - The action listener.protected void printComponent(IlxWPort port) throws java.io.IOException
IlxWComponentIlxWComponent.print(ilog.webui.dhtml.IlxWPort) method.printComponent in class IlxWComponentjava.io.IOExceptionport - The port on which the component will be printed.IlxWComponent.print(ilog.webui.dhtml.IlxWPort)public ilog.rules.brl.tokenmodel.IlrToken.TextToken getToken()
setToken(ilog.rules.brl.tokenmodel.IlrToken.TextToken).null if setToken has not been called yet.public void setToken(ilog.rules.brl.tokenmodel.IlrToken.TextToken token)
setToken in class IlrWTokenActionManagerpublic void closeDialog(java.lang.String command)
command - One of OK_COMMAND or CANCEL_COMMAND.public void setDialogWindowClass(java.lang.String windowClass)
windowClass - A string containing one or several CSS classes separated by a space.public void setValue(java.lang.Object value)
value - The value to set.© Copyright IBM Corp. 1987, 2017