Java Doc for MutationEvent.java in  » Graphic-Library » batik » org » w3c » dom » events » 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 » Graphic Library » batik » org.w3c.dom.events 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.dom.events.MutationEvent

All known Subclasses:   org.apache.batik.dom.events.DOMMutationEvent,
MutationEvent
public interface MutationEvent extends Event(Code)
The MutationEvent interface provides specific contextual information associated with Mutation events.

To create an instance of the MutationEvent interface, use the DocumentEvent.createEvent("MutationEvent") method call.

See also the Document Object Model (DOM) Level 3 Events Specification .
since:
   DOM Level 2



Field Summary
final public static  shortADDITION
     The Attr was just added.
final public static  shortMODIFICATION
     The Attr was modified in place.
final public static  shortREMOVAL
     The Attr was just removed.


Method Summary
public  shortgetAttrChange()
     attrChange indicates the type of change which triggered the DOMAttrModified event.
public  StringgetAttrName()
     attrName indicates the name of the changed Attr node in a DOMAttrModified event.
public  StringgetNewValue()
     newValue indicates the new value of the Attr node in DOMAttrModified events, and of the CharacterData node in DOMCharacterDataModified events.
public  StringgetPrevValue()
     prevValue indicates the previous value of the Attr node in DOMAttrModified events, and of the CharacterData node in DOMCharacterDataModified events.
public  NodegetRelatedNode()
     relatedNode is used to identify a secondary node related to a mutation event.
public  voidinitMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)
     The initMutationEvent method is used to initialize the value of a MutationEvent object and has the same behavior as Event.initEvent().
public  voidinitMutationEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)
     The initMutationEventNS method is used to initialize the value of a MutationEvent object and has the same behavior as Event.initEventNS().

Field Detail
ADDITION
final public static short ADDITION(Code)
The Attr was just added.



MODIFICATION
final public static short MODIFICATION(Code)
The Attr was modified in place.



REMOVAL
final public static short REMOVAL(Code)
The Attr was just removed.





Method Detail
getAttrChange
public short getAttrChange()(Code)
attrChange indicates the type of change which triggered the DOMAttrModified event. The values can be MODIFICATION , ADDITION, or REMOVAL.



getAttrName
public String getAttrName()(Code)
attrName indicates the name of the changed Attr node in a DOMAttrModified event.



getNewValue
public String getNewValue()(Code)
newValue indicates the new value of the Attr node in DOMAttrModified events, and of the CharacterData node in DOMCharacterDataModified events.



getPrevValue
public String getPrevValue()(Code)
prevValue indicates the previous value of the Attr node in DOMAttrModified events, and of the CharacterData node in DOMCharacterDataModified events.



getRelatedNode
public Node getRelatedNode()(Code)
relatedNode is used to identify a secondary node related to a mutation event. For example, if a mutation event is dispatched to a node indicating that its parent has changed, the relatedNode is the changed parent. If an event is instead dispatched to a subtree indicating a node was changed within it, the relatedNode is the changed node. In the case of the DOMAttrModified event it indicates the Attr node which was modified, added, or removed.



initMutationEvent
public void initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)(Code)
The initMutationEvent method is used to initialize the value of a MutationEvent object and has the same behavior as Event.initEvent().
Parameters:
  typeArg - Refer to the Event.initEvent() method for a description of this parameter.
Parameters:
  canBubbleArg - Refer to the Event.initEvent() method for a description of this parameter.
Parameters:
  cancelableArg - Refer to the Event.initEvent() method for a description of this parameter.
Parameters:
  relatedNodeArg - Specifies MutationEvent.relatedNode.
Parameters:
  prevValueArg - Specifies MutationEvent.prevValue. This value may be null.
Parameters:
  newValueArg - Specifies MutationEvent.newValue. This value may be null.
Parameters:
  attrNameArg - Specifies MutationEvent.attrname. This value may be null.
Parameters:
  attrChangeArg - Specifies MutationEvent.attrChange. This value may be null.



initMutationEventNS
public void initMutationEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)(Code)
The initMutationEventNS method is used to initialize the value of a MutationEvent object and has the same behavior as Event.initEventNS().
Parameters:
  namespaceURI - Refer to the Event.initEventNS() method for a description of this parameter.
Parameters:
  typeArg - Refer to the Event.initEventNS() method for a description of this parameter.
Parameters:
  canBubbleArg - Refer to the Event.initEventNS() method for a description of this parameter.
Parameters:
  cancelableArg - Refer to the Event.initEventNS() method for a description of this parameter.
Parameters:
  relatedNodeArg - Refer to the MutationEvent.initMutationEvent() method for a description of this parameter.
Parameters:
  prevValueArg - Refer to the MutationEvent.initMutationEvent() method for a description of this parameter.
Parameters:
  newValueArg - Refer to the MutationEvent.initMutationEvent() method for a description of this parameter.
Parameters:
  attrNameArg - Refer to the MutationEvent.initMutationEvent() method for a description of this parameter.
Parameters:
  attrChangeArg - Refer to the MutationEvent.initMutationEvent() method for a description of this parameter.
since:
   DOM Level 3



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.