Java Doc for SyntaxDocument.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » ui » output » 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 » IDE Netbeans » etl.project » org.netbeans.modules.sql.framework.ui.output 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.text.DefaultStyledDocument
   org.netbeans.modules.sql.framework.ui.output.SyntaxDocument

SyntaxDocument
public class SyntaxDocument extends DefaultStyledDocument (Code)

author:
   Nithya Radhakrishnan



Constructor Summary
public  SyntaxDocument(String[] syntax)
    
public  SyntaxDocument(JEditorPane field, String[] aDictionary)
    
public  SyntaxDocument(SQLEditorPanel sqlPane)
    
public  SyntaxDocument(String[] syntax, Color normal)
    
public  SyntaxDocument(String[] syntax, Color normal, Color comments)
    
public  SyntaxDocument(String[] syntax, Color normal, Color comments, Color keyword)
    
public  SyntaxDocument(String[] syntax, Color normal, Color comments, Color keyword, Color quote)
    

Method Summary
public  voidaddDictionaryEntry(String item)
    
protected  StringaddMatchingBrace(int offset)
    
protected  StringgetEndDelimiter()
    
protected  StringgetEscapeString(String quoteDelimiter)
    
protected  StringgetSingleLineDelimiter()
    
protected  StringgetStartDelimiter()
    
public  voidinit(String[] syntax, Color normal, Color comment, Color keyword, Color quote)
    
public  voidinsertString(int offset, String str, AttributeSet a)
    
protected  booleanisDelimiter(String character)
    
protected  booleanisKeyword(String token)
    
protected  booleanisQuoteDelimiter(String character)
    
public  voidprocessChangedLines(int offset, int length)
    
public  voidremove(int offset, int length)
    


Constructor Detail
SyntaxDocument
public SyntaxDocument(String[] syntax)(Code)



SyntaxDocument
public SyntaxDocument(JEditorPane field, String[] aDictionary)(Code)



SyntaxDocument
public SyntaxDocument(SQLEditorPanel sqlPane)(Code)



SyntaxDocument
public SyntaxDocument(String[] syntax, Color normal)(Code)



SyntaxDocument
public SyntaxDocument(String[] syntax, Color normal, Color comments)(Code)



SyntaxDocument
public SyntaxDocument(String[] syntax, Color normal, Color comments, Color keyword)(Code)



SyntaxDocument
public SyntaxDocument(String[] syntax, Color normal, Color comments, Color keyword, Color quote)(Code)




Method Detail
addDictionaryEntry
public void addDictionaryEntry(String item)(Code)



addMatchingBrace
protected String addMatchingBrace(int offset) throws BadLocationException(Code)



getEndDelimiter
protected String getEndDelimiter()(Code)



getEscapeString
protected String getEscapeString(String quoteDelimiter)(Code)



getSingleLineDelimiter
protected String getSingleLineDelimiter()(Code)



getStartDelimiter
protected String getStartDelimiter()(Code)



init
public void init(String[] syntax, Color normal, Color comment, Color keyword, Color quote)(Code)



insertString
public void insertString(int offset, String str, AttributeSet a) throws BadLocationException(Code)
Override to apply syntax highlighting after the document has been updated



isDelimiter
protected boolean isDelimiter(String character)(Code)



isKeyword
protected boolean isKeyword(String token)(Code)



isQuoteDelimiter
protected boolean isQuoteDelimiter(String character)(Code)



processChangedLines
public void processChangedLines(int offset, int length) throws BadLocationException(Code)
Determine how many lines have been changed, then apply highlighting to each line



remove
public void remove(int offset, int length) throws BadLocationException(Code)
Override to apply syntax highlighting after the document has been updated



Fields inherited from javax.swing.text.DefaultStyledDocument
final public static int BUFFER_SIZE_DEFAULT(Code)(Java Doc)
protected ElementBuffer buffer(Code)(Java Doc)

Methods inherited from javax.swing.text.DefaultStyledDocument
public void addDocumentListener(DocumentListener listener)(Code)(Java Doc)
public Style addStyle(String nm, Style parent)(Code)(Java Doc)
protected void create(ElementSpec[] data)(Code)(Java Doc)
protected AbstractElement createDefaultRoot()(Code)(Java Doc)
public Color getBackground(AttributeSet attr)(Code)(Java Doc)
public Element getCharacterElement(int pos)(Code)(Java Doc)
public Element getDefaultRootElement()(Code)(Java Doc)
public Font getFont(AttributeSet attr)(Code)(Java Doc)
public Color getForeground(AttributeSet attr)(Code)(Java Doc)
public Style getLogicalStyle(int p)(Code)(Java Doc)
public Element getParagraphElement(int pos)(Code)(Java Doc)
public Style getStyle(String nm)(Code)(Java Doc)
public Enumeration getStyleNames()(Code)(Java Doc)
protected void insert(int offset, ElementSpec[] data) throws BadLocationException(Code)(Java Doc)
protected void insertUpdate(DefaultDocumentEvent chng, AttributeSet attr)(Code)(Java Doc)
public void removeDocumentListener(DocumentListener listener)(Code)(Java Doc)
public void removeElement(Element elem)(Code)(Java Doc)
public void removeStyle(String nm)(Code)(Java Doc)
protected void removeUpdate(DefaultDocumentEvent chng)(Code)(Java Doc)
public void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)(Code)(Java Doc)
public void setLogicalStyle(int pos, Style s)(Code)(Java Doc)
public void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)(Code)(Java Doc)
protected void styleChanged(Style style)(Code)(Java Doc)

w__w__w__.___ja___v_a_2s__.__c_o_m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.