Uses of Interface
org.apache.batik.bridge.Mark
Packages that use Mark
Package
Description
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
-
Uses of Mark in org.apache.batik.bridge
Classes in org.apache.batik.bridge that implement MarkModifier and TypeClassDescriptionprotected static class
This TextPainter's implementation of the Mark interface.Fields in org.apache.batik.bridge declared as MarkModifier and TypeFieldDescriptionprotected Mark
TextNode.beginMark
The begin mark.protected Mark
TextNode.endMark
The end mark.Methods in org.apache.batik.bridge that return MarkModifier and TypeMethodDescriptionReturns a mark for the char at index in node's AttributedCharacterIterator.TextNode.getMarkerForChar
(int index, boolean beforeChar) Return the marker for the character at index in this nodes AttributedCharacterIterator.protected abstract Mark
Returns the mark for the specified parameters.protected Mark
Given an X, y coordinate, AttributedCharacterIterator, return a Mark which encapsulates a "selection start" action.Initiates a text selection on a particular AttributedCharacterIterator, using the text/font metrics employed by this TextPainter instance.StrokingTextPainter.selectFirst
(TextNode node) Selects the first glyph in the text node.TextPainter.selectFirst
(TextNode node) Selects the first glyph in the text node.StrokingTextPainter.selectLast
(TextNode node) Selects the last glyph in the text node.TextPainter.selectLast
(TextNode node) Selects the last glyph in the text node.Given an X, y coordinate, starting Mark, AttributedCharacterIterator, return a Mark which encapsulates a "selection continued" action.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 MarkModifier and TypeMethodDescriptionStrokingTextPainter.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.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.Given an X, y coordinate, starting Mark, AttributedCharacterIterator, return a Mark which encapsulates a "selection continued" action.Continues a text selection on a particular AttributedCharacterIterator, using the text/font metrics employed by this TextPainter instance.void
ConcreteTextSelector.setSelection
(Mark begin, Mark end) void
TextNode.setSelection
(Mark begin, Mark end) void
UserAgent.setTextSelection
(Mark start, Mark end) Informs the user agent that the text selection has changed.void
UserAgentAdapter.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 -
Uses of Mark in org.apache.batik.swing.svg
Methods in org.apache.batik.swing.svg with parameters of type MarkModifier and TypeMethodDescriptionvoid
JSVGComponent.BridgeUserAgent.setTextSelection
(Mark start, Mark end) Informs the user agent that the text selection has changed.void
JSVGComponent.BridgeUserAgentWrapper.setTextSelection
(Mark start, Mark end) Informs the user agent that the text selection should be changed.