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 Mark
    Modifier and Type
    Class
    Description
    protected static class 
    This TextPainter's implementation of the Mark interface.
    Fields in org.apache.batik.bridge declared as Mark
    Modifier and Type
    Field
    Description
    protected Mark
    TextNode.beginMark
    The begin mark.
    protected Mark
    TextNode.endMark
    The end mark.
    Methods in org.apache.batik.bridge that return Mark
    Modifier and Type
    Method
    Description
    StrokingTextPainter.getMark(TextNode node, int index, boolean leadingEdge)
     
    TextPainter.getMark(TextNode node, int index, boolean beforeGlyph)
    Returns 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
    BasicTextPainter.hitTest(double x, double y, TextNode node)
    Returns the mark for the specified parameters.
    protected Mark
    StrokingTextPainter.hitTest(double x, double y, TextNode node)
     
    BasicTextPainter.selectAt(double x, double y, TextNode node)
    Given an X, y coordinate, AttributedCharacterIterator, return a Mark which encapsulates a "selection start" action.
    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.
    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.
    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.
    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.
    Methods in org.apache.batik.bridge with parameters of type Mark
    Modifier and Type
    Method
    Description
    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.
    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.
    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.
    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
    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
    Modifier and Type
    Method
    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
  • 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
    void
    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.