org.thdl.quilldriver
Class TranscriptRenderer
java.lang.Object
|
+--org.thdl.quilldriver.TranscriptRenderer
- public class TranscriptRenderer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xml
private Document xml
pane
private JTextPane pane
doc
private StyledDocument doc
startOffsets
private Map startOffsets
endOffsets
private Map endOffsets
indentIncrement
private final float indentIncrement
- See Also:
- Constant Field Values
tagColor
private final Color tagColor
attColor
private final Color attColor
textColor
private final Color textColor
TranscriptRenderer
public TranscriptRenderer(Document xmlDoc,
JTextPane textPane)
render
public void render()
renderElement
private void renderElement(Element e,
float indent)
renderAttribute
private void renderAttribute(Attribute att)
renderText
private void renderText(Text t,
float indent)
getNodeForOffset
public Object getNodeForOffset(int offset)
getStartOffsetForNode
public int getStartOffsetForNode(Object node)
getEndOffsetForNode
public int getEndOffsetForNode(Object node)
isEditable
public boolean isEditable(Object node)
These API docs were created 02/02/2003 08:20 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by