Java Doc for TextPanelEvent.java in  » Internationalization-Localization » icu4j » com » ibm » richtext » textpanel » 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 » Internationalization Localization » icu4j » com.ibm.richtext.textpanel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.EventObject
      com.ibm.richtext.textpanel.TextPanelEvent

TextPanelEvent
final public class TextPanelEvent extends EventObject (Code)
TextPanelEvent is generated by an MTextPanel to notify listeners of changes. To receive TextPanelEvents from an MTextPanel, clients must implement TextPanelListener and add themselves to the MTextPanel's list of listeners.

Some event types are special cases of others. This is intentional - it allows notifications to be sent less often in certain common cases. For example, a change in the selection range generates a SELECTION_RANGE_CHANGED event. This is a very common occurrance, and if many clients listen for this event, there may be a significant performance penalty. By listening for a more specialized event (such as SELECTION_EMPTY_CHANGED), clients can reduce the number of notifications sent.
See Also:   MTextPanel
See Also:   TextPanelListener



Field Summary
final public static  intCLIPBOARD_CHANGED
     Events of this type are sent when the clipboard state changes.
final static  StringCOPYRIGHT
    
final public static  intFORMAT_WIDTH_CHANGED
     Events of this type are sent when the wrap width of the text changes.
final public static  intKEYREMAP_CHANGED
     Events of this type are sent when the key remap changes.
final public static  intSELECTION_EMPTY_CHANGED
     Events of this type are sent when the selection range becomes 0-length after not being 0-length, or vice versa.
final public static  intSELECTION_RANGE_CHANGED
     Events of this type indicate a change in the selection range. This occurs quite often.
final public static  intSELECTION_STYLES_CHANGED
     Events of this type are sent when the styles in the current selection change.
final public static  intTEXT_CHANGED
     Events of this type indicate that the text in the TextPanel changed.
final public static  intTEXT_PANEL_FIRST
     The lower bound of TextPanelEvent ID's.
final public static  intTEXT_PANEL_LAST
     The upper bound of TextPanelEvent ID's.
final public static  intUNDO_STATE_CHANGED
     Events of this type are sent when the undo/redo state changes.

Constructor Summary
 TextPanelEvent(MTextPanel source, int id)
     Create a new TextPanelEvent.
Parameters:
  source - the MTextPanel which generated the event
Parameters:
  id - the ID for this event.

Method Summary
public  intgetID()
     Return the event ID for this event.
public  StringtoString()
    

Field Detail
CLIPBOARD_CHANGED
final public static int CLIPBOARD_CHANGED(Code)
Events of this type are sent when the clipboard state changes.



COPYRIGHT
final static String COPYRIGHT(Code)



FORMAT_WIDTH_CHANGED
final public static int FORMAT_WIDTH_CHANGED(Code)
Events of this type are sent when the wrap width of the text changes.



KEYREMAP_CHANGED
final public static int KEYREMAP_CHANGED(Code)
Events of this type are sent when the key remap changes.



SELECTION_EMPTY_CHANGED
final public static int SELECTION_EMPTY_CHANGED(Code)
Events of this type are sent when the selection range becomes 0-length after not being 0-length, or vice versa. This event is a special case of SELECTION_RANGE_CHANGED.



SELECTION_RANGE_CHANGED
final public static int SELECTION_RANGE_CHANGED(Code)
Events of this type indicate a change in the selection range. This occurs quite often. Most clients do not need to be notified every time the selection range changes.



SELECTION_STYLES_CHANGED
final public static int SELECTION_STYLES_CHANGED(Code)
Events of this type are sent when the styles in the current selection change.



TEXT_CHANGED
final public static int TEXT_CHANGED(Code)
Events of this type indicate that the text in the TextPanel changed. This type of event occurs often.



TEXT_PANEL_FIRST
final public static int TEXT_PANEL_FIRST(Code)
The lower bound of TextPanelEvent ID's.



TEXT_PANEL_LAST
final public static int TEXT_PANEL_LAST(Code)
The upper bound of TextPanelEvent ID's.



UNDO_STATE_CHANGED
final public static int UNDO_STATE_CHANGED(Code)
Events of this type are sent when the undo/redo state changes.




Constructor Detail
TextPanelEvent
TextPanelEvent(MTextPanel source, int id)(Code)
Create a new TextPanelEvent.
Parameters:
  source - the MTextPanel which generated the event
Parameters:
  id - the ID for this event. Must be within[TEXT_PANEL_FIRST, TEXT_PANEL_LAST].




Method Detail
getID
public int getID()(Code)
Return the event ID for this event. Event ID's are one of the class constants. the event ID for this event



toString
public String toString()(Code)



Fields inherited from java.util.EventObject
protected transient Object source(Code)(Java Doc)

Methods inherited from java.util.EventObject
public Object getSource()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.