public class IconSet extends Object
Modifier and Type | Method and Description |
---|---|
void |
addIcon(String name,
Icon icon)
Add an icon to the icon set.
|
String |
getCss() |
Icon |
getIcon(String name) |
List<String> |
getIconNames() |
String |
getJsx() |
String |
getName() |
String |
getRenderHTML() |
String |
getRenderWiki() |
String |
getSsx() |
IconType |
getType() |
void |
setCss(String css)
Set the URL of a CSS file to enable to display this icon set properly.
|
void |
setJsx(String jsx)
Set the page name of a JSX document to enable to display the icon set properly.
|
void |
setName(String name)
Set the name of the icon set.
|
void |
setRenderHTML(String renderHTML)
Set the HTML code (containing velocity) to display an icon from this set.
|
void |
setRenderWiki(String renderWiki)
Set the wiki code (containing velocity) to display an icon from this set.
|
void |
setSsx(String ssx)
Set the page name of a SSX document to enable to display the icon set properly.
|
void |
setType(IconType type)
Set the type of icons that contains this set.
|
public IconSet(String name)
name
- name of the icon setpublic Icon getIcon(String name)
name
- name of the icon to getpublic void addIcon(String name, Icon icon)
name
- name of the iconicon
- the icon to addpublic String getName()
public void setName(String name)
name
- the name to setpublic String getCss()
public void setCss(String css)
css
- URL of the CSS file (it can contains velocity code).public String getSsx()
public void setSsx(String ssx)
ssx
- the SSX document namepublic String getJsx()
public void setJsx(String jsx)
jsx
- the JSX document namepublic String getRenderWiki()
public void setRenderWiki(String renderWiki)
renderWiki
- wiki code to setpublic String getRenderHTML()
public void setRenderHTML(String renderHTML)
renderHTML
- the HTML code to setpublic IconType getType()
public void setType(IconType type)
type
- type to setCopyright © 2004–2017 XWiki. All rights reserved.