Source Code Cross Referenced for EditorComponent.java in  » Web-Framework » ThinWire » thinwire » ui » 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 » Web Framework » ThinWire » thinwire.ui 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:        #IFNDEF ALT_LICENSE
003:                                   ThinWire(R) RIA Ajax Framework
004:                         Copyright (C) 2003-2007 Custom Credit Systems
005:
006:          This library is free software; you can redistribute it and/or modify it under
007:          the terms of the GNU Lesser General Public License as published by the Free
008:          Software Foundation; either version 2.1 of the License, or (at your option) any
009:          later version.
010:
011:          This library is distributed in the hope that it will be useful, but WITHOUT ANY
012:          WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
013:          PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
014:
015:          You should have received a copy of the GNU Lesser General Public License along
016:          with this library; if not, write to the Free Software Foundation, Inc., 59
017:          Temple Place, Suite 330, Boston, MA 02111-1307 USA
018:
019:          Users who would rather have a commercial license, warranty or support should
020:          contact the following company who invented, built and supports the technology:
021:          
022:                        Custom Credit Systems, Richardson, TX 75081, USA.
023:           	            email: info@thinwire.com    ph: +1 (888) 644-6405
024:         	                        http://www.thinwire.com
025:        #ENDIF
026:         [ v1.2_RC2 ] 
027:         */
028:        package thinwire.ui;
029:
030:        /**
031:         * @author Joshua J. Gertzen
032:         */
033:        public interface EditorComponent extends AlignTextComponent {
034:            public static final String PROPERTY_SELECTION_BEGIN_INDEX = "selectionBeginIndex";
035:            public static final String PROPERTY_SELECTION_END_INDEX = "selectionEndIndex";
036:            public static final String PROPERTY_CURSOR_INDEX = "cursorIndex";
037:            public static final String PROPERTY_MAX_LENGTH = "maxLength";
038:
039:            /**
040:             * Sets the range of the selection<br>
041:             * <b>Events:</b>
042:             * <p>
043:             * If the prior values and new values differ, setting this property causes 2 <code>PropertyChangeEvent</code>s ( propertyName = PROPERTY_SELECTION_BEGIN_INDEX and propertyName = PROPERTY_SELECTION_END_INDEX ) to be generated.
044:             * </p>
045:             * @param selectionBeginIndex the index of the start of the selection
046:             * @param selectionEndIndex the index of the end of the selection
047:             * @see #setSelectionBeginIndex(int)
048:             * @see #setSelectionEndIndex(int)
049:             * @see #PROPERTY_SELECTION_BEGIN_INDEX
050:             * @see #PROPERTY_SELECTION_END_INDEX
051:             * @see thinwire.ui.event.PropertyChangeEvent
052:             */
053:            public void setSelectionRange(int selectionBeginIndex,
054:                    int selectionEndIndex);
055:
056:            /**
057:             * Returns the index of the beginning of the selection
058:             * @return the index at the start of the selection or -1 if there is no selection
059:             * @see #setSelectionBeginIndex()
060:             */
061:            public int getSelectionBeginIndex();
062:
063:            /**
064:             * Sets the index of the beginning of a selection<br>
065:             * <b>Events:</b>
066:             * <p>
067:             * If the prior values and new values differ, setting this property causes a <code>PropertyChangeEvent</code> ( propertyName = PROPERTY_SELECTION_BEGIN_INDEX ) to be generated.
068:             * </p>
069:             * @param selectionBeginIndex the index of the start of the selection
070:             * @see #getSelectionBeginIndex()
071:             * @see #setSelectionRange(int, int)
072:             * @see #PROPERTY_SELECTION_BEGIN_INDEX
073:             * @see thinwire.ui.event.PropertyChangeEvent
074:             */
075:            public void setSelectionBeginIndex(int selectionBeginIndex);
076:
077:            /**
078:             * Returns the index of the end of the selection
079:             * @return the index of the end of the selection or -1 if there is no selection
080:             * @see #setSelectionEndIndex(int)
081:             */
082:            public int getSelectionEndIndex();
083:
084:            /**
085:             * Sets the index of the end of the selection<br>
086:             * <b>Events:</b>
087:             * <p>
088:             * If the prior values and new values differ, setting this property causes a <code>PropertyChangeEvent</code> ( propertyName = PROPERTY_SELECTION_END_INDEX ) to be generated.
089:             * </p>
090:             * @param selectionEndIndex the index of the end of the selection
091:             * @see #getSelectionEndIndex()
092:             * @see #setSelectionRange(int, int)
093:             * @see #PROPERTY_SELECTION_END_INDEX
094:             * @see thinwire.ui.event.PropertyChangeEvent
095:             */
096:            public void setSelectionEndIndex(int selectionEndIndex);
097:
098:            /**
099:             * Retuns the index of the current cursor position
100:             * @return the index of the cursor or -1 if there is a selection
101:             * @see #setCursorIndex(int)
102:             */
103:            public int getCursorIndex();
104:
105:            /**
106:             * Sets the index of the cursor position<br>
107:             * <b>Events:</b>
108:             * <p>
109:             * If the prior values and new values differ, setting this property causes a <code>PropertyChangeEvent</code> ( propertyName = PROPERTY_CURSOR_INDEX ) to be generated.
110:             * </p>
111:             * @param index the index of the cursor
112:             * @see #getCursorIndex()
113:             * @see #PROPERTY_CURSOR_INDEX
114:             * @see thinwire.ui.event.PropertyChangeEvent
115:             */
116:            public void setCursorIndex(int index);
117:
118:            /**
119:             * Sets the editor max length.
120:             * @param maxLength The maxLength to set.
121:             */
122:            public void setMaxLength(int maxLength);
123:
124:            /**
125:             * Gets the TextField's max length.
126:             * @return Returns the maxLength.
127:             */
128:            public int getMaxLength();
129:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.