Class DOMTextOffset
java.lang.Object
|
+--DOMTextOffset
- public class DOMTextOffset
- extends java.lang.Object
A DOMTextOffset models the correlation between an offset in the
ContentRenderPane and a text node in the DOM. A table of these is
used to allow for user editing of text.
- Version:
- $2004-05-23 02:09:27 mdh$
- Author:
- Malcolm D. Hyman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DOMTextOffset
public DOMTextOffset(int offset,
org.w3c.dom.Node node,
int length,
Language language)
getOffset
public int getOffset()
getNode
public org.w3c.dom.Node getNode()
getLength
public int getLength()
getLanguage
public Language getLanguage()
isDirty
public boolean isDirty()
setDirty
public void setDirty(boolean value)
adjustOffset
public void adjustOffset(int amount)
adjustLength
public void adjustLength(int amount)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object