Uses of Interface
org.apache.batik.bridge.Mark
-
Packages that use Mark 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 -
-
Uses of Mark in org.apache.batik.bridge
Classes in org.apache.batik.bridge that implement Mark Modifier and Type Class Description protected static classBasicTextPainter.BasicMarkThis TextPainter's implementation of the Mark interface.Fields in org.apache.batik.bridge declared as Mark Modifier and Type Field Description protected MarkTextNode. beginMarkThe begin mark.protected MarkTextNode. endMarkThe end mark.Methods in org.apache.batik.bridge that return Mark Modifier and Type Method Description MarkStrokingTextPainter. getMark(TextNode node, int index, boolean leadingEdge)MarkTextPainter. getMark(TextNode node, int index, boolean beforeGlyph)Returns a mark for the char at index in node's AttributedCharacterIterator.MarkTextNode. getMarkerForChar(int index, boolean beforeChar)Return the marker for the character at index in this nodes AttributedCharacterIterator.protected abstract MarkBasicTextPainter. hitTest(double x, double y, TextNode node)Returns the mark for the specified parameters.protected MarkStrokingTextPainter. hitTest(double x, double y, TextNode node)MarkBasicTextPainter. selectAt(double x, double y, TextNode node)Given an X, y coordinate, AttributedCharacterIterator, return a Mark which encapsulates a "selection start" action.MarkTextPainter. 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.MarkStrokingTextPainter. selectFirst(TextNode node)Selects the first glyph in the text node.MarkTextPainter. selectFirst(TextNode node)Selects the first glyph in the text node.MarkStrokingTextPainter. selectLast(TextNode node)Selects the last glyph in the text node.MarkTextPainter. selectLast(TextNode node)Selects the last glyph in the text node.MarkBasicTextPainter. selectTo(double x, double y, Mark beginMark)Given an X, y coordinate, starting Mark, AttributedCharacterIterator, return a Mark which encapsulates a "selection continued" action.MarkTextPainter. 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.Methods in org.apache.batik.bridge with parameters of type Mark Modifier and Type Method Description java.awt.ShapeStrokingTextPainter. 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.ShapeTextPainter. 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.MarkBasicTextPainter. selectTo(double x, double y, Mark beginMark)Given an X, y coordinate, starting Mark, AttributedCharacterIterator, return a Mark which encapsulates a "selection continued" action.MarkTextPainter. 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.voidConcreteTextSelector. setSelection(Mark begin, Mark end)voidTextNode. setSelection(Mark begin, Mark end)voidUserAgent. setTextSelection(Mark start, Mark end)Informs the user agent that the text selection has changed.voidUserAgentAdapter. setTextSelection(Mark start, Mark end)This user agent doesn't display text selections. -
Uses of Mark in org.apache.batik.swing.gvt
Methods in org.apache.batik.swing.gvt with parameters of type Mark Modifier and Type Method Description voidJGVTComponent. select(Mark start, Mark end)Sets the selection to the specified start and end mark.voidTextSelectionManager. setSelection(Mark start, Mark end)Sets the selected text -
Uses of Mark in org.apache.batik.swing.svg
Methods in org.apache.batik.swing.svg with parameters of type Mark Modifier and Type Method Description voidJSVGComponent.BridgeUserAgent. setTextSelection(Mark start, Mark end)Informs the user agent that the text selection has changed.voidJSVGComponent.BridgeUserAgentWrapper. setTextSelection(Mark start, Mark end)Informs the user agent that the text selection should be changed.
-