org.apache.batik.gvt.renderer
Class BasicTextPainter.BasicMark
java.lang.Object
org.apache.batik.gvt.renderer.BasicTextPainter.BasicMark
- All Implemented Interfaces:
- Mark
- Enclosing class:
- BasicTextPainter
protected static class BasicTextPainter.BasicMark
- extends Object
- implements Mark
This TextPainter's implementation of the Mark interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicTextPainter.BasicMark
protected BasicTextPainter.BasicMark(TextNode node,
TextHit hit)
- Constructs a new Mark with the specified parameters.
getHit
public TextHit getHit()
getTextNode
public TextNode getTextNode()
- Specified by:
getTextNode
in interface Mark
getCharIndex
public int getCharIndex()
- Returns the index of the character that has been hit.
- Specified by:
getCharIndex
in interface Mark
- Returns:
- The character index.
Copyright © 2008 Apache Software Foundation. All Rights Reserved.