com.google.gwt.dom.client.Style.assertCamelCase()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(80)

本文整理了Java中com.google.gwt.dom.client.Style.assertCamelCase()方法的一些代码示例,展示了Style.assertCamelCase()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Style.assertCamelCase()方法的具体详情如下:
包路径:com.google.gwt.dom.client.Style
类名称:Style
方法名:assertCamelCase

Style.assertCamelCase介绍

[英]Assert that the specified property does not contain a hyphen.
[中]断言指定的属性不包含连字符。

代码示例

代码示例来源:origin: com.google.gwt/gwt-servlet

/**
 * Gets the value of a named property.
 */
public final String getProperty(String name) {
 assertCamelCase(name);
 return getPropertyImpl(name);
}

代码示例来源:origin: com.google.gwt/gwt-servlet

/**
 * Sets the value of a named property.
 */
public final void setProperty(String name, String value) {
 assertCamelCase(name);
 setPropertyImpl(name, value);
}

代码示例来源:origin: com.google.gwt/gwt-servlet

/**
 * Sets the value of a named property in the specified units.
 */
public final void setProperty(String name, double value, Unit unit) {
 assertCamelCase(name);
 setPropertyImpl(name, value + unit.getType());
}

代码示例来源:origin: net.wetheinter/gwt-user

/**
 * Sets the value of a named property.
 */
public final void setProperty(String name, String value) {
 assertCamelCase(name);
 setPropertyImpl(name, value);
}

代码示例来源:origin: com.vaadin.external.gwt/gwt-user

/**
 * Sets the value of a named property.
 */
public final void setProperty(String name, String value) {
 assertCamelCase(name);
 setPropertyImpl(name, value);
}

代码示例来源:origin: net.wetheinter/gwt-user

/**
 * Gets the value of a named property.
 */
public final String getProperty(String name) {
 assertCamelCase(name);
 return getPropertyImpl(name);
}

代码示例来源:origin: com.vaadin.external.gwt/gwt-user

/**
 * Gets the value of a named property.
 */
public final String getProperty(String name) {
 assertCamelCase(name);
 return getPropertyImpl(name);
}

代码示例来源:origin: net.wetheinter/gwt-user

/**
 * Sets the value of a named property in the specified units.
 */
public final void setProperty(String name, double value, Unit unit) {
 assertCamelCase(name);
 setPropertyImpl(name, value + unit.getType());
}

代码示例来源:origin: com.vaadin.external.gwt/gwt-user

/**
 * Sets the value of a named property in the specified units.
 */
public final void setProperty(String name, double value, Unit unit) {
 assertCamelCase(name);
 setPropertyImpl(name, value + unit.getType());
}

相关文章

微信公众号

最新文章

更多

Style类方法