|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.inspector.find.FindTextSupport
public abstract class FindTextSupport
Implementation of SearchableText suitable for reuse by components that have displayed text that can be set to HTML fragments for special effects purposes (in this case, highlighting the matched substring).
PropertyLabel
, PropertyRadioButton
, PropertyCheckBox
Constructor Summary | |
---|---|
FindTextSupport() |
Method Summary | |
---|---|
boolean |
findText(java.lang.String textToFind, boolean matchCase) Attempt to find the specified text, and if successful, reset the displayed text to an HTML representation with highlighting. |
java.awt.Dimension |
getPreferredSize() |
abstract java.awt.Dimension |
getSuperPreferredSize() |
void |
removeFoundTextEffect() Resets the displayed text to the plain text, which has the effect of removing the highlight. |
abstract void |
setDisplayedText(java.lang.String text) To be implemented by something that knows how to set the text displayed by the actual Component subclass. |
void |
setText(java.lang.String text) Set the plain text of the control and update its displayed text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FindTextSupport()
Method Detail |
---|
public void setText(java.lang.String text)
setText
in interface SearchableText
SearchableText.setText(String)
public boolean findText(java.lang.String textToFind, boolean matchCase)
findText
in interface SearchableText
SearchableText.findText(String, boolean)
public void removeFoundTextEffect()
removeFoundTextEffect
in interface SearchableText
SearchableText.removeFoundTextEffect()
public abstract void setDisplayedText(java.lang.String text)
public java.awt.Dimension getPreferredSize()
public abstract java.awt.Dimension getSuperPreferredSize()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |