Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

oracle.javatools.ui.search
Class TextComponentSearchSupport

java.lang.Object
  extended by oracle.javatools.ui.search.TextComponentSearchSupport

public final class TextComponentSearchSupport
extends java.lang.Object


Constructor Summary
TextComponentSearchSupport(javax.swing.text.JTextComponent component)
           
 
Method Summary
 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.
 void setEndOfBufferMessage(java.lang.String endOfBufferMessage)
           
 void setNotFoundMessage(java.lang.String notFoundMessage)
           
 void setSearchBackwardsTitle(java.lang.String title)
           
 void setSearchForwardsTitle(java.lang.String title)
           
 void setStartOfBufferMessage(java.lang.String startOfBufferMessage)
           
 void setWrappedMessage(java.lang.String wrappedMessage)
           
 void showSearchPrompt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextComponentSearchSupport

public TextComponentSearchSupport(javax.swing.text.JTextComponent component)
Method Detail

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()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

Copyright © 1997, 2009, Oracle. All rights reserved.