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
public class DocumentStyleImplIE9 extends DocumentStyleImpl
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 Constructor Description DocumentStyleImplIE9()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getComputedStyle(com.google.gwt.dom.client.Element elem, java.lang.String name)
Returns the computed style from the DOM object.java.lang.String
getPropertyName(java.lang.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 Detail
-
DocumentStyleImplIE9
public DocumentStyleImplIE9()
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName(java.lang.String name)
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
protected java.lang.String getComputedStyle(com.google.gwt.dom.client.Element elem, java.lang.String name)
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:
DocumentStyleImpl.getComputedStyle(com.google.gwt.dom.client.Element, java.lang.String)
-
-