public class SelectRegionLinkGeneratorResult extends java.lang.Object implements LinkGeneratorResult
LinkGenerator| Constructor and Description |
|---|
SelectRegionLinkGeneratorResult(RSyntaxTextArea textArea,
int sourceOffset,
int selStart,
int selEnd) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.event.HyperlinkEvent |
execute()
Selects the text in the text area.
|
int |
getSourceOffset()
Returns the starting offset of the link specified by the parent
LinkGenerator. |
public SelectRegionLinkGeneratorResult(RSyntaxTextArea textArea, int sourceOffset, int selStart, int selEnd)
public javax.swing.event.HyperlinkEvent execute()
execute in interface LinkGeneratorResultnull if the action's behavior occurs in this method
directly. If a hyperlink event is returned, it should have type
HyperlinkEvent.EventType#ACTIVATED to denote the fact
that the link was clicked.public int getSourceOffset()
LinkGeneratorResultLinkGenerator.getSourceOffset in interface LinkGeneratorResult