Package org.freeplane.api
Interface Icons
- All Superinterfaces:
- IconsRO
- All Known Subinterfaces:
- Proxy.Icons
Node's icons: 
node.icons - read-write.- 
Method SummaryModifier and TypeMethodDescriptionvoidadds an icon to a node if an icon for the given key can be found.voidaddAll(Collection<String> names) voidvoidDeprecated.voidclear()removes all icons.booleanremove(int index) deletes the icon at the given index, returns true if success (icon existed).booleandeletes first occurence of icon with the given name, returns true if success (icon existed).booleanremoveIcon(String name) Deprecated.since 1.2 - useremove(String)instead.
- 
Method Details- 
addadds an icon to a node if an icon for the given key can be found. The same icon can be added multiple times.println("all available icon keys: " + FreeplaneIconUtils.listStandardIconKeys()) node.icons.addIcon("button_ok")- See Also:
 
- 
addAll- Since:
- 1.4
 
- 
addAll- Since:
- 1.4
 
- 
addIconDeprecated.since 1.2 - useadd(String)instead.
- 
removeboolean remove(int index) deletes the icon at the given index, returns true if success (icon existed).
- 
removedeletes first occurence of icon with the given name, returns true if success (icon existed).
- 
removeIconDeprecated.since 1.2 - useremove(String)instead.
- 
clearvoid clear()removes all icons.- Since:
- 1.2
 
 
- 
add(String)instead.