public class CmsIconCssRuleBuilder
extends java.lang.Object
| 构造器和说明 |
|---|
CmsIconCssRuleBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSelectorForSubType(java.lang.String type,
java.lang.String suffix,
boolean small)
Adds a selector for a resource type and a file suffix.
|
void |
addSelectorForType(java.lang.String type,
boolean small)
Adds a selector for a resource type.
|
void |
setImageUri(java.lang.String imageUri)
Sets the URI of the icon image file.
|
void |
writeCss(java.lang.StringBuffer buffer)
Writes the CSS to a string buffer.
|
public void addSelectorForSubType(java.lang.String type,
java.lang.String suffix,
boolean small)
type - the resource type namesuffix - the file suffixsmall - true if the selector should be for the small iconpublic void addSelectorForType(java.lang.String type,
boolean small)
type - the name of the resource typesmall - true if the selector should be for the small iconpublic void setImageUri(java.lang.String imageUri)
imageUri - the URI of the icon image filepublic void writeCss(java.lang.StringBuffer buffer)
buffer - the string buffer to which the