Last change
on this file since 13231 was
12762,
checked in by aballeit, 9 years ago
|
#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)
|
File size:
1.4 KB
|
Rev | Line | |
---|
[12762] | 1 | using System;
|
---|
| 2 |
|
---|
| 3 | namespace SharpVectors.Dom.Events
|
---|
| 4 | {
|
---|
| 5 | /// <summary>
|
---|
| 6 | /// Summary description for MutationNameEvent.
|
---|
| 7 | /// </summary>
|
---|
| 8 | public class MutationNameEvent: MutationEvent, IMutationNameEvent
|
---|
| 9 | {
|
---|
| 10 | #region Private Fields
|
---|
| 11 |
|
---|
| 12 | private string prevNamespaceUri;
|
---|
| 13 | private string prevNodeName;
|
---|
| 14 |
|
---|
| 15 | #endregion
|
---|
| 16 |
|
---|
| 17 | #region IMutationEvent interface
|
---|
| 18 |
|
---|
| 19 | public string PrevNamespaceUri
|
---|
| 20 | {
|
---|
| 21 | get
|
---|
| 22 | {
|
---|
| 23 | return prevNamespaceUri;
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | public string PrevNodeName
|
---|
| 28 | {
|
---|
| 29 | get
|
---|
| 30 | {
|
---|
| 31 | return prevNodeName;
|
---|
| 32 | }
|
---|
| 33 | }
|
---|
| 34 |
|
---|
| 35 | public void InitMutationNameEvent(
|
---|
| 36 | string eventType,
|
---|
| 37 | bool bubbles,
|
---|
| 38 | bool cancelable,
|
---|
| 39 | INode relatedNode,
|
---|
| 40 | string prevNamespaceUri,
|
---|
| 41 | string prevNodeName)
|
---|
| 42 | {
|
---|
| 43 | InitMutationEvent(
|
---|
| 44 | eventType, bubbles, cancelable,
|
---|
| 45 | relatedNode, "", "", "", AttrChangeType.None);
|
---|
| 46 |
|
---|
| 47 | this.prevNamespaceUri = prevNamespaceUri;
|
---|
| 48 | this.prevNodeName = prevNodeName;
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | public void InitMutationNameEventNs(
|
---|
| 52 | string namespaceUri,
|
---|
| 53 | string eventType,
|
---|
| 54 | bool bubbles,
|
---|
| 55 | bool cancelable,
|
---|
| 56 | INode relatedNode,
|
---|
| 57 | string prevNamespaceUri,
|
---|
| 58 | string prevNodeName)
|
---|
| 59 | {
|
---|
| 60 | InitMutationEventNs(
|
---|
| 61 | namespaceUri, eventType, bubbles, cancelable,
|
---|
| 62 | relatedNode, "", "", "", AttrChangeType.None);
|
---|
| 63 |
|
---|
| 64 | this.prevNamespaceUri = prevNamespaceUri;
|
---|
| 65 | this.prevNodeName = prevNodeName;
|
---|
| 66 | }
|
---|
| 67 |
|
---|
| 68 | #endregion
|
---|
| 69 | }
|
---|
| 70 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.