Java Doc for ExtCaret.java in  » Swing-Library » abeille-forms-designer » org » netbeans » editor » ext » 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 » Swing Library » abeille forms designer » org.netbeans.editor.ext 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.Rectangle
   org.netbeans.editor.BaseCaret
      org.netbeans.editor.ext.ExtCaret

ExtCaret
public class ExtCaret extends BaseCaret (Code)
Extended caret implementation
author:
   Miloslav Metelka
version:
   1.00

Inner Class :class HighlightRowLayer extends DrawLayerFactory.ColorLineLayer
Inner Class :class HighlightBraceLayer extends DrawLayer.AbstractLayer

Field Summary
final public static  StringHIGHLIGHT_BRACE_LAYER_NAME
    
final public static  intHIGHLIGHT_BRACE_LAYER_VISIBILITY
    
final public static  StringHIGHLIGHT_ROW_LAYER_NAME
    
final public static  intHIGHLIGHT_ROW_LAYER_VISIBILITY
    
 booleanbraceMarksValid
     Whether the brace starting and ending marks are currently valid or not.
 booleanhighlightBrace
    
 ColoringhighlightBraceColoring
    
 MarkFactory.DrawMarkhighlightBraceEndMark
     Mark holding the ending position of the matching brace.
 MarkFactory.DrawMarkhighlightBraceStartMark
     Mark holding the starting position of the matching brace.
 booleanhighlightRow
     Whether to highlight the background of the row where the caret is.
 ColoringhighlightRowColoring
     Coloring used for highlighting the row where the caret is.
 MarkFactory.DrawMarkhighlightRowMark
     Mark holding the start of the line where the caret currently is.
final static  longserialVersionUID
    
 booleansimpleMatchBrace
    


Method Summary
public  voiddeinstall(JTextComponent c)
    
public  voidinstall(JTextComponent c)
    
protected  voidmodelChanged(BaseDocument oldDoc, BaseDocument newDoc)
    
public  voidmousePressed(MouseEvent evt)
    
public  voidmouseReleased(MouseEvent evt)
    
public  voidrequestMatchBraceUpdateSync()
     Signal that the next matching brace update will be immediate without waiting for the brace timer to fire the action.
public  voidsettingsChange(SettingsChangeEvent evt)
     Called when settings were changed.
protected  voidupdate(Rectangle scrollRect, int scrollPolicy)
    
protected  voidupdateMatchBrace()
     Update the matching brace of the caret.

Field Detail
HIGHLIGHT_BRACE_LAYER_NAME
final public static String HIGHLIGHT_BRACE_LAYER_NAME(Code)
Highlight matching brace draw layer name



HIGHLIGHT_BRACE_LAYER_VISIBILITY
final public static int HIGHLIGHT_BRACE_LAYER_VISIBILITY(Code)
Highlight matching brace draw layer visibility



HIGHLIGHT_ROW_LAYER_NAME
final public static String HIGHLIGHT_ROW_LAYER_NAME(Code)
Highlight row draw layer name



HIGHLIGHT_ROW_LAYER_VISIBILITY
final public static int HIGHLIGHT_ROW_LAYER_VISIBILITY(Code)
Highlight row draw layer visibility



braceMarksValid
boolean braceMarksValid(Code)
Whether the brace starting and ending marks are currently valid or not. If they are not valid the block they delimit is not highlighted.



highlightBrace
boolean highlightBrace(Code)
Whether to hightlight the matching brace



highlightBraceColoring
Coloring highlightBraceColoring(Code)
Coloring used for highlighting the matching brace



highlightBraceEndMark
MarkFactory.DrawMark highlightBraceEndMark(Code)
Mark holding the ending position of the matching brace.



highlightBraceStartMark
MarkFactory.DrawMark highlightBraceStartMark(Code)
Mark holding the starting position of the matching brace.



highlightRow
boolean highlightRow(Code)
Whether to highlight the background of the row where the caret is.



highlightRowColoring
Coloring highlightRowColoring(Code)
Coloring used for highlighting the row where the caret is.



highlightRowMark
MarkFactory.DrawMark highlightRowMark(Code)
Mark holding the start of the line where the caret currently is.



serialVersionUID
final static long serialVersionUID(Code)



simpleMatchBrace
boolean simpleMatchBrace(Code)





Method Detail
deinstall
public void deinstall(JTextComponent c)(Code)



install
public void install(JTextComponent c)(Code)



modelChanged
protected void modelChanged(BaseDocument oldDoc, BaseDocument newDoc)(Code)



mousePressed
public void mousePressed(MouseEvent evt)(Code)



mouseReleased
public void mouseReleased(MouseEvent evt)(Code)



requestMatchBraceUpdateSync
public void requestMatchBraceUpdateSync()(Code)
Signal that the next matching brace update will be immediate without waiting for the brace timer to fire the action. This is usually done for the key-typed action.



settingsChange
public void settingsChange(SettingsChangeEvent evt)(Code)
Called when settings were changed. The method is called also in constructor, so the code must count with the evt being null.



update
protected void update(Rectangle scrollRect, int scrollPolicy)(Code)



updateMatchBrace
protected void updateMatchBrace()(Code)
Update the matching brace of the caret. The document is read-locked while this method is called.



Fields inherited from org.netbeans.editor.BaseCaret
final public static String BLOCK_CARET(Code)(Java Doc)
final public static String LINE_CARET(Code)(Java Doc)
final public static String THIN_LINE_CARET(Code)(Java Doc)
protected Font afterCaretFont(Code)(Java Doc)
protected Font beforeCaretFont(Code)(Java Doc)
protected ChangeEvent changeEvent(Code)(Java Doc)
protected JTextComponent component(Code)(Java Doc)
protected char dotChar(Code)(Java Doc)
protected Timer flasher(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected Color textBackColor(Code)(Java Doc)
protected Color textForeColor(Code)(Java Doc)

Methods inherited from org.netbeans.editor.BaseCaret
public void actionPerformed(ActionEvent evt)(Code)(Java Doc)
public void addChangeListener(ChangeListener l)(Code)(Java Doc)
public void changedUpdate(DocumentEvent evt)(Code)(Java Doc)
public void deinstall(JTextComponent c)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void fireStateChanged()(Code)(Java Doc)
public void focusGained(FocusEvent evt)(Code)(Java Doc)
public void focusLost(FocusEvent evt)(Code)(Java Doc)
public synchronized int getBlinkRate()(Code)(Java Doc)
public int getDot()(Code)(Java Doc)
final public Point getMagicCaretPosition()(Code)(Java Doc)
public int getMark()(Code)(Java Doc)
public void insertUpdate(DocumentEvent evt)(Code)(Java Doc)
public void install(JTextComponent c)(Code)(Java Doc)
final public boolean isSelectionVisible()(Code)(Java Doc)
final public boolean isVisible()(Code)(Java Doc)
protected void modelChanged(BaseDocument oldDoc, BaseDocument newDoc)(Code)(Java Doc)
public void mouseClicked(MouseEvent evt)(Code)(Java Doc)
public void mouseDragged(MouseEvent evt)(Code)(Java Doc)
public void mouseEntered(MouseEvent evt)(Code)(Java Doc)
public void mouseExited(MouseEvent evt)(Code)(Java Doc)
public void mouseMoved(MouseEvent evt)(Code)(Java Doc)
public void mousePressed(MouseEvent evt)(Code)(Java Doc)
public void mouseReleased(MouseEvent evt)(Code)(Java Doc)
public void moveDot(int offset)(Code)(Java Doc)
public void moveDot(int offset, Rectangle scrollRect, int scrollPolicy)(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
protected void paintCustomCaret(Graphics g)(Code)(Java Doc)
public void propertyChange(PropertyChangeEvent evt)(Code)(Java Doc)
public void removeChangeListener(ChangeListener l)(Code)(Java Doc)
public void removeUpdate(DocumentEvent evt)(Code)(Java Doc)
public synchronized void setBlinkRate(int rate)(Code)(Java Doc)
public void setDot(int offset)(Code)(Java Doc)
public void setDot(int offset, Rectangle scrollRect, int scrollPolicy)(Code)(Java Doc)
public void setMagicCaretPosition(Point p)(Code)(Java Doc)
public void setSelectionVisible(boolean v)(Code)(Java Doc)
public void setVisible(boolean v)(Code)(Java Doc)
protected void setVisibleImpl(boolean v)(Code)(Java Doc)
public void settingsChange(SettingsChangeEvent evt)(Code)(Java Doc)
protected void update(Rectangle scrollRect, int scrollPolicy)(Code)(Java Doc)

Fields inherited from java.awt.Rectangle
public int height(Code)(Java Doc)
public int width(Code)(Java Doc)
public int x(Code)(Java Doc)
public int y(Code)(Java Doc)

Methods inherited from java.awt.Rectangle
public void add(int newx, int newy)(Code)(Java Doc)
public void add(Point pt)(Code)(Java Doc)
public void add(Rectangle r)(Code)(Java Doc)
public boolean contains(Point p)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Rectangle r)(Code)(Java Doc)
public boolean contains(int X, int Y, int W, int H)(Code)(Java Doc)
public Rectangle2D createIntersection(Rectangle2D r)(Code)(Java Doc)
public Rectangle2D createUnion(Rectangle2D r)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle2D getBounds2D()(Code)(Java Doc)
public double getHeight()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public double getWidth()(Code)(Java Doc)
public double getX()(Code)(Java Doc)
public double getY()(Code)(Java Doc)
public void grow(int h, int v)(Code)(Java Doc)
public boolean inside(int X, int Y)(Code)(Java Doc)
public Rectangle intersection(Rectangle r)(Code)(Java Doc)
public boolean intersects(Rectangle r)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public int outcode(double x, double y)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setRect(double x, double y, double width, double height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void translate(int dx, int dy)(Code)(Java Doc)
public Rectangle union(Rectangle r)(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.