com.rapidminer.gui.dialog
Class SearchableJTextComponent
java.lang.Object
com.rapidminer.gui.dialog.SearchableJTextComponent
- All Implemented Interfaces:
- SearchableTextComponent
public class SearchableJTextComponent
- extends java.lang.Object
- implements SearchableTextComponent
This is the implementation of a searchable text componend which is based on Swing's
JTextComponents.
- Author:
- Ingo Mierswa
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchableJTextComponent
public SearchableJTextComponent(javax.swing.text.JTextComponent component)
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