The Essential JViews Framework > Graphic Objects > Predefined Graphic Objects > In-place Text Editing

ILOG JViews supports WYSIWYG editing for IlvLabel and IlvText objects.

images/WYSIWIGTextEditing.png

Figure 4.3 A WYSIWYG editable object

This editing behavior is implemented by the IlvTextSelection and IlvTextEditor classes. While editing selected text, the user can perform the following actions with the mouse and keyboard:

Notes
The user cannot do the following:
  • Edit an IlvText object in WRAP_TRUNCATE mode. This is because he or she cannot see all the text on the screen. Change the object to WRAP_WORD mode before editing.
  • Edit an IlvLabel or an IlvText object that is not editable. Change the attributes of one object to editable using IlvManager.setEditable(...) before editing.
  • Resize an IlvLabel object. IlvLabel objects are never resizable.

For more information, See:

<installdir>/jviews-framework81/codefragments/interactors/texteditor/index.html.