Package | Description |
---|---|
org.apache.batik.bridge |
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
|
org.apache.batik.swing.gvt | |
org.apache.batik.swing.svg |
Modifier and Type | Class and Description |
---|---|
protected static class |
BasicTextPainter.BasicMark
This TextPainter's implementation of the Mark interface.
|
Modifier and Type | Field and Description |
---|---|
protected Mark |
TextNode.beginMark
The begin mark.
|
protected Mark |
TextNode.endMark
The end mark.
|
Modifier and Type | Method and Description |
---|---|
Mark |
StrokingTextPainter.getMark(TextNode node,
int index,
boolean leadingEdge) |
Mark |
TextPainter.getMark(TextNode node,
int index,
boolean beforeGlyph)
Returns a mark for the char at index in node's
AttributedCharacterIterator.
|
Mark |
TextNode.getMarkerForChar(int index,
boolean beforeChar)
Return the marker for the character at index in this nodes
AttributedCharacterIterator.
|
protected Mark |
StrokingTextPainter.hitTest(double x,
double y,
TextNode node) |
protected abstract Mark |
BasicTextPainter.hitTest(double x,
double y,
TextNode node)
Returns the mark for the specified parameters.
|
Mark |
BasicTextPainter.selectAt(double x,
double y,
TextNode node)
Given an X, y coordinate, AttributedCharacterIterator,
return a Mark which encapsulates a "selection start" action.
|
Mark |
TextPainter.selectAt(double x,
double y,
TextNode node)
Initiates a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.
|
Mark |
StrokingTextPainter.selectFirst(TextNode node)
Selects the first glyph in the text node.
|
Mark |
TextPainter.selectFirst(TextNode node)
Selects the first glyph in the text node.
|
Mark |
StrokingTextPainter.selectLast(TextNode node)
Selects the last glyph in the text node.
|
Mark |
TextPainter.selectLast(TextNode node)
Selects the last glyph in the text node.
|
Mark |
BasicTextPainter.selectTo(double x,
double y,
Mark beginMark)
Given an X, y coordinate, starting Mark, AttributedCharacterIterator,
return a Mark which encapsulates a "selection continued" action.
|
Mark |
TextPainter.selectTo(double x,
double y,
Mark beginMark)
Continues a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Shape |
StrokingTextPainter.getHighlightShape(Mark beginMark,
Mark endMark)
Return a Shape, in the coordinate system of the text layout,
which encloses the text selection delineated by two Mark instances.
|
java.awt.Shape |
TextPainter.getHighlightShape(Mark beginMark,
Mark endMark)
Get a Shape in userspace coords which encloses the textnode
glyphs bounded by two Marks.
|
int[] |
StrokingTextPainter.getSelected(Mark startMark,
Mark finishMark)
Returns an array of ints representing begin/end index pairs into
an AttributedCharacterIterator which represents the text
selection delineated by two Mark instances.
|
int[] |
TextPainter.getSelected(Mark start,
Mark finish)
Get an array of index pairs corresponding to the indices within an
AttributedCharacterIterator regions bounded by two Marks.
|
Mark |
BasicTextPainter.selectTo(double x,
double y,
Mark beginMark)
Given an X, y coordinate, starting Mark, AttributedCharacterIterator,
return a Mark which encapsulates a "selection continued" action.
|
Mark |
TextPainter.selectTo(double x,
double y,
Mark beginMark)
Continues a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.
|
void |
TextNode.setSelection(Mark begin,
Mark end) |
void |
ConcreteTextSelector.setSelection(Mark begin,
Mark end) |
void |
UserAgentAdapter.setTextSelection(Mark start,
Mark end)
This user agent doesn't display text selections.
|
void |
UserAgent.setTextSelection(Mark start,
Mark end)
Informs the user agent that the text selection has changed.
|
Modifier and Type | Method and Description |
---|---|
void |
JGVTComponent.select(Mark start,
Mark end)
Sets the selection to the specified start and end mark.
|
void |
TextSelectionManager.setSelection(Mark start,
Mark end)
Sets the selected text
|
Modifier and Type | Method and Description |
---|---|
void |
JSVGComponent.BridgeUserAgentWrapper.setTextSelection(Mark start,
Mark end)
Informs the user agent that the text selection should be changed.
|
void |
JSVGComponent.BridgeUserAgent.setTextSelection(Mark start,
Mark end)
Informs the user agent that the text selection has changed.
|
Copyright © 2022 Apache Software Foundation. All Rights Reserved.