Package org.opencms.gwt.client.util.impl
Class DocumentStyleImplIE9
java.lang.Object
org.opencms.gwt.client.util.impl.DocumentStyleImpl
org.opencms.gwt.client.util.impl.DocumentStyleImplIE9
- Direct Known Subclasses:
DocumentStyleImplIE6
Helper class to retrieve the computed style of an element.
This implementation is used for MSIE 9 browsers.
- Since:
- 8.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getComputedStyle
(com.google.gwt.dom.client.Element elem, String name) Returns the computed style from the DOM object.getPropertyName
(String name) Transforms the CSS style name to the name of the javascript style property.Methods inherited from class org.opencms.gwt.client.util.impl.DocumentStyleImpl
camelize, clearOpacity, getCurrentStyle, hyphenize
-
Constructor Details
-
DocumentStyleImplIE9
public DocumentStyleImplIE9()
-
-
Method Details
-
getPropertyName
Transforms the CSS style name to the name of the javascript style property.- Overrides:
getPropertyName
in classDocumentStyleImpl
- Parameters:
name
- the name of the CSS property- Returns:
- the javascript property name
-
getComputedStyle
Description copied from class:DocumentStyleImpl
Returns the computed style from the DOM object.- Overrides:
getComputedStyle
in classDocumentStyleImpl
- Parameters:
elem
- the element objectname
- name of the CSS property- Returns:
- the property value
- See Also:
-