1 /** 2 * This interface provides methods to work with a text. 3 * If you want to use FindDialog, you need to implement this interface. 4 * The functions do the same as in the JTextPane class. 5 * @author Dmytro Podalyuk 6 */ 7 8 package org.columba.core.util; 9 10 public interface IViewableText { 11 public void setCaretPosition(int position); 12 public void moveCaretPosition(int position); 13 public String getText(); 14 public void grabFocus(); 15 } 16