|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LpexCursorListener
Interface LpexCursorListener can be implemented to listen to cursor (caret) events in the edit window of a document view.
Create a listener object using this class, and then register it with a
document view using the view's addLpexCursorListener()
method.
When an event occurs, the elementChanged()
method in the
listener object is invoked.
Example:
lpexView.addLpexCursorListener(new LpexCursorListener() { // cursor moved to another element public void elementChanged(LpexView view) { updateFormatLine(view); } }); |
LpexView.addLpexCursorListener(com.ibm.lpex.core.LpexCursorListener)
,
LpexView.removeLpexCursorListener(com.ibm.lpex.core.LpexCursorListener)
Method Summary | |
---|---|
void |
elementChanged(LpexView lpexView)
This method is invoked when the element on which the cursor is located has changed since the last notification or since the listener was added. |
Method Detail |
---|
void elementChanged(LpexView lpexView)
The LPEX screen is rebuilt and displayed after every user action. It is also rebuilt and displayed when the screenShow editor command is issued.
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |