本文整理了Java中com.google.gwt.user.cellview.client.Header.getHeaderStyleNames()
方法的一些代码示例,展示了Header.getHeaderStyleNames()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Header.getHeaderStyleNames()
方法的具体详情如下:
包路径:com.google.gwt.user.cellview.client.Header
类名称:Header
方法名:getHeaderStyleNames
[英]Get extra style names that should be applied to a cell in this header. May be overridden to get value dependent styles by calling #getValue.
[中]获取应应用于此标头中单元格的其他样式名称。可以通过调用#getValue来重写以获取依赖于值的样式。
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Append the extra style names for the header.
* @param header the header that may contain extra styles, it can be null
* @param classesBuilder the string builder for the TD classes
*/
private <H> void appendExtraStyles(Header<H> header, StringBuilder classesBuilder) {
if (header == null) {
return;
}
String headerStyleNames = header.getHeaderStyleNames();
if (headerStyleNames != null) {
classesBuilder.append(" ");
classesBuilder.append(headerStyleNames);
}
}
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Append the extra style names for the header.
* @param header the header that may contain extra styles, it can be null
* @param classesBuilder the string builder for the TD classes
*/
private <H> void appendExtraStyles(Header<H> header, StringBuilder classesBuilder) {
if (header == null) {
return;
}
String headerStyleNames = header.getHeaderStyleNames();
if (headerStyleNames != null) {
classesBuilder.append(" ");
classesBuilder.append(headerStyleNames);
}
}
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Append the extra style names for the header.
* @param header the header that may contain extra styles, it can be null
* @param classesBuilder the string builder for the TD classes
*/
private <H> void appendExtraStyles(Header<H> header, StringBuilder classesBuilder) {
if (header == null) {
return;
}
String headerStyleNames = header.getHeaderStyleNames();
if (headerStyleNames != null) {
classesBuilder.append(" ");
classesBuilder.append(headerStyleNames);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!