public interface LinkGeneratorResult
LinkGenerator
. Implementations of this class
specify what action to execute when the user clicks on the "link" specified
by the LinkGenerator
. Typically, this will do something like
select another region of text in the document (the declaration of the
variable at the mouse position), or open another file in the parent
application, etc.SelectRegionLinkGeneratorResult
限定符和类型 | 方法和说明 |
---|---|
javax.swing.event.HyperlinkEvent |
execute()
Executes the action associated with this object.
|
int |
getSourceOffset()
Returns the starting offset of the link specified by the parent
LinkGenerator . |
javax.swing.event.HyperlinkEvent execute()
null
can be returned and the action performed in this
method itself.null
if the action's behavior occurs in this method
directly.int getSourceOffset()
LinkGenerator
.