com.rapidminer.gui.dialog
Class SearchableJEditTextArea

java.lang.Object
  extended by com.rapidminer.gui.dialog.SearchableJEditTextArea
All Implemented Interfaces:
SearchableTextComponent

public class SearchableJEditTextArea
extends java.lang.Object
implements SearchableTextComponent

This class wraps a JEditTextArea for searching purposes.

Author:
Ingo Mierswa

Constructor Summary
SearchableJEditTextArea(JEditTextArea component)
           
 
Method Summary
 boolean canHandleCarriageReturn()
           
 int getCaretPosition()
           
 java.lang.String getText()
           
 void replaceSelection(java.lang.String newString)
           
 void requestFocus()
           
 void select(int start, int end)
           
 void setCaretPosition(int pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchableJEditTextArea

public SearchableJEditTextArea(JEditTextArea component)
Method Detail

select

public void select(int start,
                   int end)
Specified by:
select in interface SearchableTextComponent

getCaretPosition

public int getCaretPosition()
Specified by:
getCaretPosition in interface SearchableTextComponent

getText

public java.lang.String getText()
Specified by:
getText in interface SearchableTextComponent

replaceSelection

public void replaceSelection(java.lang.String newString)
Specified by:
replaceSelection in interface SearchableTextComponent

requestFocus

public void requestFocus()
Specified by:
requestFocus in interface SearchableTextComponent

setCaretPosition

public void setCaretPosition(int pos)
Specified by:
setCaretPosition in interface SearchableTextComponent

canHandleCarriageReturn

public boolean canHandleCarriageReturn()
Specified by:
canHandleCarriageReturn in interface SearchableTextComponent


Copyright © 2001-2009 by Rapid-I