public class SelectionEvent extends Event
Constructor and Description |
---|
SelectionEvent(java.lang.String name,
Component target,
int start,
int end,
java.lang.String txt)
Constructs a selection event.
|
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
Returns the selected text's end position.
|
java.lang.String |
getSelectedText()
Returns the selected text contained in this text.
|
static SelectionEvent |
getSelectionEvent(AuRequest request)
Converts an AU request to a selection event.
|
int |
getStart()
Returns the selected text's start position.
|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
public SelectionEvent(java.lang.String name, Component target, int start, int end, java.lang.String txt)
public static final SelectionEvent getSelectionEvent(AuRequest request)
public int getEnd()
public int getStart()
public java.lang.String getSelectedText()
Copyright © 2005-2022 Potix Corporation. All Rights Reserved.