|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.rules.brl.value.editor.IlrAbstractValueEditor
public abstract class IlrAbstractValueEditor
Provides a part of the implementation of the interface IlrValueEditor.
| Constructor Summary | |
|---|---|
protected |
IlrAbstractValueEditor(IlrValueDescriptor valueDescriptor)
Initialize an abstract value descriptor. |
| Method Summary | |
|---|---|
void |
addValueEditorListener(IlrValueEditorListener l)
Adds an IlrValueEditorListener. |
void |
dispose()
Disposes of the value editor after an edit. |
protected void |
fireEditionCanceled()
Fire the event on all the listeners that edition is canceled. |
protected void |
fireEditionStopped()
Fire the event on all the listeners that edition is stopped. |
IlrValueDescriptor |
getValueDescriptor()
Returns the value descriptor attached to this value editor. |
void |
prepare(IlrSyntaxTree.Node node)
The method prepare is invoked just before the editing of a value during rule editing. |
void |
removeValueEditorListener(IlrValueEditorListener l)
Removes an IlrValueEditorListener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.rules.brl.value.editor.IlrValueEditorComponent |
|---|
getEditorComponent |
| Constructor Detail |
|---|
protected IlrAbstractValueEditor(IlrValueDescriptor valueDescriptor)
valueDescriptor - The value descriptor associated with this value editor| Method Detail |
|---|
public final IlrValueDescriptor getValueDescriptor()
IlrValueEditor
getValueDescriptor in interface IlrValueEditorpublic void prepare(IlrSyntaxTree.Node node)
IlrValueEditorExtensionprepare is invoked just before the editing of a value during rule editing.
The argument passed to the method is the node representing the value being edited.
It is possible to navigate up and down the Abstract Syntax Tree from this node.
Note that the branch can be a branch in error recovery if the rule has syntactic errors.
prepare in interface IlrValueEditorExtensionnode - The node under which a value can be edited.public void addValueEditorListener(IlrValueEditorListener l)
IlrValueEditorIlrValueEditorListener.
A value editor event is generated when the edited item changes.
addValueEditorListener in interface IlrValueEditorpublic void removeValueEditorListener(IlrValueEditorListener l)
IlrValueEditorIlrValueEditorListener.
removeValueEditorListener in interface IlrValueEditorprotected void fireEditionStopped()
protected void fireEditionCanceled()
public void dispose()
IlrValueEditorExtension
dispose in interface IlrValueEditorExtension
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||