oracle.javatools.ui.search
Class TextComponentSearchSupport
java.lang.Object
oracle.javatools.ui.search.TextComponentSearchSupport
public final class TextComponentSearchSupport
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextComponentSearchSupport
public TextComponentSearchSupport(javax.swing.text.JTextComponent component)
setSearchForwardsTitle
public void setSearchForwardsTitle(java.lang.String title)
setSearchBackwardsTitle
public void setSearchBackwardsTitle(java.lang.String title)
setNotFoundMessage
public void setNotFoundMessage(java.lang.String notFoundMessage)
setWrappedMessage
public void setWrappedMessage(java.lang.String wrappedMessage)
setStartOfBufferMessage
public void setStartOfBufferMessage(java.lang.String startOfBufferMessage)
setEndOfBufferMessage
public void setEndOfBufferMessage(java.lang.String endOfBufferMessage)
getMiniSearchDialog
public MiniSearchDialog getMiniSearchDialog()
- This is provided as a way to set a help topic id on the
MiniSearchDialog
The way this can be coded is as follows:
HelpSystem.getHelpSystem().registerTopic(searchSupport.getMiniSearchDialog().getBasePanel(),
"f1_idedsearchmessages_html"); //NOTRANS
Ideally we'd have a call like MiniSearchDialog.setHelpID(String helpId)
but that would mean uic module would have a dependency on ide module which would be a
circular dependency.
- Returns:
- the mini search dialog the text component search support will display
showSearchPrompt
public void showSearchPrompt()
Copyright © 1997, 2009, Oracle. All rights reserved.