Java Doc for AbstractDocument.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » text » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » javax package » javax.swing.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.swing.text.AbstractDocument

All known Subclasses:   javax.swing.text.DefaultStyledDocument,  javax.swing.text.StyleContext,  javax.swing.text.PlainDocument,  javax.swing.text.GapContent,
AbstractDocument
abstract public class AbstractDocument implements Document,Serializable(Code)

Inner Class :abstract public class AbstractElement implements Element,MutableAttributeSet,Serializable,TreeNode
Inner Class :public static interface AttributeContext
Inner Class :public class BranchElement extends AbstractElement
Inner Class :public static interface Content
Inner Class :public class DefaultDocumentEvent extends CompoundEdit implements DocumentEvent
Inner Class :public static class ElementEdit extends AbstractUndoableEdit implements ElementChange
Inner Class :public class LeafElement extends AbstractElement

Field Summary
final protected static  StringBAD_LOCATION
    
final public static  StringBidiElementName
    
final public static  StringContentElementName
    
final public static  StringElementNameAttribute
    
final public static  StringParagraphElementName
    
final public static  StringSectionElementName
    
protected transient  EventListenerListlistenerList
    

Constructor Summary
protected  AbstractDocument(Content content)
    
protected  AbstractDocument(Content content, AttributeContext context)
    

Method Summary
public  voidaddDocumentListener(DocumentListener listener)
    
public  voidaddUndoableEditListener(UndoableEditListener listerner)
    
protected  ElementcreateBranchElement(Element parent, AttributeSet as)
    
protected  ElementcreateLeafElement(Element parent, AttributeSet as, int start, int end)
    
public synchronized  PositioncreatePosition(int offset)
    
 voiddoInsert(int offset, String text, AttributeSet attrs)
    
final  voiddoRemove(int offset, int length)
    
final  voiddoReplace(int offset, int length, String newText, AttributeSet attrs)
    
public  voiddump(PrintStream ps)
     Dumps the array returned by getRootElements.
protected  voidfireChangedUpdate(DocumentEvent event)
    
protected  voidfireInsertUpdate(DocumentEvent event)
    
protected  voidfireRemoveUpdate(DocumentEvent event)
    
protected  voidfireUndoableEditUpdate(UndoableEditEvent event)
    
public  intgetAsynchronousLoadPriority()
    
final protected  AttributeContextgetAttributeContext()
    
public  ElementgetBidiRootElement()
    
final protected  ContentgetContent()
    
final protected  ThreadgetCurrentWriter()
    
abstract public  ElementgetDefaultRootElement()
    
public  DocumentFiltergetDocumentFilter()
    
public  DocumentListener[]getDocumentListeners()
    
public  Dictionary<Object, Object>getDocumentProperties()
    
final public  PositiongetEndPosition()
    
public  intgetLength()
    
public  T[]getListeners(Class<T> listenerType)
    
abstract public  ElementgetParagraphElement(int offset)
    
final public  ObjectgetProperty(Object key)
    
public  Element[]getRootElements()
    
final public  PositiongetStartPosition()
    
public  StringgetText(int offset, int length)
    
public  voidgetText(int offset, int length, Segment text)
    
public  UndoableEditListener[]getUndoableEditListeners()
    
public  voidinsertString(int offset, String text, AttributeSet attrs)
    
protected  voidinsertUpdate(DefaultDocumentEvent event, AttributeSet attrs)
    
final  booleanisLeftToRight(int offset)
    
protected  voidpostRemoveUpdate(DefaultDocumentEvent event)
    
final public  voidputProperty(Object key, Object value)
    
final public  voidreadLock()
    
final public  voidreadUnlock()
    
public  voidremove(int offset, int length)
    
public  voidremoveDocumentListener(DocumentListener listener)
    
public  voidremoveUndoableEditListener(UndoableEditListener listener)
    
protected  voidremoveUpdate(DefaultDocumentEvent event)
    
public  voidrender(Runnable r)
    
public  voidreplace(int offset, int length, String newText, AttributeSet attrs)
    
public  voidsetAsynchronousLoadPriority(int priority)
    
public  voidsetDocumentFilter(DocumentFilter filter)
    
public  voidsetDocumentProperties(Dictionary<Object, Object> properties)
    
final protected  voidwriteLock()
    
final protected  voidwriteUnlock()
    

Field Detail
BAD_LOCATION
final protected static String BAD_LOCATION(Code)



BidiElementName
final public static String BidiElementName(Code)



ContentElementName
final public static String ContentElementName(Code)



ElementNameAttribute
final public static String ElementNameAttribute(Code)



ParagraphElementName
final public static String ParagraphElementName(Code)



SectionElementName
final public static String SectionElementName(Code)



listenerList
protected transient EventListenerList listenerList(Code)




Constructor Detail
AbstractDocument
protected AbstractDocument(Content content)(Code)



AbstractDocument
protected AbstractDocument(Content content, AttributeContext context)(Code)




Method Detail
addDocumentListener
public void addDocumentListener(DocumentListener listener)(Code)



addUndoableEditListener
public void addUndoableEditListener(UndoableEditListener listerner)(Code)



createBranchElement
protected Element createBranchElement(Element parent, AttributeSet as)(Code)



createLeafElement
protected Element createLeafElement(Element parent, AttributeSet as, int start, int end)(Code)



createPosition
public synchronized Position createPosition(int offset) throws BadLocationException(Code)



doInsert
void doInsert(int offset, String text, AttributeSet attrs) throws BadLocationException(Code)



doRemove
final void doRemove(int offset, int length) throws BadLocationException(Code)



doReplace
final void doReplace(int offset, int length, String newText, AttributeSet attrs) throws BadLocationException(Code)



dump
public void dump(PrintStream ps)(Code)
Dumps the array returned by getRootElements.



fireChangedUpdate
protected void fireChangedUpdate(DocumentEvent event)(Code)



fireInsertUpdate
protected void fireInsertUpdate(DocumentEvent event)(Code)



fireRemoveUpdate
protected void fireRemoveUpdate(DocumentEvent event)(Code)



fireUndoableEditUpdate
protected void fireUndoableEditUpdate(UndoableEditEvent event)(Code)



getAsynchronousLoadPriority
public int getAsynchronousLoadPriority()(Code)



getAttributeContext
final protected AttributeContext getAttributeContext()(Code)



getBidiRootElement
public Element getBidiRootElement()(Code)



getContent
final protected Content getContent()(Code)



getCurrentWriter
final protected Thread getCurrentWriter()(Code)



getDefaultRootElement
abstract public Element getDefaultRootElement()(Code)



getDocumentFilter
public DocumentFilter getDocumentFilter()(Code)



getDocumentListeners
public DocumentListener[] getDocumentListeners()(Code)



getDocumentProperties
public Dictionary<Object, Object> getDocumentProperties()(Code)



getEndPosition
final public Position getEndPosition()(Code)



getLength
public int getLength()(Code)



getListeners
public T[] getListeners(Class<T> listenerType)(Code)



getParagraphElement
abstract public Element getParagraphElement(int offset)(Code)



getProperty
final public Object getProperty(Object key)(Code)



getRootElements
public Element[] getRootElements()(Code)



getStartPosition
final public Position getStartPosition()(Code)



getText
public String getText(int offset, int length) throws BadLocationException(Code)



getText
public void getText(int offset, int length, Segment text) throws BadLocationException(Code)



getUndoableEditListeners
public UndoableEditListener[] getUndoableEditListeners()(Code)



insertString
public void insertString(int offset, String text, AttributeSet attrs) throws BadLocationException(Code)



insertUpdate
protected void insertUpdate(DefaultDocumentEvent event, AttributeSet attrs)(Code)



isLeftToRight
final boolean isLeftToRight(int offset)(Code)



postRemoveUpdate
protected void postRemoveUpdate(DefaultDocumentEvent event)(Code)



putProperty
final public void putProperty(Object key, Object value)(Code)



readLock
final public void readLock()(Code)



readUnlock
final public void readUnlock()(Code)



remove
public void remove(int offset, int length) throws BadLocationException(Code)



removeDocumentListener
public void removeDocumentListener(DocumentListener listener)(Code)



removeUndoableEditListener
public void removeUndoableEditListener(UndoableEditListener listener)(Code)



removeUpdate
protected void removeUpdate(DefaultDocumentEvent event)(Code)



render
public void render(Runnable r)(Code)



replace
public void replace(int offset, int length, String newText, AttributeSet attrs) throws BadLocationException(Code)



setAsynchronousLoadPriority
public void setAsynchronousLoadPriority(int priority)(Code)



setDocumentFilter
public void setDocumentFilter(DocumentFilter filter)(Code)



setDocumentProperties
public void setDocumentProperties(Dictionary<Object, Object> properties)(Code)



writeLock
final protected void writeLock()(Code)



writeUnlock
final protected void writeUnlock()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.