本文整理了Java中com.vaadin.ui.Field.addStyleName()
方法的一些代码示例,展示了Field.addStyleName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Field.addStyleName()
方法的具体详情如下:
包路径:com.vaadin.ui.Field
类名称:Field
方法名:addStyleName
暂无
代码示例来源:origin: com.holon-platform.vaadin7/holon-vaadin
/**
* Adds one or more style names to this component.
* @param styleName Style name to add
* @param reflectToInternalField <code>true</code> to add given <code>styleName</code> to internal field too
*/
protected void addStyleName(String styleName, boolean reflectToInternalField) {
super.addStyleName(styleName);
if (reflectToInternalField) {
getInternalField().addStyleName(styleName);
}
}
代码示例来源:origin: com.holon-platform.vaadin7/holon-vaadin
@Override
public void addStyleName(String style) {
super.addStyleName(style);
// add to internal field too
getInternalField().addStyleName(style);
}
代码示例来源:origin: org.opencms/opencms-core
if (itemId.equals(getEditItemId()) && isEditProperty((CmsResourceTableProperty)propertyId)) {
result = super.createField(container, itemId, propertyId, uiContext);
result.addStyleName(OpenCmsTheme.INLINE_TEXTFIELD);
result.addValidator(m_editHandler);
if (result instanceof TextField) {
内容来源于网络,如有侵权,请联系作者删除!