public class TargetMarker extends Object
Modifier and Type | Field and Description |
---|---|
int |
begOffset |
Position |
begPos |
TextActivityDocument |
doc |
int |
endOffset |
Position |
endPos |
boolean |
hasFocus |
TextTarget |
target |
Constructor and Description |
---|
TargetMarker(TextActivityDocument document)
Creates new TargetMarker
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkText(Evaluator ev) |
boolean |
contains(int offset,
boolean includeEndPos) |
Rectangle |
getBegRect(JTextComponent pane) |
String |
getCurrentText() |
String |
getCurrentText(String boolAttrToExclude) |
int |
getLength() |
int |
getParagraphBegOffset() |
void |
lostFocus(TextActivityBase.Panel tabp) |
void |
requestFocus(TextActivityBase.Panel tabp) |
void |
reset() |
void |
setPositions() |
String |
toString() |
void |
updateOffsets() |
public int begOffset
public int endOffset
public Position begPos
public Position endPos
public TextTarget target
public TextActivityDocument doc
public boolean hasFocus
public TargetMarker(TextActivityDocument document)
public void reset()
public void setPositions()
public void requestFocus(TextActivityBase.Panel tabp)
public void lostFocus(TextActivityBase.Panel tabp)
public void updateOffsets()
public Rectangle getBegRect(JTextComponent pane)
public String getCurrentText()
public boolean checkText(Evaluator ev)
public boolean contains(int offset, boolean includeEndPos)
public int getLength()
public int getParagraphBegOffset()
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.