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) |
String |
getIconCssClass() |
List<String> |
getIconNames() |
String |
getIconUrl() |
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 |
setIconCssClass(String iconCssClass)
Set the css class of the icon.
|
void |
setIconUrl(String iconUrl)
Set the url of the icon.
|
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 String getIconUrl()
public void setIconUrl(String iconUrl)
iconUrl
- the icon urlpublic String getIconCssClass()
public void setIconCssClass(String iconCssClass)
iconCssClass
- the icon css classpublic IconType getType()
public void setType(IconType type)
type
- type to setCopyright © 2004–2021 XWiki. All rights reserved.