Package com.reportmill.text
Class RMTextEditor.Listener
- java.lang.Object
-
- com.reportmill.text.RMTextEditor.Listener
-
- Enclosing class:
- RMTextEditor
public static class RMTextEditor.Listener extends java.lang.Object
Listener class so other objects can track changes to text editor.
-
-
Constructor Summary
Constructors Constructor Description Listener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setNeedsRepaint(RMTextEditor aTE)
Called when a text change requires a repaint.void
setSelStartEnd(RMTextEditor aTE, int newStart, int newEnd)
Called when selection is changed.void
textDidChange(RMTextEditor aTE)
Called when text changes (insert, delete, add/remove attribute).
-
-
-
Method Detail
-
textDidChange
public void textDidChange(RMTextEditor aTE)
Called when text changes (insert, delete, add/remove attribute).
-
setNeedsRepaint
public void setNeedsRepaint(RMTextEditor aTE)
Called when a text change requires a repaint.
-
setSelStartEnd
public void setSelStartEnd(RMTextEditor aTE, int newStart, int newEnd)
Called when selection is changed.
-
-