예제 #1
0
 public void mergeTo(StyleExtensionMapEntry entry)
 {
     foreach (var extensionType in hashMap)
     {
         entry.addExtensionType(extensionType, hashMap[extensionType]);
     }
 }
예제 #2
0
        public StyleExtensionMapEntry clone()
        {
            var newEntry = new StyleExtensionMapEntry();

            mergeTo(newEntry);

            return(newEntry);
        }
예제 #3
0
        public StyleExtensionMapEntry clone()
        {
            var newEntry = new StyleExtensionMapEntry();

            mergeTo( newEntry );

            return newEntry;
        }
        public void addCSSEntry(JsString cssSelector, JsString extensionType, JsString extensionValue )
        {
            StyleExtensionMapEntry attributes = hashMap[cssSelector];

            if (attributes == null) {
                attributes = new StyleExtensionMapEntry();
                hashMap[cssSelector] = attributes;
            }

            attributes.addExtensionType(extensionType, extensionValue);
        }
예제 #5
0
        public void addBehaviorEntry(JsString cssClassName, JsString behaviorType, JsString className )
        {
            StyleExtensionMapEntry attributes = hashMap[cssClassName];

            if (attributes == null) {
                attributes = new StyleExtensionMapEntry();
                hashMap[cssClassName] = attributes;
            }

            attributes.addExtensionType(behaviorType, className);
        }
예제 #6
0
        public void addCSSEntry(JsString cssSelector, JsString extensionType, JsString extensionValue)
        {
            StyleExtensionMapEntry attributes = hashMap[cssSelector];

            if (attributes == null)
            {
                attributes           = new StyleExtensionMapEntry();
                hashMap[cssSelector] = attributes;
            }

            attributes.addExtensionType(extensionType, extensionValue);
        }
예제 #7
0
 public void mergeTo( StyleExtensionMapEntry entry )
 {
     foreach (var extensionType in hashMap) {
         entry.addExtensionType(extensionType, hashMap[extensionType]);
     }
 }