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

E13403-08

oracle.ide.inspector.find
Interface SearchableText

All Known Implementing Classes:
FindTextSupport

public interface SearchableText

Interface to support searching text in various types of UI controls (labels, radio buttons, checkboxes...).

See Also:
SearchableLabel

Method Summary
 boolean findText(java.lang.String textToFind, boolean matchCase)
          Attempt to find the specified search text in the plain text for the host component.
 void removeFoundTextEffect()
          Remove the highlight or other display effect from a previous findText match.
 void setText(java.lang.String text)
          Set the plain text to be displayed by the host component.
 

Method Detail

setText

void setText(java.lang.String text)
Set the plain text to be displayed by the host component. This is also the text that will be searched by calling findText.


findText

boolean findText(java.lang.String textToFind,
                 boolean matchCase)
Attempt to find the specified search text in the plain text for the host component. If found, add a special effect to the component to indicate the match to the user.

Returns:
true if a match was found

removeFoundTextEffect

void removeFoundTextEffect()
Remove the highlight or other display effect from a previous findText match.


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

E13403-08

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