LPEX
4.4.0

com.ibm.lpex.core
Interface LpexMarkListener


public interface LpexMarkListener

Interface LpexMarkListener can be implemented to listen to mark events. Marks are defined with the set mark editor command. The scope of a mark is the document view in which it is created.

See Also:
LpexView.addLpexMarkListener(int, com.ibm.lpex.core.LpexMarkListener), LpexView.removeLpexMarkListener(int,LpexMarkListener), LpexView.removeLpexMarkListener(LpexMarkListener)

Method Summary
 void markChanged(LpexView lpexView, int markId)
          This method is invoked when the text associated with a mark has been changed.
 void markDeleted(LpexView lpexView, int markId)
          This method is invoked when all of the text associated with a mark has been deleted.
 

Method Detail

markChanged

void markChanged(LpexView lpexView,
                 int markId)
This method is invoked when the text associated with a mark has been changed. The mark is now labeled 'dirty', and no further markChanged() notifications are issued.

Parameters:
lpexView - the document view of the mark
markId - the id of the changed mark

markDeleted

void markDeleted(LpexView lpexView,
                 int markId)
This method is invoked when all of the text associated with a mark has been deleted. The mark will now be removed from the view.

Parameters:
lpexView - the document view of the mark
markId - the id of the deleted mark

LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.