01: /**
02: * This interface provides methods to work with a text.
03: * If you want to use FindDialog, you need to implement this interface.
04: * The functions do the same as in the JTextPane class.
05: * @author Dmytro Podalyuk
06: */package org.columba.core.util;
07:
08: public interface IViewableText {
09: public void setCaretPosition(int position);
10:
11: public void moveCaretPosition(int position);
12:
13: public String getText();
14:
15: public void grabFocus();
16: }
|