程序包 | 说明 |
---|---|
org.opencms.gwt.client.util |
Utility classes for GWT.
|
限定符和类型 | 方法和说明 |
---|---|
static CmsDomUtil.Style |
CmsDomUtil.Style.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CmsDomUtil.Style[] |
CmsDomUtil.Style.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsTextMetrics.bind(com.google.gwt.dom.client.Element element,
CmsDomUtil.Style... attributes)
Binds this text metrics instance to an element from which to copy existing
CSS styles that can affect the size of the rendered text.
|
static java.lang.String |
CmsDomUtil.getCurrentStyle(com.google.gwt.dom.client.Element element,
CmsDomUtil.Style style)
Returns the computed style of the given element.
|
static double |
CmsDomUtil.getCurrentStyleFloat(com.google.gwt.dom.client.Element element,
CmsDomUtil.Style style)
Returns the computed style of the given element as floating point number.
|
static int |
CmsDomUtil.getCurrentStyleInt(com.google.gwt.dom.client.Element element,
CmsDomUtil.Style style)
Returns the computed style of the given element as number.
|