Important: The information in this document is obsolete and should not be used for new development.
IsURLSelected
Tests whether the selected text in this part is a URL.
ODBoolean IsURLSelected (in ODFrame frame);
frame
- The frame to check for selected text.
- return value
kODTrue
if a URL is selected; otherwise,kODFalse
.DISCUSSION
This method should returnkODTrue
if a URL is selected in the specified frame. The superclass implementation of this method returnskODFalse
. If a Cyberdog display part allows the user to select and open a URL, itsCyberPartExtension
subclass must override this method.If you subclass
CyberPartExtension
and override this method, your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheGetSelectedURL
method (page 287).