Source Code Cross Referenced for BufferAdapter.java in  » Swing-Library » jEdit » org » gjt » sp » jedit » buffer » 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 » jEdit » org.gjt.sp.jedit.buffer 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * BufferAdapter.java - Buffer listener adapter
003:         * :tabSize=8:indentSize=8:noTabs=false:
004:         * :folding=explicit:collapseFolds=1:
005:         *
006:         * Copyright (C) 2001, 2005 Slava Pestov
007:         *
008:         * This program is free software; you can redistribute it and/or
009:         * modify it under the terms of the GNU General Public License
010:         * as published by the Free Software Foundation; either version 2
011:         * of the License, or any later version.
012:         *
013:         * This program is distributed in the hope that it will be useful,
014:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
015:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
016:         * GNU General Public License for more details.
017:         *
018:         * You should have received a copy of the GNU General Public License
019:         * along with this program; if not, write to the Free Software
020:         * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
021:         */
022:
023:        package org.gjt.sp.jedit.buffer;
024:
025:        /**
026:         * An adapter you can subclass to avoid having to implement all the methods
027:         * of the {@link BufferListener} interface.
028:         * @author Slava Pestov
029:         * @version $Id: BufferAdapter.java 10708 2007-09-21 19:41:03Z kpouer $
030:         * @since jEdit 4.3pre3
031:         */
032:        public abstract class BufferAdapter implements  BufferListener {
033:            //{{{ foldLevelChanged() method
034:            /**
035:             * Called when line fold levels change.
036:             * @param buffer The buffer in question
037:             * @param start The start line number
038:             * @param end The end line number
039:             * @since jEdit 4.3pre3
040:             */
041:            public void foldLevelChanged(JEditBuffer buffer, int start, int end) {
042:            } //}}}
043:
044:            //{{{ contentInserted() method
045:            /**
046:             * Called when text is inserted into the buffer.
047:             * @param buffer The buffer in question
048:             * @param startLine The first line
049:             * @param offset The start offset, from the beginning of the buffer
050:             * @param numLines The number of lines inserted
051:             * @param length The number of characters inserted
052:             * @since jEdit 4.3pre3
053:             */
054:            public void contentInserted(JEditBuffer buffer, int startLine,
055:                    int offset, int numLines, int length) {
056:            }
057:
058:            //}}}
059:
060:            /**
061:             * Called when text is about to be inserted in the buffer.
062:             *
063:             * @param buffer    The buffer in question
064:             * @param startLine The first line
065:             * @param offset    The start offset, from the beginning of the buffer
066:             * @param numLines  The number of lines inserted
067:             * @param length    The number of characters inserted
068:             * @since jEdit 4.3pre11
069:             */
070:            public void preContentInserted(JEditBuffer buffer, int startLine,
071:                    int offset, int numLines, int length) {
072:            }
073:
074:            //{{{ preContentRemoved() method
075:            /**
076:             * Called when text is about to be removed from the buffer, but is
077:             * still present.
078:             * @param buffer The buffer in question
079:             * @param startLine The first line
080:             * @param offset The start offset, from the beginning of the buffer
081:             * @param numLines The number of lines to be removed
082:             * @param length The number of characters to be removed
083:             * @since jEdit 4.3pre3
084:             */
085:            public void preContentRemoved(JEditBuffer buffer, int startLine,
086:                    int offset, int numLines, int length) {
087:            }
088:
089:            //}}}
090:
091:            //{{{ contentRemoved() method
092:            /**
093:             * Called when text is removed from the buffer.
094:             * @param buffer The buffer in question
095:             * @param startLine The first line
096:             * @param offset The start offset, from the beginning of the buffer
097:             * @param numLines The number of lines removed
098:             * @param length The number of characters removed
099:             * @since jEdit 4.3pre3
100:             */
101:            public void contentRemoved(JEditBuffer buffer, int startLine,
102:                    int offset, int numLines, int length) {
103:            }
104:
105:            //}}}
106:
107:            //{{{ transactionComplete() method
108:            /**
109:             * Called after an undo or compound edit has finished. The text area
110:             * uses this event to queue up and collapse cleanup operations so they
111:             * are only run once during a long transaction (such as a "Replace All"
112:             * operation.)
113:             *
114:             * @param buffer The buffer in question
115:             * @since jEdit 4.3pre3
116:             */
117:            public void transactionComplete(JEditBuffer buffer) {
118:            }
119:
120:            //}}}
121:
122:            //{{{ foldHandlerChanged() method
123:            /**
124:             * Called to notify the text area that folds need to be collapsed if
125:             * the "collapseFolds" property is set. This method is called after the
126:             * buffer has been loaded, and also if the user changes the fold
127:             * handler.
128:             *
129:             * @param buffer The buffer in question
130:             * @since jEdit 4.3pre3
131:             */
132:            public void foldHandlerChanged(JEditBuffer buffer) {
133:            }
134:
135:            //}}}
136:
137:            //{{{ foldHandlerChanged() method
138:            /**
139:             * Called to notify the text area that the buffer has been reloaded.
140:             *
141:             * @param buffer The buffer in question
142:             * @since jEdit 4.3pre3
143:             */
144:            public void bufferLoaded(JEditBuffer buffer) {
145:            }
146:            //}}}
147:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.